EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Examples/Io/Obj/include/ActsExamples/Plugins/Obj/ObjSpacePointWriter.hpp>
Classes | |
struct | Config |
Public Member Functions | |
ObjSpacePointWriter (const Config &cfg, Acts::Logging::Level level=Acts::Logging::INFO) | |
Public Member Functions inherited from ActsExamples::WriterT< GeometryIdMultimap< T > > | |
WriterT (std::string objectName, std::string writerName, Acts::Logging::Level level) | |
std::string | name () const finaloverride |
Provide the name of the writer. | |
ProcessCode | write (const AlgorithmContext &context) finaloverride |
Read the object and call the type-specific member function. | |
ProcessCode | endRun () override |
No-op default implementation. | |
Public Member Functions inherited from ActsExamples::IWriter | |
virtual | ~IWriter ()=default |
Protected Member Functions | |
ProcessCode | writeT (const AlgorithmContext &context, const GeometryIdMultimap< T > &spacePoints) |
Protected Member Functions inherited from ActsExamples::WriterT< GeometryIdMultimap< T > > | |
const Acts::Logger & | logger () const |
Private Types | |
using | Base = WriterT< GeometryIdMultimap< T >> |
Private Attributes | |
Config | m_cfg |
Write out a space point collection in OBJ format.
This writes one file per event into the configured output directory. By default it writes to the current working directory. Files are named using the following schema
event000000001-spacepoints.obj event000000002-spacepoints.obj
One write call per thread and hence thread safe.
Definition at line 30 of file ObjSpacePointWriter.hpp.
View newest version in sPHENIX GitHub at line 30 of file ObjSpacePointWriter.hpp
|
private |
Definition at line 48 of file ObjSpacePointWriter.hpp.
View newest version in sPHENIX GitHub at line 48 of file ObjSpacePointWriter.hpp
|
inline |
Definition at line 56 of file ObjSpacePointWriter.hpp.
View newest version in sPHENIX GitHub at line 56 of file ObjSpacePointWriter.hpp
References ActsExamples::ObjSpacePointWriter< T >::Config::collection, and ActsExamples::ObjSpacePointWriter< T >::m_cfg.
|
inlineprotectedvirtual |
Type-specific write function implementation this method is implemented in the user implementation
[in] | context | is the algorithm context that guarantees event consistency |
[in] | is the templeted collection to be written |
Implements ActsExamples::WriterT< GeometryIdMultimap< T > >.
Definition at line 65 of file ObjSpacePointWriter.hpp.
View newest version in sPHENIX GitHub at line 65 of file ObjSpacePointWriter.hpp
References data, ActsExamples::AlgorithmContext::eventNumber, ActsExamples::perEventFilepath(), SUCCESS, FemType::x, FemType::y, and FemType::z.
|
private |
Definition at line 50 of file ObjSpacePointWriter.hpp.
View newest version in sPHENIX GitHub at line 50 of file ObjSpacePointWriter.hpp
Referenced by ActsExamples::ObjSpacePointWriter< T >::ObjSpacePointWriter().