ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Reads in vertex and tracks information from a root file and fills it into a format to be understood by the vertexing algorithms. More...
#include <acts/blob/master/Examples/Io/Root/include/ACTFW/Io/Root/RootVertexAndTracksReader.hpp>
Classes | |
struct | Config |
The nested configuration struct. More... | |
Public Member Functions | |
RootVertexAndTracksReader (Config cfg, Acts::Logging::Level lvl) | |
~RootVertexAndTracksReader () finaloverride | |
Destructor. | |
std::string | name () const finaloverride |
Framework name() method. | |
std::pair< size_t, size_t > | availableEvents () const finaloverride |
Return the available events range. | |
ProcessCode | read (const FW::AlgorithmContext &context) finaloverride |
Public Member Functions inherited from FW::IReader | |
virtual | ~IReader ()=default |
Private Member Functions | |
const Acts::Logger & | logger () const |
Private Attributes | |
Config | m_cfg |
The config class. | |
std::mutex | m_read_mutex |
mutex used to protect multi-threaded reads | |
size_t | m_events = 0 |
The number of events. | |
TChain * | m_inputChain = nullptr |
The input tree name. | |
int | m_eventNr = 0 |
std::vector< double > * | m_ptrVx = new std::vector<double> |
std::vector< double > * | m_ptrVy = new std::vector<double> |
std::vector< double > * | m_ptrVz = new std::vector<double> |
std::vector< double > * | m_ptrD0 = new std::vector<double> |
std::vector< double > * | m_ptrZ0 = new std::vector<double> |
std::vector< double > * | m_ptrPhi = new std::vector<double> |
std::vector< double > * | m_ptrTheta = new std::vector<double> |
std::vector< double > * | m_ptrQP = new std::vector<double> |
std::vector< double > * | m_ptrTime = new std::vector<double> |
std::vector< int > * | m_ptrVtxID = new std::vector<int> |
std::vector< std::vector < double > > * | m_ptrTrkCov |
std::unique_ptr< const Acts::Logger > | m_logger |
Reads in vertex and tracks information from a root file and fills it into a format to be understood by the vertexing algorithms.
Definition at line 29 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 29 of file RootVertexAndTracksReader.hpp
FW::RootVertexAndTracksReader::RootVertexAndTracksReader | ( | Config | cfg, |
Acts::Logging::Level | lvl | ||
) |
Constructor
cfg | The Configuration struct |
lvl | Message level declaration |
Definition at line 19 of file RootVertexAndTracksReader.cpp.
View newest version in sPHENIX GitHub at line 19 of file RootVertexAndTracksReader.cpp
References ACTS_DEBUG, FW::RootVertexAndTracksReader::Config::fileList, m_cfg, m_eventNr, m_events, m_inputChain, m_ptrD0, m_ptrPhi, m_ptrQP, m_ptrTheta, m_ptrTime, m_ptrTrkCov, m_ptrVtxID, m_ptrVx, m_ptrVy, m_ptrVz, m_ptrZ0, and FW::RootVertexAndTracksReader::Config::treeName.
|
finaloverride |
Destructor.
Definition at line 53 of file RootVertexAndTracksReader.cpp.
View newest version in sPHENIX GitHub at line 53 of file RootVertexAndTracksReader.cpp
|
finaloverridevirtual |
Return the available events range.
Implements FW::IReader.
Definition at line 71 of file RootVertexAndTracksReader.cpp.
View newest version in sPHENIX GitHub at line 71 of file RootVertexAndTracksReader.cpp
References Acts::UnitConstants::u.
|
inlineprivate |
Definition at line 84 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 84 of file RootVertexAndTracksReader.hpp
References m_logger.
|
finaloverridevirtual |
Framework name() method.
Implements FW::IReader.
Definition at line 67 of file RootVertexAndTracksReader.cpp.
View newest version in sPHENIX GitHub at line 67 of file RootVertexAndTracksReader.cpp
|
finaloverridevirtual |
Read out data from the input stream
context | The algorithm context |
Implements FW::IReader.
Definition at line 76 of file RootVertexAndTracksReader.cpp.
View newest version in sPHENIX GitHub at line 76 of file RootVertexAndTracksReader.cpp
References ACTS_DEBUG, ACTS_VERBOSE, FW::WhiteBoard::add(), FW::AlgorithmContext::eventNumber, FW::AlgorithmContext::eventStore, FW::AlgorithmContext::geoContext, incremental_prev_tag::idx, FW::SimVertex::position4, SUCCESS, FW::VertexAndTracks::tracks, and FW::VertexAndTracks::vertex.
|
private |
The config class.
Definition at line 60 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 60 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
|
private |
Definition at line 67 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 67 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
|
private |
The number of events.
Definition at line 64 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 64 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
|
private |
The input tree name.
Definition at line 66 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 66 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
|
private |
Definition at line 82 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 82 of file RootVertexAndTracksReader.hpp
Referenced by logger().
|
private |
Definition at line 72 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 72 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
|
private |
Definition at line 74 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 74 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
|
private |
Definition at line 76 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 76 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
|
private |
Definition at line 75 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 75 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
|
private |
Definition at line 77 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 77 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
|
private |
Definition at line 79 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 79 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
Definition at line 78 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 78 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
|
private |
Definition at line 69 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 69 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
|
private |
Definition at line 70 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 70 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
|
private |
Definition at line 71 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 71 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
|
private |
Definition at line 73 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 73 of file RootVertexAndTracksReader.hpp
Referenced by RootVertexAndTracksReader().
|
private |
mutex used to protect multi-threaded reads
Definition at line 62 of file RootVertexAndTracksReader.hpp.
View newest version in sPHENIX GitHub at line 62 of file RootVertexAndTracksReader.hpp