![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Examples/Io/Csv/include/ActsExamples/Io/Csv/CsvSpacepointWriter.hpp>
Inheritance diagram for ActsExamples::CsvSpacepointWriter:
Collaboration diagram for ActsExamples::CsvSpacepointWriter:Classes | |
| struct | Config |
Public Member Functions | |
| CsvSpacepointWriter (const Config &config, Acts::Logging::Level level) | |
| ~CsvSpacepointWriter () override | |
| Virtual destructor. | |
| ProcessCode | finalize () override |
| End-of-run hook. | |
| const Config & | config () const |
| Get readonly access to the config parameters. | |
Public Member Functions inherited from ActsExamples::WriterT< SimSpacePointContainer > | |
| WriterT (std::string objectName, std::string writerName, Acts::Logging::Level level) | |
| std::string | name () const override |
| Provide the name of the writer. | |
| ProcessCode | write (const AlgorithmContext &context) override |
| Read the object and call the type-specific member function. | |
| ProcessCode | finalize () override |
| No-op default implementation. | |
Public Member Functions inherited from ActsExamples::IWriter | |
| ProcessCode | internalExecute (const AlgorithmContext &context) final |
| ProcessCode | initialize () override |
| Fulfil the algorithm interface. | |
Public Member Functions inherited from ActsExamples::SequenceElement | |
| virtual | ~SequenceElement ()=default |
| const std::vector< const DataHandleBase * > & | writeHandles () const |
| const std::vector< const DataHandleBase * > & | readHandles () const |
Protected Member Functions | |
| ProcessCode | writeT (const AlgorithmContext &ctx, const SimSpacePointContainer &spacepoints) override |
Protected Member Functions inherited from ActsExamples::WriterT< SimSpacePointContainer > | |
| const Acts::Logger & | logger () const |
Private Attributes | |
| Config | m_cfg |
Definition at line 38 of file CsvSpacepointWriter.hpp.
View newest version in sPHENIX GitHub at line 38 of file CsvSpacepointWriter.hpp
| ActsExamples::CsvSpacepointWriter::CsvSpacepointWriter | ( | const Config & | config, |
| Acts::Logging::Level | level | ||
| ) |
Constructor with
| config | configuration struct |
| level | logging level |
Definition at line 28 of file CsvSpacePointWriter.cpp.
View newest version in sPHENIX GitHub at line 28 of file CsvSpacePointWriter.cpp
|
overridedefault |
Virtual destructor.
|
inline |
Get readonly access to the config parameters.
Definition at line 61 of file CsvSpacepointWriter.hpp.
View newest version in sPHENIX GitHub at line 61 of file CsvSpacepointWriter.hpp
References m_cfg.
|
overridevirtual |
End-of-run hook.
Implements ActsExamples::SequenceElement.
Definition at line 36 of file CsvSpacePointWriter.cpp.
View newest version in sPHENIX GitHub at line 36 of file CsvSpacePointWriter.cpp
References SUCCESS.
|
overrideprotectedvirtual |
This implementation holds the actual writing method and is called by the WriterT<>::write interface
| ctx | The Algorithm context with per event information |
| spacepoints | is the data to be written out |
Implements ActsExamples::WriterT< SimSpacePointContainer >.
Definition at line 41 of file CsvSpacePointWriter.cpp.
View newest version in sPHENIX GitHub at line 41 of file CsvSpacePointWriter.cpp
References ActsExamples::AlgorithmContext::eventNumber, ActsExamples::IndexSourceLink::index(), m_cfg(), ActsExamples::perEventFilepath(), and SUCCESS.
Here is the call graph for this function:
|
private |
Definition at line 73 of file CsvSpacepointWriter.hpp.
View newest version in sPHENIX GitHub at line 73 of file CsvSpacepointWriter.hpp
Referenced by config().