ATLAS Offline Software
TrackStatHelper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // StatBox.h
7 // Authors: Sven Vahsen
9 
10 // Private utility class used by IDTrackStat to do track counting
11 // Since this StatBox is likely to change to without notification
12 // as needed, I would not recommend anyone else to use it
13 
14 #ifndef INDETRECSTATISTICS_TrackStatHelper_H
15 #define INDETRECSTATISTICS_TrackStatHelper_H
16 
17 #include "TrkTrack/TrackInfo.h"
18 #include "TrkTrackSummary/TrackSummary.h" // needed by Trk::numberOfTrackSummaryTypes
20 #include "AtlasHepMC/GenParticle.h"
24 
25 #include <vector>
26 #include <string>
27 #include <map>
28 #include <atomic>
29 
30 // forward declarations:
31 class PixelID;
32 class SCT_ID;
33 class AtlasDetectorID;
34 class Track;
35 
36 namespace InDet {
37 
40  TRACK_SECONDARY, //LT 06.21
56 
57 
58 
73 
82 
83  struct cuts {
84  float maxEtaBarrel;
86  float maxEtaEndcap;
89  float fakeTrackCut;
100  float minPt;
101  cuts(){
102  maxEtaBarrel =0;
104  maxEtaEndcap =0;
105  minEtaFORWARD = 2.5;
106  maxEtaFORWARD=4.2;
107  fakeTrackCut=0;
108  fakeTrackCut2 =0;
109  matchTrackCut =0;
110  maxRStartPrimary = 25.0;
111  maxRStartSecondary= 360.0;
112  maxZStartPrimary = 200.0;
113  maxZStartSecondary=2000.0;
114  minREndPrimary = 400.0;
115  minREndSecondary =1000.0;
116  minZEndPrimary =2300.0;
117  minZEndSecondary =3200.0;
118  minPt = 1000;
119  }
120 
121 
122 
123  };
124 
125 
133  public:
136  TrackStatHelper (const std::string&, const std::string&, bool careAboutTruth = true);
138  void SetCuts(const struct cuts&);
140  void addEvent (const TrackCollection *,
141  std::vector<const Trk::Track *> &,
142  const std::vector <std::pair<HepMC::ConstGenParticlePtr,int> > &,
143  const TrackTruthCollection *,
144  const AtlasDetectorID * const,
145  const PixelID *,
146  const SCT_ID *,
148  bool,
149  const unsigned int *,
150  const unsigned int *) const;
152  void reset ();
154  void print (MsgStream &out) const;
156  void printRegion1(MsgStream &out, enum eta_region) const;
157  void printRegion2(MsgStream &out, enum eta_region, float denominator) const;
159  void printSecondary (MsgStream &out) const;
161  void printRegionSecondary(MsgStream &out, enum eta_region, float denominator) const;
162 
163 
165  bool printTrackSummaryRegion (MsgStream &out, enum track_types, enum eta_region) const;
167  void printTrackSummaryAverage(MsgStream &out, enum track_types, enum eta_region, int summary_type) const;
169  bool PassTrackCuts(const Trk::TrackParameters *para) const;
171  int ClassifyParticle( const HepMC::ConstGenParticlePtr& particle, const double prob) const;
172 
173 
174  static std::string getSummaryTypeHeader();
175 
177  const std::string &key() const { return m_TrackCollectionKey; }
179  const std::string &Truthkey() const { return m_TrackTruthCollectionKey; }
180 
181  private:
182 
183  std::string m_TrackCollectionKey;
185 
186  mutable std::atomic<bool> m_author_found [Trk::TrackInfo::NumberOfTrackFitters]{};
187  mutable std::atomic<long> m_events {} ;
188 
189  template <int N_Categories, int N_Types, int N_Regions, typename T_Int=long>
190  struct Counter {
191  Counter() { reset(); }
192  void reset() {
193  for (unsigned int cat_i=0; cat_i < N_Categories; ++cat_i ) {
194  for (unsigned int type_i=0; type_i < N_Types; ++type_i) {
195  for (unsigned int eta_i=0; eta_i < N_Regions; ++eta_i) {
196  m_counter[cat_i][type_i][eta_i]=0;
197  }
198  }
199  }
200  }
201  template <typename T_IntB>
203  for (unsigned int cat_i=0; cat_i < N_Categories; ++cat_i ) {
204  for (unsigned int type_i=0; type_i < N_Types; ++type_i) {
205  for (unsigned int eta_i=0; eta_i < N_Regions; ++eta_i) {
206  m_counter[cat_i][type_i][eta_i] += a.m_counter[cat_i][type_i][eta_i];
207  }
208  }
209  }
210  return *this;
211  }
212  T_Int m_counter[N_Categories][N_Types][N_Regions];
213  };
214 
215  template <int N_Categories, int N_Types, int N_Regions, int N_SubCategories, typename T_Int=long>
216  struct Counter4D {
217  Counter4D() { reset(); }
218  void reset() {
219  for (unsigned int cat_i=0; cat_i < N_Categories; ++cat_i ) {
220  for (unsigned int type_i=0; type_i < N_Types; ++type_i) {
221  for (unsigned int eta_i=0; eta_i < N_Regions; ++eta_i) {
222  for (unsigned int sub_i=0; sub_i < N_SubCategories; ++sub_i) {
223  m_counter[cat_i][type_i][eta_i][sub_i]=0;
224  }
225  }
226  }
227  }
228  }
229  template <typename T_IntB>
231  for (unsigned int cat_i=0; cat_i < N_Categories; ++cat_i ) {
232  for (unsigned int type_i=0; type_i < N_Types; ++type_i) {
233  for (unsigned int eta_i=0; eta_i < N_Regions; ++eta_i) {
234  for (unsigned int sub_i=0; sub_i < N_SubCategories; ++sub_i) {
235  m_counter[cat_i][type_i][eta_i][sub_i] += a.m_counter[cat_i][type_i][eta_i][sub_i];
236  }
237  }
238  }
239  }
240  return *this;
241  }
242  T_Int m_counter[N_Categories][N_Types][N_Regions][N_SubCategories];
243  };
244 
249 
253 
259  };
268  };
269 
270  // The ETrackSummaryTypes should be synchronised with the arrays summaryTypes and
271  // summaryTypeName i.e. matching order and number of elements. Of these enums only
272  // two are used: kNSummaryTypes which defines the summary statistics array sizes;
273  // kNumberOfPixelHits, which is used to get counts for some denominators.
288  };
290  static const char *const s_summaryTypeName [kNSummaryTypes];
292 
295  N_TRACKTYPES,
296  N_ETAREGIONS,
298  int>;
300  N_TRACKTYPES,
301  N_ETAREGIONS,
303  std::atomic<long> >;
304  mutable TrackSummaryCounterAtomic m_trackSummarySum ATLAS_THREAD_SAFE;
305 
306 
308  eta_region region_i,
309  const Trk::TrackSummary *summary,
310  TrackSummaryCounter &trackSummarySum) const
311  {
312  if (summary) {
313  for (int stype=0; stype < kNSummaryTypes; stype++) {
314  int value = summary->get(s_summaryTypes[stype]);
315  //value is -1 if undefined
316  if (value>0) {
317  trackSummarySum.m_counter[kTrackSummarySum][track_i][region_i][stype] += value;
318  trackSummarySum.m_counter[kNTrackSummaryOK][track_i][region_i][stype] ++;
319  }
320  else {
321  trackSummarySum.m_counter[kNTrackSummaryBAD][track_i][region_i][stype] ++;
322  }
323  }
324  }
325  }
326 
327  mutable std::atomic<bool> m_truthMissing;
329  struct cuts m_cuts;
330 
332  mutable std::bitset<Trk::TrackInfo::NumberOfTrackRecoInfo> m_recoInfo ATLAS_THREAD_SAFE;
333  mutable std::bitset<Trk::TrackInfo::NumberOfTrackProperties> m_patternProperties ATLAS_THREAD_SAFE;
334 
335  typedef std::multimap<HepMcParticleLink,float> recoToTruthMap;
336  };
337 
338 
339 
340 } // close of namespace
341 
342 #endif // INDETRECSTATISTICS_TrackStatHelper_H
InDet::TrackStatHelper::kNumberOfInnermostPixelLayerHits
@ kNumberOfInnermostPixelLayerHits
Definition: TrackStatHelper.h:275
InDet::TrackStatHelper::s_summaryTypeName
static const char *const s_summaryTypeName[kNSummaryTypes]
table column labels for summary
Definition: TrackStatHelper.h:291
InDet::eta_region
eta_region
Definition: TrackStatHelper.h:74
InDet::TrackStatHelper::Counter4D::operator+=
Counter4D & operator+=(const Counter4D< N_Categories, N_Types, N_Regions, N_SubCategories, T_IntB > &a)
Definition: TrackStatHelper.h:230
InDet::TrackStatHelper::m_careAboutTruth
bool m_careAboutTruth
Definition: TrackStatHelper.h:328
InDet::HIT_SCT1
@ HIT_SCT1
Definition: TrackStatHelper.h:65
InDet::TRACK_LOWTRUTHPROB2_SIGNAL
@ TRACK_LOWTRUTHPROB2_SIGNAL
Definition: TrackStatHelper.h:53
InDet::TRACK_LOWTRUTHPROB_SIGNAL
@ TRACK_LOWTRUTHPROB_SIGNAL
Definition: TrackStatHelper.h:52
InDet::TRACK_MATCHED
@ TRACK_MATCHED
Definition: TrackStatHelper.h:45
InDet::HIT_ALL
@ HIT_ALL
Definition: TrackStatHelper.h:59
InDet::cuts::cuts
cuts()
Definition: TrackStatHelper.h:101
InDet::TRACK_ALL
@ TRACK_ALL
Definition: TrackStatHelper.h:38
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
InDet::TrackStatHelper::getSummaryTypeHeader
static std::string getSummaryTypeHeader()
Definition: TrackStatHelper.cxx:81
InDet::TRACK_MATCHED_SIGNAL
@ TRACK_MATCHED_SIGNAL
Definition: TrackStatHelper.h:54
InDet::TrackStatHelper::kNumberOfSCTHoles
@ kNumberOfSCTHoles
Definition: TrackStatHelper.h:280
InDet::TrackStatHelper::key
const std::string & key() const
Returns TrackCollection Key.
Definition: TrackStatHelper.h:177
InDet::TrackStatHelper::m_TrackCollectionKey
std::string m_TrackCollectionKey
StoreGate Track Collection Key.
Definition: TrackStatHelper.h:183
InDet::TRACK_NOHEPMCPARTICLELINK
@ TRACK_NOHEPMCPARTICLELINK
Definition: TrackStatHelper.h:44
InDet::TrackStatHelper::kNumberOfOutliersOnTrack
@ kNumberOfOutliersOnTrack
Definition: TrackStatHelper.h:286
InDet::TrackStatHelper::kTracks_rec
@ kTracks_rec
number of reconstructed tracks for a given type and eta region
Definition: TrackStatHelper.h:245
InDet::TrackStatHelper::Counter::operator+=
Counter & operator+=(const Counter< N_Categories, N_Types, N_Regions, T_IntB > &a)
Definition: TrackStatHelper.h:202
BeamSpot::mutex
std::mutex mutex
Definition: InDetBeamSpotVertex.cxx:18
InDet::TrackStatHelper::printRegion2
void printRegion2(MsgStream &out, enum eta_region, float denominator) const
Definition: TrackStatHelper.cxx:695
InDet
DUMMY Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::TrackStatHelper::m_cuts
struct cuts m_cuts
Definition: TrackStatHelper.h:329
InDet::cuts::maxEtaFORWARD
float maxEtaFORWARD
Definition: TrackStatHelper.h:88
InDet::TrackStatHelper::printSecondary
void printSecondary(MsgStream &out) const
Prints all of the statistics information, calls printRegion, printTrackSummaryRegion,...
Definition: TrackStatHelper.cxx:760
InDet::cuts
Definition: TrackStatHelper.h:83
InDet::TrackStatHelper::Counter4D::Counter4D
Counter4D()
Definition: TrackStatHelper.h:217
InDet::TrackStatHelper::m_authorMutex
std::mutex m_authorMutex
Definition: TrackStatHelper.h:331
InDet::TrackStatHelper::kNumberOfTRTHighThresholdOutliers
@ kNumberOfTRTHighThresholdOutliers
Definition: TrackStatHelper.h:285
InDet::TrackStatHelper::kNumberOfTRTHighThresholdHits
@ kNumberOfTRTHighThresholdHits
Definition: TrackStatHelper.h:284
InDet::cuts::minZEndSecondary
float minZEndSecondary
Definition: TrackStatHelper.h:99
InDet::TRACK_MATCHED_SECONDARY
@ TRACK_MATCHED_SECONDARY
Definition: TrackStatHelper.h:47
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
InDet::TrackStatHelper::Counter4D
Definition: TrackStatHelper.h:216
InDet::cuts::matchTrackCut
float matchTrackCut
Truth probability has to be greater than this for track to be considered matched
Definition: TrackStatHelper.h:91
InDet::TrackStatHelper::ATLAS_THREAD_SAFE
HitsCounterAtomic m_hits ATLAS_THREAD_SAFE
Definition: TrackStatHelper.h:262
athena.value
value
Definition: athena.py:122
InDet::cuts::minZEndPrimary
float minZEndPrimary
Definition: TrackStatHelper.h:98
InDet::ETA_BARREL
@ ETA_BARREL
Definition: TrackStatHelper.h:75
InDet::TrackStatHelper::printRegion1
void printRegion1(MsgStream &out, enum eta_region) const
Prints ntracks per event,efficiencies,fake rates, and general hit information for given eta region.
Definition: TrackStatHelper.cxx:653
InDet::TrackStatHelper::setSummaryStat
void setSummaryStat(track_types track_i, eta_region region_i, const Trk::TrackSummary *summary, TrackSummaryCounter &trackSummarySum) const
Definition: TrackStatHelper.h:307
InDet::TrackStatHelper::printTrackSummaryRegion
bool printTrackSummaryRegion(MsgStream &out, enum track_types, enum eta_region) const
Sets up detailed statistics part of table, calls printTrackSummaryRegion.
Definition: TrackStatHelper.cxx:716
covarianceTool.prob
prob
Definition: covarianceTool.py:678
InDet::TrackStatHelper::Counter::Counter
Counter()
Definition: TrackStatHelper.h:191
GenParticle.h
InDet::HIT_PIX1
@ HIT_PIX1
Definition: TrackStatHelper.h:61
InDet::ETA_OUTSIDE
@ ETA_OUTSIDE
Definition: TrackStatHelper.h:78
InDet::N_HITTYPES
@ N_HITTYPES
Definition: TrackStatHelper.h:72
InDet::TrackStatHelper::m_TrackTruthCollectionKey
std::string m_TrackTruthCollectionKey
StoreGate Track Truth Collection Key.
Definition: TrackStatHelper.h:184
InDet::TRACK_LOWTRUTHPROB2
@ TRACK_LOWTRUTHPROB2
Definition: TrackStatHelper.h:43
InDet::TrackStatHelper::m_author_found
std::atomic< bool > m_author_found[Trk::TrackInfo::NumberOfTrackFitters]
Number of tracking authors found.
Definition: TrackStatHelper.h:186
InDet::TrackStatHelper::ATLAS_THREAD_SAFE
TracksCounterAtomic m_tracks ATLAS_THREAD_SAFE
Definition: TrackStatHelper.h:252
InDet::TrackStatHelper::kTracks_gen
@ kTracks_gen
number of generated tracks for a given type and eta region, looping over genevents to include possibl...
Definition: TrackStatHelper.h:246
InDet::TrackStatHelper::kNumberOfSCTHits
@ kNumberOfSCTHits
Definition: TrackStatHelper.h:279
InDet::TRACK_TRUNCATED
@ TRACK_TRUNCATED
Definition: TrackStatHelper.h:41
InDet::cuts::minPt
float minPt
Definition: TrackStatHelper.h:100
InDet::TrackStatHelper::SetCuts
void SetCuts(const struct cuts &)
Sets the cuts such as the eta regions (barrel, transition,endcap) and the hit fraction fake cuts and ...
Definition: TrackStatHelper.cxx:113
InDet::TRACK_MATCHED_PRIMARY
@ TRACK_MATCHED_PRIMARY
Definition: TrackStatHelper.h:46
InDet::TrackStatHelper::m_events
std::atomic< long > m_events
Number of events.
Definition: TrackStatHelper.h:187
InDet::cuts::maxRStartSecondary
float maxRStartSecondary
Definition: TrackStatHelper.h:93
TrackTruthCollection
Definition: TrackTruthCollection.h:21
InDet::TRACK_MULTMATCH
@ TRACK_MULTMATCH
Definition: TrackStatHelper.h:48
InDet::TrackStatHelper::Counter4D::reset
void reset()
Definition: TrackStatHelper.h:218
InDet::cuts::maxZStartSecondary
float maxZStartSecondary
Definition: TrackStatHelper.h:95
InDet::HIT_UNKNOWN
@ HIT_UNKNOWN
Definition: TrackStatHelper.h:71
InDet::TrackStatHelper::kHits_pri
@ kHits_pri
number of hits from primary tracks for a given type and eta region
Definition: TrackStatHelper.h:256
TrackTruthCollection.h
InDet::HIT_PIX2
@ HIT_PIX2
Definition: TrackStatHelper.h:62
InDet::TRACK_ALL_SIGNAL
@ TRACK_ALL_SIGNAL
Definition: TrackStatHelper.h:51
InDet::TrackStatHelper::ETrackCounter
ETrackCounter
Definition: TrackStatHelper.h:245
InDet::TrackStatHelper::kNSummaryTypes
@ kNSummaryTypes
Definition: TrackStatHelper.h:287
InDet::hit_types
hit_types
Definition: TrackStatHelper.h:59
InDet::HIT_SCT4
@ HIT_SCT4
Definition: TrackStatHelper.h:68
TrackCollection.h
InDet::ETA_FORWARD
@ ETA_FORWARD
Definition: TrackStatHelper.h:79
InDet::TrackStatHelper::kTrackSummarySum
@ kTrackSummarySum
Track Summary Values for each track type, region and summary type.
Definition: TrackStatHelper.h:264
InDet::TrackStatHelper::print
void print(MsgStream &out) const
Prints all of the statistics information, calls printRegion, printTrackSummaryRegion,...
Definition: TrackStatHelper.cxx:584
InDet::HIT_PIX3
@ HIT_PIX3
Definition: TrackStatHelper.h:63
InDet::TrackStatHelper::kNumberOfPixelHoles
@ kNumberOfPixelHoles
Definition: TrackStatHelper.h:277
InDet::cuts::maxEtaBarrel
float maxEtaBarrel
Definition: TrackStatHelper.h:84
InDet::TRACK_LOWTRUTHPROB
@ TRACK_LOWTRUTHPROB
Definition: TrackStatHelper.h:42
InDet::TrackStatHelper::kNumberOfGangedPixels
@ kNumberOfGangedPixels
Definition: TrackStatHelper.h:278
TrackSummary.h
Trk::ParametersBase
Definition: ParametersBase.h:55
InDet::N_ETAREGIONS
@ N_ETAREGIONS
Definition: TrackStatHelper.h:81
InDet::TrackStatHelper::printRegionSecondary
void printRegionSecondary(MsgStream &out, enum eta_region, float denominator) const
Prints ntracks per event,efficiencies,fake rates, and general hit information for given eta region.
Definition: TrackStatHelper.cxx:808
InDet::HIT_SCT5TO9
@ HIT_SCT5TO9
Definition: TrackStatHelper.h:69
ReadTripsProbsFromCool.denominator
denominator
Definition: ReadTripsProbsFromCool.py:96
DataVector< Trk::Track >
InDet::TrackStatHelper::kNTrackSummaryBAD
@ kNTrackSummaryBAD
Number of tracks with track summary bad for given type,eta,summary type.
Definition: TrackStatHelper.h:266
InDet::TrackStatHelper::kNTrackSummaryOK
@ kNTrackSummaryOK
Number of tracks with track summary OK for given type,eta,summary type.
Definition: TrackStatHelper.h:265
InDet::TrackStatHelper::m_truthMissing
std::atomic< bool > m_truthMissing
Flag for if track truth is missing.
Definition: TrackStatHelper.h:327
InDet::TrackStatHelper::ATLAS_THREAD_SAFE
std::bitset< Trk::TrackInfo::NumberOfTrackRecoInfo > m_recoInfo ATLAS_THREAD_SAFE
Definition: TrackStatHelper.h:332
InDet::cuts::maxZStartPrimary
float maxZStartPrimary
Definition: TrackStatHelper.h:94
InDet::TrackStatHelper::kNTrackSummaryCounter
@ kNTrackSummaryCounter
Definition: TrackStatHelper.h:267
InDet::ETA_ALL
@ ETA_ALL
Definition: TrackStatHelper.h:74
InDet::track_types
track_types
Definition: TrackStatHelper.h:38
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition: GenParticle.h:38
InDet::cuts::minREndSecondary
float minREndSecondary
Definition: TrackStatHelper.h:97
InDet::TrackStatHelper::Truthkey
const std::string & Truthkey() const
Returns Truth TrackCollection Key.
Definition: TrackStatHelper.h:179
Trk::TrackSummary
A summary of the information contained by a track.
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:287
TrackInfo.h
InDet::TrackStatHelper::ATLAS_THREAD_SAFE
std::bitset< Trk::TrackInfo::NumberOfTrackProperties > m_patternProperties ATLAS_THREAD_SAFE
Definition: TrackStatHelper.h:333
InDet::TrackStatHelper::EHitsCounter
EHitsCounter
Definition: TrackStatHelper.h:254
InDet::cuts::maxRStartPrimary
float maxRStartPrimary
Definition: TrackStatHelper.h:92
InDet::TrackStatHelper::s_summaryTypes
static const Trk::SummaryType s_summaryTypes[kNSummaryTypes]
summary types for which statistics are gathered
Definition: TrackStatHelper.h:289
InDet::TrackStatHelper::Counter
Definition: TrackStatHelper.h:190
InDet::HIT_SCT_ALL
@ HIT_SCT_ALL
Definition: TrackStatHelper.h:64
InDet::TrackStatHelper::kTracks_gen_signal
@ kTracks_gen_signal
number of generated tracks for a given type and eta region, just from first genevent
Definition: TrackStatHelper.h:247
InDet::TrackStatHelper::ClassifyParticle
int ClassifyParticle(const HepMC::ConstGenParticlePtr &particle, const double prob) const
classifies gen particle as primary, secondary or truncated
Definition: TrackStatHelper.cxx:850
InDet::TrackStatHelper::ETrackSummaryCounter
ETrackSummaryCounter
Definition: TrackStatHelper.h:263
InDet::TRACK_SECONDARY
@ TRACK_SECONDARY
Definition: TrackStatHelper.h:40
InDet::cuts::minREndPrimary
float minREndPrimary
Definition: TrackStatHelper.h:96
InDet::TrackStatHelper::kNHitsCounter
@ kNHitsCounter
Definition: TrackStatHelper.h:258
InDet::TrackStatHelper::recoToTruthMap
std::multimap< HepMcParticleLink, float > recoToTruthMap
map containing reco track and matched truth track barcode
Definition: TrackStatHelper.h:335
InDet::TrackStatHelper::PassTrackCuts
bool PassTrackCuts(const Trk::TrackParameters *para) const
defines 'good' reco tracks
Definition: TrackStatHelper.cxx:841
InDet::TrackStatHelper::Counter::m_counter
T_Int m_counter[N_Categories][N_Types][N_Regions]
Definition: TrackStatHelper.h:212
InDet::cuts::maxEtaTransition
float maxEtaTransition
Maxiumu eta for transition region.
Definition: TrackStatHelper.h:85
InDet::TRACK_PRIMARY
@ TRACK_PRIMARY
Definition: TrackStatHelper.h:39
InDet::TrackStatHelper::Counter::reset
void reset()
Definition: TrackStatHelper.h:192
InDet::cuts::fakeTrackCut
float fakeTrackCut
fraction of hits per track that come from single matched truth track.
Definition: TrackStatHelper.h:89
InDet::TrackStatHelper::kHits_sec
@ kHits_sec
number of hits from secondary tracks for a given type and eta region
Definition: TrackStatHelper.h:257
InDet::ETA_UNKNOWN
@ ETA_UNKNOWN
Definition: TrackStatHelper.h:80
InDet::ETA_TRANSITION
@ ETA_TRANSITION
Definition: TrackStatHelper.h:76
InDet::TrackStatHelper::ATLAS_THREAD_SAFE
TrackSummaryCounterAtomic m_trackSummarySum ATLAS_THREAD_SAFE
Definition: TrackStatHelper.h:304
a
TList * a
Definition: liststreamerinfos.cxx:10
InDet::TrackStatHelper::TrackStatHelper
TrackStatHelper(const std::string &, const std::string &, bool careAboutTruth=true)
Constructor.
Definition: TrackStatHelper.cxx:103
InDet::TrackStatHelper::kNumberOfSCTDoubleHoles
@ kNumberOfSCTDoubleHoles
Definition: TrackStatHelper.h:281
InDet::HIT_SCT2
@ HIT_SCT2
Definition: TrackStatHelper.h:66
SCT_ID
Definition: SCT_ID.h:68
InDet::TrackStatHelper::kNTracksCounter
@ kNTracksCounter
Definition: TrackStatHelper.h:248
IExtendedTrackSummaryTool.h
InDet::TrackStatHelper::kHits_rec
@ kHits_rec
number of reconstructed hits for a given type and eta region
Definition: TrackStatHelper.h:255
InDet::HIT_PIXEL_ALL
@ HIT_PIXEL_ALL
Definition: TrackStatHelper.h:60
InDet::N_TRACKTYPES
@ N_TRACKTYPES
Definition: TrackStatHelper.h:55
InDet::TrackStatHelper
Definition: TrackStatHelper.h:126
InDet::TRACK_MULTMATCH_SECONDARY
@ TRACK_MULTMATCH_SECONDARY
Definition: TrackStatHelper.h:50
InDet::TrackStatHelper::kNumberOfTRTHits
@ kNumberOfTRTHits
Definition: TrackStatHelper.h:282
InDet::TrackStatHelper::addEvent
void addEvent(const TrackCollection *, std::vector< const Trk::Track * > &, const std::vector< std::pair< HepMC::ConstGenParticlePtr, int > > &, const TrackTruthCollection *, const AtlasDetectorID *const, const PixelID *, const SCT_ID *, const Trk::IExtendedTrackSummaryTool *, bool, const unsigned int *, const unsigned int *) const
Adds hit, track and matching information for each event.
Definition: TrackStatHelper.cxx:119
InDet::TrackStatHelper::reset
void reset()
Resets the track collection information, called in the constructor.
Definition: TrackStatHelper.cxx:571
InDet::cuts::maxEtaEndcap
float maxEtaEndcap
Maximum eta for endcap.
Definition: TrackStatHelper.h:86
InDet::TrackStatHelper::Counter4D::m_counter
T_Int m_counter[N_Categories][N_Types][N_Regions][N_SubCategories]
Definition: TrackStatHelper.h:242
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
InDet::HIT_TRT_ALL
@ HIT_TRT_ALL
Definition: TrackStatHelper.h:70
InDet::cuts::fakeTrackCut2
float fakeTrackCut2
2nd value for fraction of hits per track that come from single matched truth track.
Definition: TrackStatHelper.h:90
Trk::SummaryType
SummaryType
enumerates the different types of information stored in Summary.
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:45
InDet::TrackStatHelper::ETrackSummaryTypes
ETrackSummaryTypes
Definition: TrackStatHelper.h:274
InDet::TrackStatHelper::kNumberOfTRTOutliers
@ kNumberOfTRTOutliers
Definition: TrackStatHelper.h:283
InDet::HIT_SCT3
@ HIT_SCT3
Definition: TrackStatHelper.h:67
Trk::IExtendedTrackSummaryTool
Interface for condensing Trk::Track properties and associated hits to a (non-fittable) foot print,...
Definition: IExtendedTrackSummaryTool.h:22
PixelID
Definition: PixelID.h:67
Trk::TrackInfo::NumberOfTrackFitters
@ NumberOfTrackFitters
maximum number of enums
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/TrackInfo.h:71
InDet::TrackStatHelper::kNumberOfPixelHits
@ kNumberOfPixelHits
Definition: TrackStatHelper.h:276
InDet::cuts::minEtaFORWARD
float minEtaFORWARD
Definition: TrackStatHelper.h:87
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57
InDet::ETA_ENDCAP
@ ETA_ENDCAP
Definition: TrackStatHelper.h:77
InDet::TrackStatHelper::printTrackSummaryAverage
void printTrackSummaryAverage(MsgStream &out, enum track_types, enum eta_region, int summary_type) const
Prints information from TrackSummaryTool.
Definition: TrackStatHelper.cxx:743
InDet::TRACK_MULTMATCH_PRIMARY
@ TRACK_MULTMATCH_PRIMARY
Definition: TrackStatHelper.h:49
SCT_Monitoring::summary
@ summary
Definition: SCT_MonitoringNumbers.h:65