![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Examples/Io/Obj/include/ACTFW/Plugins/Obj/ObjPropagationStepsWriter.hpp>
Inheritance diagram for FW::Obj::ObjPropagationStepsWriter< step_t >:
Collaboration diagram for FW::Obj::ObjPropagationStepsWriter< step_t >:Classes | |
| struct | Config |
Public Member Functions | |
| ObjPropagationStepsWriter (const Config &cfg, Acts::Logging::Level level=Acts::Logging::INFO) | |
| ~ObjPropagationStepsWriter () override=default | |
| Virtual destructor. | |
| ProcessCode | endRun () finaloverride |
| End-of-run hook. | |
Public Member Functions inherited from FW::WriterT< std::vector< std::vector< step_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 FW::IWriter | |
| virtual | ~IWriter ()=default |
Protected Member Functions | |
| ProcessCode | writeT (const AlgorithmContext &context, const std::vector< std::vector< step_t >> &stepCollection) finaloverride |
| !< Internal configuration represenation | |
Protected Member Functions inherited from FW::WriterT< std::vector< std::vector< step_t > > > | |
| virtual ProcessCode | writeT (const AlgorithmContext &context, const std::vector< std::vector< step_t > > &t)=0 |
| const Acts::Logger & | logger () const |
Private Attributes | |
| Config | m_cfg |
Write out the steps of test propgations for stepping validation Writes one file per event with form:
event000000001-propagation-steps.obj event000000002-propagation-steps.obj
One Thread per write call and hence thread safe
Definition at line 31 of file ObjPropagationStepsWriter.hpp.
View newest version in sPHENIX GitHub at line 31 of file ObjPropagationStepsWriter.hpp
|
inline |
Constructor with arguments
| cfg | configuration struct |
| level | Output logging level |
Definition at line 45 of file ObjPropagationStepsWriter.hpp.
View newest version in sPHENIX GitHub at line 45 of file ObjPropagationStepsWriter.hpp
References FW::Obj::ObjPropagationStepsWriter< step_t >::Config::collection, and FW::Obj::ObjPropagationStepsWriter< step_t >::m_cfg.
|
overridedefault |
Virtual destructor.
|
inlinefinaloverridevirtual |
End-of-run hook.
Implements FW::IWriter.
Definition at line 59 of file ObjPropagationStepsWriter.hpp.
View newest version in sPHENIX GitHub at line 59 of file ObjPropagationStepsWriter.hpp
References SUCCESS.
|
inlinefinaloverrideprotected |
!< Internal configuration represenation
This implementation holds the actual writing method and is called by the WriterT<>::write interface
Definition at line 67 of file ObjPropagationStepsWriter.hpp.
View newest version in sPHENIX GitHub at line 67 of file ObjPropagationStepsWriter.hpp
References FW::AlgorithmContext::eventNumber, FW::Obj::ObjPropagationStepsWriter< step_t >::m_cfg, FW::Obj::ObjPropagationStepsWriter< step_t >::Config::outputDir, FW::Obj::ObjPropagationStepsWriter< step_t >::Config::outputScalor, FW::perEventFilepath(), Acts::Test::step(), propagation_timing::steps, and SUCCESS.
Here is the call graph for this function:
|
private |
Definition at line 62 of file ObjPropagationStepsWriter.hpp.
View newest version in sPHENIX GitHub at line 62 of file ObjPropagationStepsWriter.hpp
Referenced by FW::Obj::ObjPropagationStepsWriter< step_t >::ObjPropagationStepsWriter(), and FW::Obj::ObjPropagationStepsWriter< step_t >::writeT().