ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::MaterialTrackReader Class Reference

Writes out RecordedMaterialTrackCollection to a root file. More...

#include <MaterialTrackReader.h>

Inheritance diagram for ActsTrk::MaterialTrackReader:
Collaboration diagram for ActsTrk::MaterialTrackReader:

Public Member Functions

virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) override
 Execute method.
virtual StatusCode finalize () override
virtual unsigned cardinality () const override
virtual ~MaterialTrackReader ()
 AthAlgorithm (const std::string &name, ISvcLocator *pSvcLocator)
 Constructor.
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
virtual bool filterPassed (const EventContext &ctx) const
 Get filter decision:
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 Set filter decision:
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

virtual bool isReEntrant () const override final
 Legacy algorithms are not thread-safe.
void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

Gaudi::Property< std::size_t > m_maxEvents {this, "maxEvents", std::numeric_limits<std::size_t>::max()}
 The number of events in the processed.
Gaudi::Property< std::size_t > m_skipEvents {this, "skipEvents", 0ul}
 The number of events in the file to skip.
Gaudi::Property< std::size_t > m_batchSize {this, "batchSize", 1000ul}
 The batch size (number of track per events).
std::size_t m_nTreeEntries {0ul}
 The number of entries in the tree to read.
std::size_t m_currEntry {0ul}
 The current processed tree entry.
std::size_t m_procEvents {0ul}
 The number of processed tree events.
Gaudi::Property< std::vector< std::string > > m_fileNames {this, "FileNames", {}, "The list of input file names"}
 The list of input filenames.
Gaudi::Property< std::string > m_treeName {this, "TreeName", "material-tracks", "The input tree name"}
 The name of the input tree.
Gaudi::Property< bool > m_readCachedSurfaceInformation {this, "ReadCachedSurface", false, "Read surface information for the root file"}
 Read surface information for the root file.
ActsPlugins::RootMaterialTrackIo m_accessor {{false, m_readCachedSurfaceInformation}}
 The read - write payload.
std::unique_ptr< TChain > m_inputChain {}
 The input chain of entries.
SG::WriteHandleKey< RecordedMaterialTrackCollectionm_materialTrackCollectionKey {this, "MaterialTrackCollectionKey", "InputMaterialTracks", "Name of the RecordedMaterialTrackCollection"}
 The RecordedMaterialTrackCollection to write.
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default).
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default).
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Writes out RecordedMaterialTrackCollection to a root file.

It writes out a MaterialTrack which is usually generated from MaterialTrackRecorder G4UA

Definition at line 31 of file MaterialTrackReader.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ ~MaterialTrackReader()

ActsTrk::MaterialTrackReader::~MaterialTrackReader ( )
virtualdefault

Member Function Documentation

◆ AthAlgorithm()

AthAlgorithm::AthAlgorithm ( const std::string & name,
ISvcLocator * pSvcLocator )

Constructor.

Definition at line 31 of file AthAlgorithm.cxx.

11 :
12 AthCommonAlgorithm<Gaudi::Algorithm>( name, pSvcLocator )
13{
14 // default cardinality for non-reentrant algorithms
15 setProperty( "Cardinality", 1 ).orThrow("Unable to set property 'Cardinality'", name);
16}
void setProperty(columnar::PythonToolHandle &self, const std::string &key, nb::object value)
AthCommonAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)

◆ cardinality()

virtual unsigned ActsTrk::MaterialTrackReader::cardinality ( ) const
inlineoverridevirtual

Definition at line 38 of file MaterialTrackReader.h.

38{ return 1; }

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode ActsTrk::MaterialTrackReader::execute ( const EventContext & ctx)
overridevirtual

Execute method.

Implements AthAlgorithm.

Definition at line 82 of file MaterialTrackReader.cxx.

82 {
83 // Write to the collection to the EventStore
84 SG::WriteHandle materialTracks{m_materialTrackCollectionKey, ctx};
85
86 // Record the collection once per event if not already there
87 if (!materialTracks.isPresent()) {
88 ATH_CHECK(materialTracks.record(std::make_unique<ActsTrk::RecordedMaterialTrackCollection>()));
89 }
90
92 m_inputChain.reset();
93 return StatusCode::SUCCESS;
94 }
95
96 std::size_t nProcEvents{0ul};
97 std::size_t nCurrentEvt{m_accessor.eventId()};
98
100 ATH_MSG_VERBOSE("Fetched entry "<<m_currEntry<<", eventId: "<<m_accessor.eventId());
101 // get the correspoing entry and read it
102 m_inputChain->GetEntry(m_currEntry);
103 Acts::RecordedMaterialTrack rmTrack = m_accessor.read();
104 m_accessor.eventId();
105
106 ATH_MSG_VERBOSE("Track vertex: " << Amg::toString(rmTrack.first.first)
107 <<", momentum:" << Amg::toString(rmTrack.first.second));
108
109 if (nCurrentEvt != m_accessor.eventId()) {
110 ++nProcEvents;
111 ++m_procEvents;
112 nCurrentEvt = m_accessor.eventId();
113 }
114
115 if (m_procEvents >= m_maxEvents) {
116 ATH_MSG_INFO("All "<<m_maxEvents<<" events have been processed");
118 return StatusCode::SUCCESS;
119 }
120
121 if (nProcEvents >=m_batchSize) {
122 ATH_MSG_DEBUG("Batch processing "<<nProcEvents<<" completed. ");
123 break;
124 }
125
126 // filling the collection
127 materialTracks->push_back(std::move(rmTrack));
128
129 }
130 return StatusCode::SUCCESS;
131}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_INFO(x)
#define ATH_MSG_VERBOSE(x)
#define ATH_MSG_DEBUG(x)
std::unique_ptr< TChain > m_inputChain
The input chain of entries.
Gaudi::Property< std::size_t > m_batchSize
The batch size (number of track per events).
ActsPlugins::RootMaterialTrackIo m_accessor
The read - write payload.
Gaudi::Property< std::size_t > m_maxEvents
The number of events in the processed.
std::size_t m_nTreeEntries
The number of entries in the tree to read.
SG::WriteHandleKey< RecordedMaterialTrackCollection > m_materialTrackCollectionKey
The RecordedMaterialTrackCollection to write.
std::size_t m_currEntry
The current processed tree entry.
std::size_t m_procEvents
The number of processed tree events.
bool isPresent() const
Is the referenced object present in SG?
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
unsigned long ul

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthCommonAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 89 of file AthCommonAlgorithm.cxx.

54{
55 // If we didn't find any symlinks to add, just return the collection
56 // from the base class. Otherwise, return the extended collection.
57 if (!m_extendedExtraObjects.empty()) {
59 }
61}
Common base class for algorithms.

◆ filterPassed()

virtual bool AthCommonAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Get filter decision:

Definition at line 93 of file AthCommonAlgorithm.h.

93 {
94 return execState( ctx ).filterPassed();
95 }
virtual bool filterPassed(const EventContext &ctx) const
Get filter decision:

◆ finalize()

StatusCode ActsTrk::MaterialTrackReader::finalize ( )
overridevirtual

Definition at line 72 of file MaterialTrackReader.cxx.

72 {
73 if (m_inputChain) {
74 ATH_MSG_ERROR("Not all entries / events have been processed. Processed entries: "
75 <<(m_currEntry+ 1)<<"/"<<m_nTreeEntries<<", processed events: "
76 <<m_procEvents<<"/"<<m_maxEvents.value());
77 }
78 return StatusCode::SUCCESS;
79}
#define ATH_MSG_ERROR(x)

◆ initialize()

StatusCode ActsTrk::MaterialTrackReader::initialize ( )
overridevirtual

Definition at line 16 of file MaterialTrackReader.cxx.

17{
19
20 if (m_fileNames.empty()) {
21 ATH_MSG_ERROR("No input files given... Please check!!");
22 return StatusCode::FAILURE;
23 }
24
25 // set up the input chain
26 m_inputChain = std::make_unique<TChain>(m_treeName.value().c_str());
27
28 // loop over the input files
29 for (const auto& inputFile : m_fileNames) {
30 // add file to the input chain
31 ATH_MSG_DEBUG("Adding File " << inputFile << " to tree '" << m_treeName << "'.");
32 if (!m_inputChain->Add(inputFile.c_str())) {
33 ATH_MSG_ERROR("Failed to load file "<<inputFile);
34 return StatusCode::FAILURE;
35 }
36 }
37
38 // Connect the branches
39 m_accessor.connectForRead(*m_inputChain);
40 // get the number of events, which also loads the tree
41 m_nTreeEntries = m_inputChain->GetEntries();
42
43 if (m_skipEvents >0ul) {
44 std::optional<std::uint32_t> evt{0ul};
45 std::size_t procEvts{0ul};
46 ATH_MSG_DEBUG("Skip "<<m_skipEvents<<" events. ");
48 m_inputChain->GetEntry(m_currEntry);
49 if (!evt) {
50 evt = m_accessor.eventId();
51 } else if ((*evt) != m_accessor.eventId()) {
52 ++procEvts;
53 evt = m_accessor.eventId();
54 }
55 if (procEvts == m_skipEvents) {
56 break;
57 }
58 }
59 ATH_MSG_INFO("Skipped "<<procEvts<<" events. Corresponding to "
60 <<m_currEntry<<" tree entries");
61 }
62 if (!m_nTreeEntries) {
63 ATH_MSG_ERROR("Input does not contain any recorded track");
64 return StatusCode::FAILURE;
65 }
66 ATH_MSG_INFO("Material files contain " << m_nTreeEntries << " entries. Process "
67 <<m_batchSize.value()<<" material events per athena event. Until "
68 <<m_maxEvents.value()<<" events are processed or the tree is finished");
69 return StatusCode::SUCCESS;
70}
Gaudi::Property< std::size_t > m_skipEvents
The number of events in the file to skip.
Gaudi::Property< std::vector< std::string > > m_fileNames
The list of input filenames.
Gaudi::Property< std::string > m_treeName
The name of the input tree.

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ isClonable()

virtual bool AthCommonAlgorithm< Gaudi::Algorithm >::isClonable ( ) const
inlineoverridevirtualinherited

Specify if the algorithm is clonable.

Only relevant for non-reentrant algorithms. Actual number of clones needs to be set via the "Cardinality" property.

Reimplemented in AFP_DigiTop, AlgB, AlgT, BCM_Digitization, CscDigitBuilder, CscDigitToCscRDO, G4AtlasAlg, G4RunAlg, HGTD_Digitization, HiveAlgBase, InDet::GNNSeedingTrackMaker, InDet::SCT_Clusterization, InDet::SiSPGNNTrackMaker, InDet::SiSPSeededTrackFinder, InDet::SiTrackerSpacePointFinder, ISF::SimKernelMT, ITk::StripDigitization, ITkPixelCablingAlg, ITkStripCablingAlg, LArHitEMapMaker, LArTTL1Maker, LUCID_DigiTop, LVL1::L1TopoSimulation, MergeCalibHits, MergeGenericMuonSimHitColl, MergeHijingPars, MergeMcEventCollection, MergeTrackRecordCollection, MergeTruthJets, MergeTruthParticles, MuonDigitizer, PileUpMTAlg, PixelDigitization, RoIBResultToxAOD, SCT_ByteStreamErrorsTestAlg, SCT_CablingCondAlgFromCoraCool, SCT_CablingCondAlgFromText, SCT_ConditionsParameterTestAlg, SCT_ConditionsSummaryTestAlg, SCT_ConfigurationConditionsTestAlg, SCT_Digitization, SCT_FlaggedConditionTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_PrepDataToxAOD, SCT_RawDataToxAOD, SCT_ReadCalibChipDataTestAlg, SCT_ReadCalibDataTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_SiliconConditionsTestAlg, SCT_StripVetoTestAlg, SCT_TdaqEnabledTestAlg, SCT_TestCablingAlg, SCTEventFlagWriter, SCTRawDataProvider, SCTSiLorentzAngleTestAlg, SCTSiPropertiesTestAlg, SGInputLoader, Simulation::BeamEffectsAlg, TileHitVecToCnt, TileMuonFitter, TilePulseForTileMuonReceiver, TileRawChannelMaker, TRTDigitization, and ZDC_DigiTop.

Definition at line 68 of file AthCommonAlgorithm.h.

68 {
69 return true;
70 }

◆ isReEntrant()

virtual bool AthAlgorithm::isReEntrant ( ) const
inlinefinaloverrideprotectedvirtualinherited

Legacy algorithms are not thread-safe.

Definition at line 47 of file AthAlgorithm.h.

47{ return false; }

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed()

virtual void AthCommonAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Set filter decision:

Reimplemented in AthFilterAlgorithm.

Definition at line 99 of file AthCommonAlgorithm.h.

99 {
101 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const
Set filter decision:

◆ sysExecute()

StatusCode AthCommonAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Reimplemented in AthAnalysisAlgorithm.

Definition at line 80 of file AthCommonAlgorithm.cxx.

41{
42 return BaseAlg::sysExecute (ctx);
43}

◆ sysInitialize()

StatusCode AthCommonAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, HypoBase, InputMakerBase, and PyAthena::Alg.

Definition at line 60 of file AthCommonAlgorithm.cxx.

71 {
73
74 if (sc.isFailure()) {
75 return sc;
76 }
77
78 ServiceHandle<ICondSvc> cs("CondSvc",name());
79 for (auto h : outputHandles()) {
80 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
81 // do this inside the loop so we don't create the CondSvc until needed
82 if ( cs.retrieve().isFailure() ) {
83 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
85 }
86 if (cs->regHandle(this,*h).isFailure()) {
88 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
89 << " with CondSvc");
90 }
91 }
92 }
93 return sc;
94}
#define ATH_MSG_WARNING(x)
virtual StatusCode sysInitialize() override
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

Member Data Documentation

◆ m_accessor

ActsPlugins::RootMaterialTrackIo ActsTrk::MaterialTrackReader::m_accessor {{false, m_readCachedSurfaceInformation}}
private

The read - write payload.

Definition at line 61 of file MaterialTrackReader.h.

Gaudi::Property< bool > m_readCachedSurfaceInformation
Read surface information for the root file.

◆ m_batchSize

Gaudi::Property<std::size_t> ActsTrk::MaterialTrackReader::m_batchSize {this, "batchSize", 1000ul}
private

The batch size (number of track per events).

Definition at line 47 of file MaterialTrackReader.h.

47{this, "batchSize", 1000ul};

◆ m_currEntry

std::size_t ActsTrk::MaterialTrackReader::m_currEntry {0ul}
private

The current processed tree entry.

Definition at line 51 of file MaterialTrackReader.h.

51{0ul};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 108 of file AthCommonAlgorithm.h.

◆ m_fileNames

Gaudi::Property<std::vector<std::string> > ActsTrk::MaterialTrackReader::m_fileNames {this, "FileNames", {}, "The list of input file names"}
private

The list of input filenames.

Definition at line 55 of file MaterialTrackReader.h.

55{this, "FileNames", {}, "The list of input file names"};

◆ m_inputChain

std::unique_ptr<TChain> ActsTrk::MaterialTrackReader::m_inputChain {}
private

The input chain of entries.

Definition at line 63 of file MaterialTrackReader.h.

63{};

◆ m_materialTrackCollectionKey

SG::WriteHandleKey<RecordedMaterialTrackCollection> ActsTrk::MaterialTrackReader::m_materialTrackCollectionKey {this, "MaterialTrackCollectionKey", "InputMaterialTracks", "Name of the RecordedMaterialTrackCollection"}
private

The RecordedMaterialTrackCollection to write.

Definition at line 65 of file MaterialTrackReader.h.

65{this, "MaterialTrackCollectionKey", "InputMaterialTracks", "Name of the RecordedMaterialTrackCollection"};

◆ m_maxEvents

Gaudi::Property<std::size_t> ActsTrk::MaterialTrackReader::m_maxEvents {this, "maxEvents", std::numeric_limits<std::size_t>::max()}
private

The number of events in the processed.

Definition at line 43 of file MaterialTrackReader.h.

43{this, "maxEvents", std::numeric_limits<std::size_t>::max()};

◆ m_nTreeEntries

std::size_t ActsTrk::MaterialTrackReader::m_nTreeEntries {0ul}
private

The number of entries in the tree to read.

Definition at line 49 of file MaterialTrackReader.h.

49{0ul};

◆ m_procEvents

std::size_t ActsTrk::MaterialTrackReader::m_procEvents {0ul}
private

The number of processed tree events.

Definition at line 53 of file MaterialTrackReader.h.

53{0ul};

◆ m_readCachedSurfaceInformation

Gaudi::Property<bool> ActsTrk::MaterialTrackReader::m_readCachedSurfaceInformation {this, "ReadCachedSurface", false, "Read surface information for the root file"}
private

Read surface information for the root file.

Definition at line 59 of file MaterialTrackReader.h.

59{this, "ReadCachedSurface", false, "Read surface information for the root file"};

◆ m_skipEvents

Gaudi::Property<std::size_t> ActsTrk::MaterialTrackReader::m_skipEvents {this, "skipEvents", 0ul}
private

The number of events in the file to skip.

Definition at line 45 of file MaterialTrackReader.h.

45{this, "skipEvents", 0ul};

◆ m_treeName

Gaudi::Property<std::string> ActsTrk::MaterialTrackReader::m_treeName {this, "TreeName", "material-tracks", "The input tree name"}
private

The name of the input tree.

Definition at line 57 of file MaterialTrackReader.h.

57{this, "TreeName", "material-tracks", "The input tree name"};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: