ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::TrackInformationNtupleTool Class Reference

#include <TrackInformationNtupleTool.h>

Inheritance diagram for Trk::TrackInformationNtupleTool:
Collaboration diagram for Trk::TrackInformationNtupleTool:

Public Member Functions

 TrackInformationNtupleTool (const std::string &, const std::string &, const IInterface *)
 ~TrackInformationNtupleTool ()
StatusCode initialize ()
StatusCode finalize ()
virtual StatusCode addNtupleItems (TTree *tree)
 add branches to the tree Should be called once (per track collection and tree) dunring the initialisation phase by the calling algorithm (usually Trk::TrackValidationNtupleWriter)
virtual StatusCode fillTrackData (const Trk::Track &, const int iterationIndex, const unsigned int fitStatCode)
 fill ntuple data of a given track without writing the record.
virtual StatusCode fillTrackParticleData (const Trk::TrackParticleBase &)
 fill ntuple data of a given TrackParticle without writing the record.
virtual StatusCode fillTrackTruthData (const TrackParameters *&, const TrackTruth &, const int)
 fill data about the truth match (score, parameter-pulls etc)
virtual void resetVariables ()
 reset the variables after writing the record to disk ntuple
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 sysInitialize () override
 Perform system initialization for an algorithm.
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

Static Public Member Functions

static const InterfaceID & interfaceID ()
 Interface ID, declared here, and defined below.

Protected Member Functions

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

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

Private Attributes

int m_TrackIDcounter
unsigned int m_lastEventNumber
int m_runNumber
 run number the track belongs to
int m_eventNumber
 event number the track belongs to
int m_TrackID
 number of the track within the current event
int m_iterIndex
 iteration index of the track (for DAF & internal call, EDM tracks always 0)
int m_fitStatusCode
 return status code of the track fitter (for fit debugging)
int m_trackFitAuthor
 author (fitter) of the current track
int m_trackSeedAuthor
 author (main seed finder) of the current track.
int m_particleHypothesis
 particle hypothesis with which track was fitted
float m_Rec_chi2overNdof
 chi2 / n.d.o.f of reconstructed track
int m_ndof
 number of degrees of freedom of track fit
int m_nHits
 number of measurements on the track (including outliers)
SG::ReadHandleKey< xAOD::EventInfom_evt {this, "EvtInfo", "EventInfo", "EventInfo name"}
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

Definition at line 37 of file TrackInformationNtupleTool.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ TrackInformationNtupleTool()

Trk::TrackInformationNtupleTool::TrackInformationNtupleTool ( const std::string & t,
const std::string & n,
const IInterface * p )

Definition at line 25 of file TrackInformationNtupleTool.cxx.

29 :
30 AthAlgTool(t,n,p),
33 m_runNumber{},
35 m_TrackID{},
36 m_iterIndex{},
42 m_ndof{},
43 m_nHits{}
44{
45 declareInterface<ITrackValidationNtupleTool>(this);
46}
AthAlgTool()
Default constructor:
int m_nHits
number of measurements on the track (including outliers)
int m_eventNumber
event number the track belongs to
int m_fitStatusCode
return status code of the track fitter (for fit debugging)
int m_trackSeedAuthor
author (main seed finder) of the current track.
int m_TrackID
number of the track within the current event
int m_iterIndex
iteration index of the track (for DAF & internal call, EDM tracks always 0)
int m_ndof
number of degrees of freedom of track fit
int m_particleHypothesis
particle hypothesis with which track was fitted
float m_Rec_chi2overNdof
chi2 / n.d.o.f of reconstructed track
int m_runNumber
run number the track belongs to
int m_trackFitAuthor
author (fitter) of the current track

◆ ~TrackInformationNtupleTool()

Trk::TrackInformationNtupleTool::~TrackInformationNtupleTool ( )
default

Member Function Documentation

◆ addNtupleItems()

StatusCode Trk::TrackInformationNtupleTool::addNtupleItems ( TTree * tree)
virtual

add branches to the tree Should be called once (per track collection and tree) dunring the initialisation phase by the calling algorithm (usually Trk::TrackValidationNtupleWriter)

Implements Trk::ITrackValidationNtupleTool.

Definition at line 70 of file TrackInformationNtupleTool.cxx.

70 {
71 if (!tree) return StatusCode::FAILURE;
72 //-----------------
73 // add items *** Note: Documentation is in the header file, doxygen and wikis! ***
74 //
75 // event info:
76 tree->Branch("RunNumber", &m_runNumber );
77 tree->Branch("EventNumber", &m_eventNumber );
78 tree->Branch("TrackID", &m_TrackID );
79 tree->Branch("IterationIndex", &m_iterIndex );
80 tree->Branch("nHits", &m_nHits );
81 tree->Branch("Chi2overNdof", &m_Rec_chi2overNdof );
82 tree->Branch("Ndof", &m_ndof );
83 tree->Branch("FitterStatusCode", &m_fitStatusCode );
84 tree->Branch("TrackFitAuthor", &m_trackFitAuthor );
85 tree->Branch("TrackSeedAuthor", &m_trackSeedAuthor );
86 tree->Branch("TrackParticleHypo", &m_particleHypothesis);
87
88 ATH_MSG_VERBOSE ("added branches to ntuple");
89 return StatusCode::SUCCESS;
90}
#define ATH_MSG_VERBOSE(x)
TChain * tree

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::evtStore ( )
inlineinherited

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

Definition at line 85 of file AthCommonDataStore.h.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::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

◆ fillTrackData()

StatusCode Trk::TrackInformationNtupleTool::fillTrackData ( const Trk::Track & track,
const int iterationIndex,
const unsigned int fitStatCode )
virtual

fill ntuple data of a given track without writing the record.

fill track data into variables without actually writing the record

  • if this method is called twice without writing the ntuple inbetween the first data will be lost!

Implements Trk::ITrackValidationNtupleTool.

Definition at line 95 of file TrackInformationNtupleTool.cxx.

98 {
99
100 ATH_MSG_VERBOSE ("in fillTrackData(trk, indx)");
101 // ---------------------------------------
102 // detect new event, reset Track counter if new event
103 SG::ReadHandle<xAOD::EventInfo> evt(m_evt);
104 if(!evt.isValid()) {
105 msg(MSG::WARNING) << "Could not retrieve event info" << endmsg;
108 } else {
109 if (m_lastEventNumber!=evt->eventNumber()) {
110 // we have a new event, reset TrackID:
112 m_lastEventNumber = evt->eventNumber();
113 }
114 // ---------------------------------------------
115 // track id (increase if a new iteration was started = iterationIndex==0)
116 if (iterationIndex == 0) m_TrackIDcounter++;
118 m_iterIndex = iterationIndex;
119 m_eventNumber = evt->eventNumber();
120 m_runNumber = evt->runNumber();
121 }
122 ATH_MSG_VERBOSE ("Event: " << m_eventNumber << ", Run: "
123 << m_runNumber << " TrackID: " << m_TrackID
124 << " iteration index: " << m_iterIndex);
125
126 m_fitStatusCode = int(fitStatCode);
127 m_trackFitAuthor = track.info().trackFitter() ;
129 m_particleHypothesis = int(track.info().particleHypothesis());
130 if (track.fitQuality() != nullptr) {
131 m_Rec_chi2overNdof = (track.fitQuality()->numberDoF()>0) ? track.fitQuality()->chiSquared()/track.fitQuality()->numberDoF() : 0.0; // 0.0 expected for underconstrained fit anyway
132 m_ndof=track.fitQuality()->numberDoF();
133 } else {
136 }
137
138 ATH_MSG_VERBOSE ("counts # of track states with measurement or outlier");
139 // Get pointer to track state on surfaces
140 const Trk::TrackStates* trackStates=track.trackStateOnSurfaces();
141 m_nHits = 0;
142 if (trackStates != nullptr) {
143
144 for (const auto *trackState : *trackStates) {
145
146 if (!trackState) {
147 msg(MSG::WARNING) << "TrackStateOnSurface == Null" << endmsg;
148 continue;
149 }
150 if (trackState->type(Trk::TrackStateOnSurface::Measurement) ||
151 trackState->type(Trk::TrackStateOnSurface::Outlier) ) {
152
153 const Trk::MeasurementBase *measurement = trackState->measurementOnTrack();
154 if (!measurement) {
155 msg(MSG::WARNING) << "measurementOnTrack == Null for a TrackStateOnSurface "
156 << "of type Measurement or Outlier" << endmsg;
157 return StatusCode::FAILURE;
158 } else ++m_nHits;
159
160 }
161 }
162 }
163 return StatusCode::SUCCESS;
164}
#define endmsg
static const float s_errorEntry
MsgStream & msg() const
SG::ReadHandleKey< xAOD::EventInfo > m_evt
int getSeed(const Trk::TrackInfo &info) const
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.
@ Outlier
This TSoS contains an outlier, that is, it contains a MeasurementBase/RIO_OnTrack which was not used ...
DataVector< const Trk::TrackStateOnSurface > TrackStates

◆ fillTrackParticleData()

StatusCode Trk::TrackInformationNtupleTool::fillTrackParticleData ( const Trk::TrackParticleBase & particle)
virtual

fill ntuple data of a given TrackParticle without writing the record.

fill trackparticle data into variables without actually writing the record

  • if this method is called twice without writing the ntuple inbetween the first data will be lost!

Implements Trk::ITrackValidationNtupleTool.

Definition at line 169 of file TrackInformationNtupleTool.cxx.

171{
172 ATH_MSG_VERBOSE ("in fillTrackData(trk, indx)");
173 // ---------------------------------------
174 // detect new event, reset Track counter if new event
175 SG::ReadHandle<xAOD::EventInfo> evt(m_evt);
176 if(!evt.isValid()) {
177 msg(MSG::WARNING) << "Could not retrieve event info" << endmsg;
180 } else {
181 if (m_lastEventNumber!=evt->eventNumber()) {
182 // we have a new event, reset TrackID:
184 m_lastEventNumber = evt->eventNumber();
185 }
186 // ---------------------------------------------
188 m_eventNumber = evt->eventNumber();
189 m_runNumber = evt->runNumber();
190 }
191 ATH_MSG_VERBOSE ("Event: " << m_eventNumber << ", Run: "
192 << m_runNumber << " TrackID: " << m_TrackID);
193
194 m_trackFitAuthor = particle.info().trackFitter() ;
196 m_particleHypothesis = int(particle.info().particleHypothesis());
197 if (particle.fitQuality() != nullptr) {
198 m_Rec_chi2overNdof = (particle.fitQuality()->numberDoF()>0) ? particle.fitQuality()->chiSquared()/particle.fitQuality()->numberDoF() : 0.0; // 0.0 expected for underconstrained fit anyway
199 m_ndof=particle.fitQuality()->numberDoF();
200 } else {
203 }
204
205 // fill variable nHits (more for compatibility with track-based filling)
206 const Trk::TrackSummary* summary = particle.trackSummary();
207 if (summary==nullptr) m_nHits = -1;
208 else {
209 m_nHits = (unsigned char)summary->get(Trk::numberOfPixelHits);
210 m_nHits += (unsigned char)summary->get(Trk::numberOfSCTHits);
211 m_nHits += (unsigned char)summary->get(Trk::numberOfTRTHits);
212 m_nHits += (unsigned char)summary->get(Trk::numberOfMdtHits);
213 m_nHits += (unsigned char)summary->get(Trk::numberOfTgcEtaHits);
214 m_nHits += (unsigned char)summary->get(Trk::numberOfTgcPhiHits);
215 m_nHits += (unsigned char)summary->get(Trk::numberOfRpcEtaHits);
216 m_nHits += (unsigned char)summary->get(Trk::numberOfRpcPhiHits);
217 m_nHits += (unsigned char)summary->get(Trk::numberOfCscEtaHits);
218 m_nHits += (unsigned char)summary->get(Trk::numberOfCscPhiHits);
219 }
220 return StatusCode::SUCCESS;
221}
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
@ numberOfPixelHits
number of pixel layers on track with absence of hits

◆ fillTrackTruthData()

StatusCode Trk::TrackInformationNtupleTool::fillTrackTruthData ( const TrackParameters *& ,
const TrackTruth & ,
const int  )
inlinevirtual

fill data about the truth match (score, parameter-pulls etc)

Implements Trk::ITrackValidationNtupleTool.

Definition at line 99 of file TrackInformationNtupleTool.h.

102{return StatusCode::SUCCESS;}

◆ finalize()

StatusCode Trk::TrackInformationNtupleTool::finalize ( )

Definition at line 64 of file TrackInformationNtupleTool.cxx.

64 {
65
66 ATH_MSG_DEBUG ("nothing specific finalized in " << name());
67 return StatusCode::SUCCESS;
68}
#define ATH_MSG_DEBUG(x)

◆ getSeed()

int Trk::TrackInformationNtupleTool::getSeed ( const Trk::TrackInfo & info) const
private

Definition at line 232 of file TrackInformationNtupleTool.cxx.

233{
234 int seed = -1;
235 if (info.patternRecoInfo(Trk::TrackInfo::Muonboy))
237 else if (info.patternRecoInfo(Trk::TrackInfo::Moore))
239 else if (info.patternRecoInfo(Trk::TrackInfo::SiSpacePointsSeedMaker_Cosmic))
247 else if (info.patternRecoInfo(Trk::TrackInfo::SiSPSeededFinder))
249 else if (info.patternRecoInfo(Trk::TrackInfo::SiCTBTracking))
251 else if (info.patternRecoInfo(Trk::TrackInfo::InDetAmbiguitySolver))
253 else if (info.patternRecoInfo(Trk::TrackInfo::TRTSeededTrackFinder))
255 else if (info.patternRecoInfo(Trk::TrackInfo::TRTSeededSingleSpTrackFinder))
257 else if (info.patternRecoInfo(Trk::TrackInfo::TRTStandalone))
259 else if (info.patternRecoInfo(Trk::TrackInfo::iPatRec))
261 else if (info.patternRecoInfo(Trk::TrackInfo::xKalmanLegacyCnv))
263 else if (info.patternRecoInfo(Trk::TrackInfo::SimpleAmbiguityProcessorTool))
265 else if (info.patternRecoInfo(Trk::TrackInfo::InDetAmbiTrackSelectionTool))
267 else if (info.patternRecoInfo(Trk::TrackInfo::TrigIDSCAN))
269 else if (info.patternRecoInfo(Trk::TrackInfo::TrigSiTrack))
271 else if (info.patternRecoInfo(Trk::TrackInfo::TrigTRTxK))
273 else if (info.patternRecoInfo(Trk::TrackInfo::TrigTRTLUT))
275 else if (info.patternRecoInfo(Trk::TrackInfo::MuidStandAlone))
277 else if (info.patternRecoInfo(Trk::TrackInfo::MuidCombined))
279 else if (info.patternRecoInfo(Trk::TrackInfo::MuidVertexAssociator))
281 else if (info.patternRecoInfo(Trk::TrackInfo::MuGirl))
283 else if (info.patternRecoInfo(Trk::TrackInfo::MuGirlLowBeta))
285 else if (info.patternRecoInfo(Trk::TrackInfo::MuGirlUnrefitted))
287 else if (info.patternRecoInfo(Trk::TrackInfo::STACO))
289 else if (info.patternRecoInfo(Trk::TrackInfo::MuTag))
291 else if (info.patternRecoInfo(Trk::TrackInfo::Fatras))
293 else if (info.patternRecoInfo(Trk::TrackInfo::FatrasSimulation))
295 ATH_MSG_VERBOSE ("got seed "<<seed<<" for info " << info);
296 return seed;
297}
@ SiSpacePointsSeedMaker_Cosmic
Entries allowing to distinguish different seed makers.
@ TRTSeededTrackFinder
Tracks from TRT Seeded Track finder.
@ TrigTRTxK
TrigInDetTracks produced by TrigTRTxK, running at trigger LVL2.
@ MuGirlUnrefitted
Tracks from MuGirl not refitted with iPat.
@ TrigIDSCAN
TrigInDetTracks produced by TrigIDSCAN, running at trigger LVL2.
@ InDetAmbiguitySolver
Tracks with InDetAmbiguitySolver used.
@ TrigSiTrack
TrigInDetTracks produced by TrigSiTrack, running at trigger LVL2.
@ SimpleAmbiguityProcessorTool
Added because of compilation problems.
@ SiSPSeededFinder
Tracks from SiSPSeedFinder.
@ InDetAmbiTrackSelectionTool
Added because of compilation problems.
@ TRTSeededSingleSpTrackFinder
TRTSeededSingleSpTrackFinder.
@ TrigTRTLUT
TrigInDetTracks produced by TrigTRTLUT, running at trigger LVL2.
@ xKalmanLegacyCnv
Added because of compilation problems.

◆ initialize()

StatusCode Trk::TrackInformationNtupleTool::initialize ( )

Definition at line 55 of file TrackInformationNtupleTool.cxx.

55 {
56
57 ATH_CHECK( m_evt.initialize() );
58 return StatusCode::SUCCESS;
59}
#define ATH_CHECK
Evaluate an expression and check for errors.

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::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.

◆ interfaceID()

const InterfaceID & Trk::ITrackValidationNtupleTool::interfaceID ( )
inlinestaticinherited

Interface ID, declared here, and defined below.

Definition at line 69 of file ITrackValidationNtupleTool.h.

69 {
71}
static const InterfaceID IID_ITrackValidationNtupleTool("ITrackValidationNtupleTool", 1, 0)

◆ msg()

MsgStream & AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

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

◆ msgLvl()

bool AthCommonMsg< AlgTool >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ resetVariables()

void Trk::TrackInformationNtupleTool::resetVariables ( )
virtual

reset the variables after writing the record to disk ntuple

Implements Trk::ITrackValidationNtupleTool.

Definition at line 226 of file TrackInformationNtupleTool.cxx.

226 {
227 // reset the counters
228 m_nHits = 0;
229}

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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 }
std::vector< SG::VarHandleKeyArray * > m_vhka

Member Data Documentation

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_eventNumber

int Trk::TrackInformationNtupleTool::m_eventNumber
private

event number the track belongs to

Definition at line 82 of file TrackInformationNtupleTool.h.

◆ m_evt

SG::ReadHandleKey<xAOD::EventInfo> Trk::TrackInformationNtupleTool::m_evt {this, "EvtInfo", "EventInfo", "EventInfo name"}
private

Definition at line 93 of file TrackInformationNtupleTool.h.

93{this, "EvtInfo", "EventInfo", "EventInfo name"};

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_fitStatusCode

int Trk::TrackInformationNtupleTool::m_fitStatusCode
private

return status code of the track fitter (for fit debugging)

Definition at line 85 of file TrackInformationNtupleTool.h.

◆ m_iterIndex

int Trk::TrackInformationNtupleTool::m_iterIndex
private

iteration index of the track (for DAF & internal call, EDM tracks always 0)

Definition at line 84 of file TrackInformationNtupleTool.h.

◆ m_lastEventNumber

unsigned int Trk::TrackInformationNtupleTool::m_lastEventNumber
private

Definition at line 78 of file TrackInformationNtupleTool.h.

◆ m_ndof

int Trk::TrackInformationNtupleTool::m_ndof
private

number of degrees of freedom of track fit

Definition at line 90 of file TrackInformationNtupleTool.h.

◆ m_nHits

int Trk::TrackInformationNtupleTool::m_nHits
private

number of measurements on the track (including outliers)

Definition at line 91 of file TrackInformationNtupleTool.h.

◆ m_particleHypothesis

int Trk::TrackInformationNtupleTool::m_particleHypothesis
private

particle hypothesis with which track was fitted

Definition at line 88 of file TrackInformationNtupleTool.h.

◆ m_Rec_chi2overNdof

float Trk::TrackInformationNtupleTool::m_Rec_chi2overNdof
private

chi2 / n.d.o.f of reconstructed track

Definition at line 89 of file TrackInformationNtupleTool.h.

◆ m_runNumber

int Trk::TrackInformationNtupleTool::m_runNumber
private

run number the track belongs to

Definition at line 81 of file TrackInformationNtupleTool.h.

◆ m_trackFitAuthor

int Trk::TrackInformationNtupleTool::m_trackFitAuthor
private

author (fitter) of the current track

Definition at line 86 of file TrackInformationNtupleTool.h.

◆ m_TrackID

int Trk::TrackInformationNtupleTool::m_TrackID
private

number of the track within the current event

Definition at line 83 of file TrackInformationNtupleTool.h.

◆ m_TrackIDcounter

int Trk::TrackInformationNtupleTool::m_TrackIDcounter
private

Definition at line 77 of file TrackInformationNtupleTool.h.

◆ m_trackSeedAuthor

int Trk::TrackInformationNtupleTool::m_trackSeedAuthor
private

author (main seed finder) of the current track.

Definition at line 87 of file TrackInformationNtupleTool.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


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