Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Examples/Io/Csv/include/ActsExamples/Io/Csv/CsvProtoTrackWriter.hpp>
Classes | |
struct | Config |
Public Member Functions | |
CsvProtoTrackWriter (const Config &config, Acts::Logging::Level level) | |
~CsvProtoTrackWriter () 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< ProtoTrackContainer > | |
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 ProtoTrackContainer &tracks) override |
Protected Member Functions inherited from ActsExamples::WriterT< ProtoTrackContainer > | |
const Acts::Logger & | logger () const |
Private Attributes | |
Config | m_cfg |
ReadDataHandle < SimSpacePointContainer > | m_inputSpacepoints |
Definition at line 28 of file CsvProtoTrackWriter.hpp.
View newest version in sPHENIX GitHub at line 28 of file CsvProtoTrackWriter.hpp
ActsExamples::CsvProtoTrackWriter::CsvProtoTrackWriter | ( | const Config & | config, |
Acts::Logging::Level | level | ||
) |
Constructor with
config | configuration struct |
level | logging level |
Definition at line 29 of file CsvProtoTrackWriter.cpp.
View newest version in sPHENIX GitHub at line 29 of file CsvProtoTrackWriter.cpp
References ActsExamples::ReadDataHandle< T >::initialize(), ActsExamples::CsvProtoTrackWriter::Config::inputSpacepoints, m_cfg, and m_inputSpacepoints.
|
overridedefault |
Virtual destructor.
|
inline |
Get readonly access to the config parameters.
Definition at line 53 of file CsvProtoTrackWriter.hpp.
View newest version in sPHENIX GitHub at line 53 of file CsvProtoTrackWriter.hpp
References m_cfg.
|
overridevirtual |
End-of-run hook.
Implements ActsExamples::SequenceElement.
Definition at line 39 of file CsvProtoTrackWriter.cpp.
View newest version in sPHENIX GitHub at line 39 of file CsvProtoTrackWriter.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 |
measurements | is the data to be written out |
Implements ActsExamples::WriterT< ProtoTrackContainer >.
Definition at line 44 of file CsvProtoTrackWriter.cpp.
View newest version in sPHENIX GitHub at line 44 of file CsvProtoTrackWriter.cpp
References ACTS_WARNING, ActsExamples::AlgorithmContext::eventNumber, ActsExamples::findSpacePointForIndex(), m_cfg(), path, ActsExamples::perEventFilepath(), SUCCESS, and writer.
|
private |
Definition at line 65 of file CsvProtoTrackWriter.hpp.
View newest version in sPHENIX GitHub at line 65 of file CsvProtoTrackWriter.hpp
Referenced by config(), and CsvProtoTrackWriter().
|
private |
Definition at line 67 of file CsvProtoTrackWriter.hpp.
View newest version in sPHENIX GitHub at line 67 of file CsvProtoTrackWriter.hpp
Referenced by CsvProtoTrackWriter().