Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Examples/Io/EDM4hep/include/ActsExamples/Io/EDM4hep/EDM4hepTrackReader.hpp>
Classes | |
struct | Config |
Public Member Functions | |
EDM4hepTrackReader (const Config &config, Acts::Logging::Level level=Acts::Logging::INFO) | |
const Config & | config () const |
Readonly access to the config. | |
std::string | name () const final |
The algorithm name. | |
std::pair< size_t, size_t > | availableEvents () const final |
Return the available events range. | |
ProcessCode | read (const ActsExamples::AlgorithmContext &ctx) final |
Read out data from the input stream. | |
Public Member Functions inherited from ActsExamples::IReader | |
ProcessCode | internalExecute (const AlgorithmContext &context) final |
ProcessCode | initialize () override |
Fulfill the algorithm interface. | |
ProcessCode | finalize () override |
Fulfill 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 |
Private Member Functions | |
const Acts::Logger & | logger () const |
Private Attributes | |
Config | m_cfg |
WriteDataHandle < ConstTrackContainer > | m_outputTracks {this, "OutputTracks"} |
podio::ROOTFrameReader | m_reader |
std::unique_ptr< const Acts::Logger > | m_logger |
Definition at line 25 of file EDM4hepTrackReader.hpp.
View newest version in sPHENIX GitHub at line 25 of file EDM4hepTrackReader.hpp
ActsExamples::EDM4hepTrackReader::EDM4hepTrackReader | ( | const Config & | config, |
Acts::Logging::Level | level = Acts::Logging::INFO |
||
) |
constructor
config | is the configuration object |
level | is the output logging level |
Definition at line 21 of file EDM4hepTrackReader.cpp.
View newest version in sPHENIX GitHub at line 21 of file EDM4hepTrackReader.cpp
References ActsExamples::WriteDataHandle< T >::initialize(), ActsExamples::EDM4hepTrackReader::Config::inputPath, m_cfg, m_outputTracks, m_reader, and ActsExamples::EDM4hepTrackReader::Config::outputTracks.
|
finalvirtual |
Return the available events range.
Implements ActsExamples::IReader.
Definition at line 34 of file EDM4hepTrackReader.cpp.
View newest version in sPHENIX GitHub at line 34 of file EDM4hepTrackReader.cpp
References m_reader.
|
inline |
Readonly access to the config.
Definition at line 46 of file EDM4hepTrackReader.hpp.
View newest version in sPHENIX GitHub at line 46 of file EDM4hepTrackReader.hpp
References m_cfg.
|
inlineprivate |
Definition at line 65 of file EDM4hepTrackReader.hpp.
View newest version in sPHENIX GitHub at line 65 of file EDM4hepTrackReader.hpp
References m_logger.
|
finalvirtual |
The algorithm name.
Implements ActsExamples::SequenceElement.
|
finalvirtual |
Read out data from the input stream.
Implements ActsExamples::IReader.
Definition at line 42 of file EDM4hepTrackReader.cpp.
View newest version in sPHENIX GitHub at line 42 of file EDM4hepTrackReader.cpp
References ActsExamples::EDM4hepTrackReader::Config::Bz, ActsExamples::AlgorithmContext::eventNumber, ActsExamples::EDM4hepTrackReader::Config::inputTracks, m_cfg, m_outputTracks, m_reader, testing::internal::move(), Acts::EDM4hepUtil::readTrack(), SUCCESS, and tracks().
|
private |
Definition at line 57 of file EDM4hepTrackReader.hpp.
View newest version in sPHENIX GitHub at line 57 of file EDM4hepTrackReader.hpp
Referenced by config(), EDM4hepTrackReader(), and read().
|
private |
Definition at line 63 of file EDM4hepTrackReader.hpp.
View newest version in sPHENIX GitHub at line 63 of file EDM4hepTrackReader.hpp
Referenced by logger().
|
private |
Definition at line 59 of file EDM4hepTrackReader.hpp.
View newest version in sPHENIX GitHub at line 59 of file EDM4hepTrackReader.hpp
Referenced by EDM4hepTrackReader(), and read().
|
private |
Definition at line 61 of file EDM4hepTrackReader.hpp.
View newest version in sPHENIX GitHub at line 61 of file EDM4hepTrackReader.hpp
Referenced by availableEvents(), EDM4hepTrackReader(), and read().