ATLAS Offline Software
TrackAnalysisCollections.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef INDETTRACKPERFMON_TRACKANALYSISCOLLECTIONS_H
6 #define INDETTRACKPERFMON_TRACKANALYSISCOLLECTIONS_H
7 
19 #include "GaudiKernel/ISvcLocator.h"
20 #include "GaudiKernel/Service.h"
22 #include "StoreGate/ReadHandle.h"
23 
31 
34 #include "ITrackMatchingLookup.h"
35 
37 #include <string>
38 #include <vector>
39 #include <memory>
40 #include <unordered_map>
41 #include <utility>
42 
43 
44 namespace IDTPM {
45 
47 
48  public:
49 
54  enum Stage : size_t { FULL, FS, InRoI, NStages };
55 
57  enum Counter : size_t { ALL, SELECTED, INROI, MATCHED, NCOUNTERS };
58 
60  TrackAnalysisCollections( const std::string& anaTag );
61 
64 
67 
70 
72 
75  const SG::ReadHandleKey<xAOD::EventInfo>& eventInfoHandleKey,
76  const SG::ReadHandleKey< xAOD::TruthEventContainer >& truthEventHandleKey,
77  const SG::ReadHandleKey< xAOD::TruthPileupEventContainer >& truthPUEventHandleKey );
78 
81  const SG::ReadHandleKey< xAOD::TruthParticleContainer >& truthPartHandleKey );
82 
85 
88 
91  const std::vector< const xAOD::TruthParticle* >& vec,
92  Stage stage = FULL );
93 
95  const std::vector< const xAOD::TrackParticle* >& vec,
96  Stage stage = FULL );
97 
100  const std::vector< const xAOD::TruthParticle* >& vec,
101  Stage stage = FULL );
102 
104  const std::vector< const xAOD::TrackParticle* >& vec,
105  Stage stage = FULL );
106 
109  const std::vector< const xAOD::TruthParticle* >& vec,
110  Stage stage = FULL );
111 
113  const std::vector< const xAOD::TrackParticle* >& vec,
114  Stage stage = FULL );
115 
117  const std::vector< const xAOD::TrackParticle* >& vec,
118  Stage stage = FULL );
119 
122  const SG::ReadHandleKey< xAOD::TruthVertexContainer >& truthVertexHandleKey );
123 
126 
129 
132  const std::vector< const xAOD::TruthVertex* >& vec,
133  Stage stage = FULL );
134 
136  const std::vector< const xAOD::Vertex* >& vec,
137  Stage stage = FULL );
138 
141  const std::vector< const xAOD::TruthVertex* >& vec,
142  Stage stage = FULL );
143 
145  const std::vector< const xAOD::Vertex* >& vec,
146  Stage stage = FULL );
147 
150  const std::vector< const xAOD::TruthVertex* >& vec,
151  Stage stage = FULL );
152 
154  const std::vector< const xAOD::Vertex* >& vec,
155  Stage stage = FULL );
156 
158  const std::vector< const xAOD::Vertex* >& vec,
159  Stage stage = FULL );
160 
162 
164  bool empty( Stage stage = FULL );
165 
167  void clear( Stage stage = FULL );
168 
170  void copyFS();
171 
173  std::string printInfo( Stage stage = FULL, bool printVertex = true ) const;
174 
176  std::string printVertexInfo( Stage stage = FULL ) const;
177 
179 
181  const std::string& anaTag() { return m_anaTag; }
182 
184  const xAOD::EventInfo* eventInfo() { return m_eventInfo; }
187 
191 
195 
198  return m_truthPartContainer; }
200  return m_offlTrackContainer; }
202  return m_trigTrackContainer; }
203 
205  const std::vector< const xAOD::TruthParticle* >& testTruthVec( Stage stage = FULL );
206  const std::vector< const xAOD::TrackParticle* >& testTrackVec( Stage stage = FULL );
207 
209  const std::vector< const xAOD::TruthParticle* >& refTruthVec( Stage stage = FULL );
210  const std::vector< const xAOD::TrackParticle* >& refTrackVec( Stage stage = FULL );
211 
213  const std::vector< const xAOD::TruthParticle* >& truthPartVec( Stage stage = FULL ) {
214  return m_truthPartVec[ stage ]; }
215  const std::vector< const xAOD::TrackParticle* >& offlTrackVec( Stage stage = FULL ) {
216  return m_offlTrackVec[ stage ]; }
217  const std::vector< const xAOD::TrackParticle* >& trigTrackVec( Stage stage = FULL ) {
218  return m_trigTrackVec[ stage ]; }
219 
221  std::vector< size_t > testTrackCounts();
222  std::vector< size_t > refTrackCounts();
223 
227 
231 
234  return m_truthVertexContainer; }
236  return m_offlVertexContainer; }
238  return m_trigVertexContainer; }
239 
241  const std::vector< const xAOD::TruthVertex* >& testTruthVertexVec( Stage stage = FULL );
242  const std::vector< const xAOD::Vertex* >& testRecoVertexVec( Stage stage = FULL );
243 
245  const std::vector< const xAOD::TruthVertex* >& refTruthVertexVec( Stage stage = FULL );
246  const std::vector< const xAOD::Vertex* >& refRecoVertexVec( Stage stage = FULL );
247 
249  const std::vector< const xAOD::TruthVertex* >& truthVertexVec( Stage stage = FULL ) {
250  return m_truthVertexVec[ stage ]; }
251  const std::vector< const xAOD::Vertex* >& offlVertexVec( Stage stage = FULL ) {
252  return m_offlVertexVec[ stage ]; }
253  const std::vector< const xAOD::Vertex* >& trigVertexVec( Stage stage = FULL ) {
254  return m_trigVertexVec[ stage ]; }
255 
257  std::vector< size_t > testVertexCounts();
258  std::vector< size_t > refVertexCounts();
259 
262 
264  std::string printMatchInfo();
265 
267  bool updateChainRois( const std::string& chainRoi, const std::string& roiStr );
268 
269  private:
270 
272  std::string m_anaTag;
273  SmartIF< ITrackAnalysisDefinitionSvc > m_trkAnaDefSvc;
274 
277  const xAOD::EventInfo* m_eventInfo{nullptr};
280 
285 
287  std::vector<std::vector< const xAOD::TruthParticle* >> m_truthPartVec{};
288  std::vector<std::vector< const xAOD::TrackParticle* >> m_offlTrackVec{};
289  std::vector<std::vector< const xAOD::TrackParticle* >> m_trigTrackVec{};
290 
295 
297  std::vector<std::vector< const xAOD::TruthVertex* >> m_truthVertexVec{};
298  std::vector<std::vector< const xAOD::Vertex* >> m_offlVertexVec{};
299  std::vector<std::vector< const xAOD::Vertex* >> m_trigVertexVec{};
300 
302  std::vector< const xAOD::TrackParticle* > m_nullTrackVec{};
303  std::vector< const xAOD::TruthParticle* > m_nullTruthVec{};
304  std::vector< const xAOD::TruthVertex* > m_nullTruthVertVec{};
305  std::vector< const xAOD::Vertex* > m_nullRecoVertVec{};
306 
308  std::unique_ptr< ITrackMatchingLookup > m_matches;
309 
311  typedef std::unordered_map< std::string, std::string > mapChainRoi_t;
313 
314  }; // class TrackAnalysisCollections
315 
316 } // namespace IDTPM
317 
318 #endif // > !INDETTRACKPERFMON_TRACKANALYSISCOLLECTIONS_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
IDTPM::TrackAnalysisCollections::printInfo
std::string printInfo(Stage stage=FULL, bool printVertex=true) const
print information about tracks in the collection(s)
Definition: TrackAnalysisCollections.cxx:1034
IDTPM::TrackAnalysisCollections::fillTrigTrackVec
StatusCode fillTrigTrackVec(const std::vector< const xAOD::TrackParticle * > &vec, Stage stage=FULL)
Trigger tracks.
Definition: TrackAnalysisCollections.cxx:353
IDTPM::TrackAnalysisCollections::fillOfflVertexContainer
StatusCode fillOfflVertexContainer(const SG::ReadHandleKey< xAOD::VertexContainer > &handleKey)
Offline vertices.
Definition: TrackAnalysisCollections.cxx:404
IDTPM::TrackAnalysisCollections::printVertexInfo
std::string printVertexInfo(Stage stage=FULL) const
print information about vertices in the collection(s)
Definition: TrackAnalysisCollections.cxx:1089
IDTPM::TrackAnalysisCollections::m_matches
std::unique_ptr< ITrackMatchingLookup > m_matches
Lookup table for test-reference matching.
Definition: TrackAnalysisCollections.h:308
IDTPM::TrackAnalysisCollections::fillTruthVertexContainer
StatusCode fillTruthVertexContainer(const SG::ReadHandleKey< xAOD::TruthVertexContainer > &truthVertexHandleKey)
fill FULL vertex collections and vectors
Definition: TrackAnalysisCollections.cxx:373
ITrackAnalysisDefinitionSvc.h
IDTPM::TrackAnalysisCollections::Counter
Counter
Enum for counting objects at various stages.
Definition: TrackAnalysisCollections.h:57
python.FPGATrackSimAnalysisConfig.stage
stage
Definition: FPGATrackSimAnalysisConfig.py:558
IDTPM::TrackAnalysisCollections::NStages
@ NStages
Definition: TrackAnalysisCollections.h:54
IDTPM::TrackAnalysisCollections
Definition: TrackAnalysisCollections.h:46
IDTPM::TrackAnalysisCollections::ALL
@ ALL
Definition: TrackAnalysisCollections.h:57
AthCheckMacros.h
AthMsgStreamMacros.h
IDTPM::TrackAnalysisCollections::m_nullTruthVertVec
std::vector< const xAOD::TruthVertex * > m_nullTruthVertVec
Definition: TrackAnalysisCollections.h:304
IDTPM::TrackAnalysisCollections::testTruthVertexContainer
const xAOD::TruthVertexContainer * testTruthVertexContainer()
get full TEST vertex containers
Definition: TrackAnalysisCollections.cxx:878
IDTPM::TrackAnalysisCollections::updateChainRois
bool updateChainRois(const std::string &chainRoi, const std::string &roiStr)
update chainRois map
Definition: TrackAnalysisCollections.cxx:1155
IDTPM::TrackAnalysisCollections::m_offlTrackVec
std::vector< std::vector< const xAOD::TrackParticle * > > m_offlTrackVec
Definition: TrackAnalysisCollections.h:288
IDTPM::TrackAnalysisCollections::m_trigTrackVec
std::vector< std::vector< const xAOD::TrackParticle * > > m_trigTrackVec
Definition: TrackAnalysisCollections.h:289
IDTPM::TrackAnalysisCollections::m_nullTrackVec
std::vector< const xAOD::TrackParticle * > m_nullTrackVec
null vectors
Definition: TrackAnalysisCollections.h:302
IDTPM::TrackAnalysisCollections::m_trigVertexVec
std::vector< std::vector< const xAOD::Vertex * > > m_trigVertexVec
Definition: TrackAnalysisCollections.h:299
IDTPM::TrackAnalysisCollections::refRecoVertexContainer
const xAOD::VertexContainer * refRecoVertexContainer()
REFERENCE = Reco.
Definition: TrackAnalysisCollections.cxx:915
TruthParticleContainer.h
IDTPM::TrackAnalysisCollections::refTruthVertexContainer
const xAOD::TruthVertexContainer * refTruthVertexContainer()
get full REFERENCE vertex containers
Definition: TrackAnalysisCollections.cxx:904
IDTPM::TrackAnalysisCollections::mapChainRoi_t
std::unordered_map< std::string, std::string > mapChainRoi_t
map of chainRoiNames for caching
Definition: TrackAnalysisCollections.h:311
IDTPM::TrackAnalysisCollections::m_offlTrackContainer
const xAOD::TrackParticleContainer * m_offlTrackContainer
Definition: TrackAnalysisCollections.h:283
IDTPM::TrackAnalysisCollections::fillRefTrackVec
StatusCode fillRefTrackVec(const std::vector< const xAOD::TrackParticle * > &vec, Stage stage=FULL)
REFERENCE = tracks.
Definition: TrackAnalysisCollections.cxx:291
IDTPM::TrackAnalysisCollections::truthPartContainer
const xAOD::TruthParticleContainer * truthPartContainer()
get truth/offline/trigger track containers (TEST or REFERENCE)
Definition: TrackAnalysisCollections.h:197
IDTPM::TrackAnalysisCollections::testVertexCounts
std::vector< size_t > testVertexCounts()
get counts vectors for TEST/REFERENCE vertex vectors at all stages
Definition: TrackAnalysisCollections.cxx:996
IDTPM::TrackAnalysisCollections::eventInfo
const xAOD::EventInfo * eventInfo()
get event info
Definition: TrackAnalysisCollections.h:184
IDTPM::TrackAnalysisCollections::fillTruthVertexVec
StatusCode fillTruthVertexVec(const std::vector< const xAOD::TruthVertex * > &vec, Stage stage=FULL)
fill truth/offline/trigger vertex vector (TEST or REFERENCE)
Definition: TrackAnalysisCollections.cxx:553
IDTPM::TrackAnalysisCollections::refTruthVertexVec
const std::vector< const xAOD::TruthVertex * > & refTruthVertexVec(Stage stage=FULL)
get REFERENCE vertex vectors
Definition: TrackAnalysisCollections.cxx:963
IDTPM::TrackAnalysisCollections::TrackAnalysisCollections
TrackAnalysisCollections(const std::string &anaTag)
Constructor.
Definition: TrackAnalysisCollections.cxx:22
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
IDTPM::TrackAnalysisCollections::m_nullTruthVec
std::vector< const xAOD::TruthParticle * > m_nullTruthVec
Definition: TrackAnalysisCollections.h:303
IDTPM::TrackAnalysisCollections::trigTrackVec
const std::vector< const xAOD::TrackParticle * > & trigTrackVec(Stage stage=FULL)
Definition: TrackAnalysisCollections.h:217
IDTPM::TrackAnalysisCollections::SELECTED
@ SELECTED
Definition: TrackAnalysisCollections.h:57
SG::ReadHandleKey< xAOD::EventInfo >
IDTPM::TrackAnalysisCollections::m_trigVertexContainer
const xAOD::VertexContainer * m_trigVertexContainer
Definition: TrackAnalysisCollections.h:294
IDTPM::TrackAnalysisCollections::m_truthVertexContainer
const xAOD::TruthVertexContainer * m_truthVertexContainer
Full vertex collections.
Definition: TrackAnalysisCollections.h:292
TruthPileupEventContainer.h
IDTPM::TrackAnalysisCollections::testTruthContainer
const xAOD::TruthParticleContainer * testTruthContainer()
get full TEST track containers
Definition: TrackAnalysisCollections.cxx:721
IDTPM::TrackAnalysisCollections::testRecoVertexContainer
const xAOD::VertexContainer * testRecoVertexContainer()
TEST = Reco.
Definition: TrackAnalysisCollections.cxx:889
IDTPM::TrackAnalysisCollections::MATCHED
@ MATCHED
Definition: TrackAnalysisCollections.h:57
IDTPM::TrackAnalysisCollections::fillTrigVertexVec
StatusCode fillTrigVertexVec(const std::vector< const xAOD::Vertex * > &vec, Stage stage=FULL)
Trigger tracks.
Definition: TrackAnalysisCollections.cxx:587
IDTPM::TrackAnalysisCollections::fillOfflTrackVec
StatusCode fillOfflTrackVec(const std::vector< const xAOD::TrackParticle * > &vec, Stage stage=FULL)
Offline tracks.
Definition: TrackAnalysisCollections.cxx:336
IDTPM::TrackAnalysisCollections::fillTrigVertexContainer
StatusCode fillTrigVertexContainer(const SG::ReadHandleKey< xAOD::VertexContainer > &handleKey)
Trigger vertices.
Definition: TrackAnalysisCollections.cxx:433
IDTPM::TrackAnalysisCollections::printMatchInfo
std::string printMatchInfo()
print track matching information
Definition: TrackAnalysisCollections.cxx:1137
IDTPM::TrackAnalysisCollections::fillRefTruthVertexVec
StatusCode fillRefTruthVertexVec(const std::vector< const xAOD::TruthVertex * > &vec, Stage stage=FULL)
fill REFERENCE vertex vectors
Definition: TrackAnalysisCollections.cxx:509
IDTPM::TrackAnalysisCollections::testTrackVec
const std::vector< const xAOD::TrackParticle * > & testTrackVec(Stage stage=FULL)
TEST = Track.
Definition: TrackAnalysisCollections.cxx:789
IDTPM::TrackAnalysisCollections::fillTruthPartVec
StatusCode fillTruthPartVec(const std::vector< const xAOD::TruthParticle * > &vec, Stage stage=FULL)
fill truth/offline/trigger track vector (TEST or REFERENCE)
Definition: TrackAnalysisCollections.cxx:319
IDTPM::TrackAnalysisCollections::m_trkAnaDefSvc
SmartIF< ITrackAnalysisDefinitionSvc > m_trkAnaDefSvc
Definition: TrackAnalysisCollections.h:273
IDTPM::TrackAnalysisCollections::m_trigTrackContainer
const xAOD::TrackParticleContainer * m_trigTrackContainer
Definition: TrackAnalysisCollections.h:284
IDTPM::TrackAnalysisCollections::clear
void clear(Stage stage=FULL)
Clear vectors.
Definition: TrackAnalysisCollections.cxx:628
IDTPM::TrackAnalysisCollections::m_truthEventContainer
const xAOD::TruthEventContainer * m_truthEventContainer
Definition: TrackAnalysisCollections.h:278
IDTPM::TrackAnalysisCollections::fillTruthPartContainer
StatusCode fillTruthPartContainer(const SG::ReadHandleKey< xAOD::TruthParticleContainer > &truthPartHandleKey)
fill FULL track collections and vectors
Definition: TrackAnalysisCollections.cxx:108
IDTPM::TrackAnalysisCollections::INROI
@ INROI
Definition: TrackAnalysisCollections.h:57
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IDTPM::TrackAnalysisCollections::offlTrackContainer
const xAOD::TrackParticleContainer * offlTrackContainer()
Definition: TrackAnalysisCollections.h:199
IDTPM::TrackAnalysisCollections::FS
@ FS
Definition: TrackAnalysisCollections.h:54
IDTPM::TrackAnalysisCollections::testRecoVertexVec
const std::vector< const xAOD::Vertex * > & testRecoVertexVec(Stage stage=FULL)
TEST = Reco.
Definition: TrackAnalysisCollections.cxx:946
IDTPM::TrackAnalysisCollections::truthPileupEventContainer
const xAOD::TruthPileupEventContainer * truthPileupEventContainer()
Definition: TrackAnalysisCollections.h:186
IDTPM::TrackAnalysisCollections::m_truthVertexVec
std::vector< std::vector< const xAOD::TruthVertex * > > m_truthVertexVec
vectors of reco/truth vertices at different stages of the selection/workflow
Definition: TrackAnalysisCollections.h:297
IDTPM::TrackAnalysisCollections::offlVertexContainer
const xAOD::VertexContainer * offlVertexContainer()
Definition: TrackAnalysisCollections.h:235
IDTPM::TrackAnalysisCollections::truthVertexContainer
const xAOD::TruthVertexContainer * truthVertexContainer()
get truth/offline/trigger vertex containers (TEST or REFERENCE)
Definition: TrackAnalysisCollections.h:233
IDTPM::TrackAnalysisCollections::matches
ITrackMatchingLookup & matches()
get track matching information
Definition: TrackAnalysisCollections.h:261
IDTPM::TrackAnalysisCollections::m_nullRecoVertVec
std::vector< const xAOD::Vertex * > m_nullRecoVertVec
Definition: TrackAnalysisCollections.h:305
IDTPM::TrackAnalysisCollections::fillRefRecoVertexVec
StatusCode fillRefRecoVertexVec(const std::vector< const xAOD::Vertex * > &vec, Stage stage=FULL)
REFERENCE = reco.
Definition: TrackAnalysisCollections.cxx:526
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
IDTPM::TrackAnalysisCollections::testTrackCounts
std::vector< size_t > testTrackCounts()
get counts vectors for TEST/REFERENCE track vectors at all stages
Definition: TrackAnalysisCollections.cxx:839
IDTPM::TrackAnalysisCollections::truthEventContainer
const xAOD::TruthEventContainer * truthEventContainer()
Definition: TrackAnalysisCollections.h:185
ITrackMatchingLookup.h
Interace for TrackMatchingLookup objects (templated)
IDTPM::TrackAnalysisCollections::offlTrackVec
const std::vector< const xAOD::TrackParticle * > & offlTrackVec(Stage stage=FULL)
Definition: TrackAnalysisCollections.h:215
IDTPM::TrackAnalysisCollections::NCOUNTERS
@ NCOUNTERS
Definition: TrackAnalysisCollections.h:57
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
IDTPM::TrackAnalysisCollections::truthVertexVec
const std::vector< const xAOD::TruthVertex * > & truthVertexVec(Stage stage=FULL)
get truth/offline/trigger vertex vector (TEST or REFERENCE)
Definition: TrackAnalysisCollections.h:249
IDTPM::TrackAnalysisCollections::testTruthVertexVec
const std::vector< const xAOD::TruthVertex * > & testTruthVertexVec(Stage stage=FULL)
get TEST vertex vectors
Definition: TrackAnalysisCollections.cxx:933
IDTPM::TrackAnalysisCollections::fillEventInfo
StatusCode fillEventInfo(const SG::ReadHandleKey< xAOD::EventInfo > &eventInfoHandleKey, const SG::ReadHandleKey< xAOD::TruthEventContainer > &truthEventHandleKey, const SG::ReadHandleKey< xAOD::TruthPileupEventContainer > &truthPUEventHandleKey)
— Setter methods —
Definition: TrackAnalysisCollections.cxx:68
IDTPM::TrackAnalysisCollections::trigVertexVec
const std::vector< const xAOD::Vertex * > & trigVertexVec(Stage stage=FULL)
Definition: TrackAnalysisCollections.h:253
IDTPM::TrackAnalysisCollections::Stage
Stage
Enum for selection stages.
Definition: TrackAnalysisCollections.h:54
IDTPM::TrackAnalysisCollections::refTruthContainer
const xAOD::TruthParticleContainer * refTruthContainer()
get full REFERENCE track containers
Definition: TrackAnalysisCollections.cxx:747
IDTPM::TrackAnalysisCollections::~TrackAnalysisCollections
~TrackAnalysisCollections()=default
Destructor.
IDTPM::TrackAnalysisCollections::offlVertexVec
const std::vector< const xAOD::Vertex * > & offlVertexVec(Stage stage=FULL)
Definition: TrackAnalysisCollections.h:251
IDTPM::TrackAnalysisCollections::testTrackContainer
const xAOD::TrackParticleContainer * testTrackContainer()
TEST = Track.
Definition: TrackAnalysisCollections.cxx:732
IDTPM::TrackAnalysisCollections::m_offlVertexVec
std::vector< std::vector< const xAOD::Vertex * > > m_offlVertexVec
Definition: TrackAnalysisCollections.h:298
IDTPM::TrackAnalysisCollections::m_truthPartContainer
const xAOD::TruthParticleContainer * m_truthPartContainer
Full track collections.
Definition: TrackAnalysisCollections.h:282
EventInfo.h
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
IDTPM::TrackAnalysisCollections::refTrackCounts
std::vector< size_t > refTrackCounts()
REFERENCE.
Definition: TrackAnalysisCollections.cxx:857
IDTPM::TrackAnalysisCollections::fillTestTruthVertexVec
StatusCode fillTestTruthVertexVec(const std::vector< const xAOD::TruthVertex * > &vec, Stage stage=FULL)
fill TEST vertex vectors
Definition: TrackAnalysisCollections.cxx:465
IDTPM::TrackAnalysisCollections::initialize
StatusCode initialize()
initialize
Definition: TrackAnalysisCollections.cxx:41
IDTPM::TrackAnalysisCollections::refTrackVec
const std::vector< const xAOD::TrackParticle * > & refTrackVec(Stage stage=FULL)
TEST = Track.
Definition: TrackAnalysisCollections.cxx:819
VertexContainer.h
IDTPM::TrackAnalysisCollections::refVertexCounts
std::vector< size_t > refVertexCounts()
REFERENCE.
Definition: TrackAnalysisCollections.cxx:1014
IDTPM::TrackAnalysisCollections::InRoI
@ InRoI
Definition: TrackAnalysisCollections.h:54
IDTPM::TrackAnalysisCollections::fillTestRecoVertexVec
StatusCode fillTestRecoVertexVec(const std::vector< const xAOD::Vertex * > &vec, Stage stage=FULL)
TEST = reco.
Definition: TrackAnalysisCollections.cxx:482
AthMessaging.h
IDTPM::TrackAnalysisCollections::truthPartVec
const std::vector< const xAOD::TruthParticle * > & truthPartVec(Stage stage=FULL)
get truth/offline/trigger track vector (TEST or REFERENCE)
Definition: TrackAnalysisCollections.h:213
IDTPM::TrackAnalysisCollections::testTruthVec
const std::vector< const xAOD::TruthParticle * > & testTruthVec(Stage stage=FULL)
get TEST track vectors
Definition: TrackAnalysisCollections.cxx:776
IDTPM::TrackAnalysisCollections::empty
bool empty(Stage stage=FULL)
— Utility methods —
Definition: TrackAnalysisCollections.cxx:607
IDTPM::TrackAnalysisCollections::m_truthPUEventContainer
const xAOD::TruthPileupEventContainer * m_truthPUEventContainer
Definition: TrackAnalysisCollections.h:279
IDTPM::TrackAnalysisCollections::m_anaTag
std::string m_anaTag
TrackAnalysis properties.
Definition: TrackAnalysisCollections.h:272
IDTPM::ITrackMatchingLookup
Definition: ITrackMatchingLookup.h:30
IDTPM::TrackAnalysisCollections::fillTrigTrackContainer
StatusCode fillTrigTrackContainer(const SG::ReadHandleKey< xAOD::TrackParticleContainer > &handleKey)
Trigger track particles.
Definition: TrackAnalysisCollections.cxx:196
ReadHandle.h
Handle class for reading from StoreGate.
IDTPM::TrackAnalysisCollections::FULL
@ FULL
Definition: TrackAnalysisCollections.h:54
IDTPM::TrackAnalysisCollections::copyFS
void copyFS()
copy content of FS vectors to InRoI vectors
Definition: TrackAnalysisCollections.cxx:664
IDTPM
Athena include(s).
Definition: IPlotsDefinitionSvc.h:25
IDTPM::TrackAnalysisCollections::refRecoVertexVec
const std::vector< const xAOD::Vertex * > & refRecoVertexVec(Stage stage=FULL)
REFERENCE = Reco.
Definition: TrackAnalysisCollections.cxx:976
TruthEventContainer.h
IDTPM::TrackAnalysisCollections::operator=
TrackAnalysisCollections & operator=(const TrackAnalysisCollections &)=delete
= operator
IDTPM::TrackAnalysisCollections::refTrackContainer
const xAOD::TrackParticleContainer * refTrackContainer()
REFERENCE = Track.
Definition: TrackAnalysisCollections.cxx:758
IDTPM::TrackAnalysisCollections::anaTag
const std::string & anaTag()
— Getter methods —
Definition: TrackAnalysisCollections.h:181
IDTPM::TrackAnalysisCollections::fillTestTrackVec
StatusCode fillTestTrackVec(const std::vector< const xAOD::TrackParticle * > &vec, Stage stage=FULL)
TEST = tracks.
Definition: TrackAnalysisCollections.cxx:246
IDTPM::TrackAnalysisCollections::m_chainRois
mapChainRoi_t m_chainRois
Definition: TrackAnalysisCollections.h:312
IDTPM::TrackAnalysisCollections::trigTrackContainer
const xAOD::TrackParticleContainer * trigTrackContainer()
Definition: TrackAnalysisCollections.h:201
TrackParticleContainer.h
IDTPM::TrackAnalysisCollections::m_truthPartVec
std::vector< std::vector< const xAOD::TruthParticle * > > m_truthPartVec
vectors of track/truth particles at different stages of the selection/workflow
Definition: TrackAnalysisCollections.h:287
IDTPM::TrackAnalysisCollections::trigVertexContainer
const xAOD::VertexContainer * trigVertexContainer()
Definition: TrackAnalysisCollections.h:237
IDTPM::TrackAnalysisCollections::m_offlVertexContainer
const xAOD::VertexContainer * m_offlVertexContainer
Definition: TrackAnalysisCollections.h:293
IDTPM::TrackAnalysisCollections::fillOfflVertexVec
StatusCode fillOfflVertexVec(const std::vector< const xAOD::Vertex * > &vec, Stage stage=FULL)
Offline tracks.
Definition: TrackAnalysisCollections.cxx:570
IDTPM::TrackAnalysisCollections::m_eventInfo
const xAOD::EventInfo * m_eventInfo
— Collections class variables — EventInfo, TruthEvent, and TruthPUEvent
Definition: TrackAnalysisCollections.h:277
IDTPM::TrackAnalysisCollections::refTruthVec
const std::vector< const xAOD::TruthParticle * > & refTruthVec(Stage stage=FULL)
get REFERENCE track vectors
Definition: TrackAnalysisCollections.cxx:806
IDTPM::TrackAnalysisCollections::fillRefTruthVec
StatusCode fillRefTruthVec(const std::vector< const xAOD::TruthParticle * > &vec, Stage stage=FULL)
fill REFERENCE track vectors
Definition: TrackAnalysisCollections.cxx:274
IDTPM::TrackAnalysisCollections::fillOfflTrackContainer
StatusCode fillOfflTrackContainer(const SG::ReadHandleKey< xAOD::TrackParticleContainer > &handleKey)
Offline track particles.
Definition: TrackAnalysisCollections.cxx:166
IDTPM::TrackAnalysisCollections::fillTestTruthVec
StatusCode fillTestTruthVec(const std::vector< const xAOD::TruthParticle * > &vec, Stage stage=FULL)
fill TEST track vectors
Definition: TrackAnalysisCollections.cxx:229