ATLAS Offline Software
TrackParticleTruthCollection_p2.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRACKPARTICLETRUTHCOLLECTION_P2_H
6 #define TRACKPARTICLETRUTHCOLLECTION_P2_H
7 
11 
12 #include <vector>
13 
14 
15 namespace Rec {
17  public:
18 
20 
21  // Perhaps can use here a 32 bit unsigned instead of the 64 bit one?
23 
24  struct Entry {
26 
27  // Do TrackParticleTruth here instead of introducing a separate converer for it.
28  // TrackParticleTruth::m_flag is not used, don't store it.
29  float probability;
31  };
32 
33  typedef std::vector<Entry> CollectionType;
35  };
36 
37 }
38 
39 #endif/*TRACKPARTICLETRUTHCOLLECTION_P2_H*/
40 
Rec::TrackParticleTruthCollection_p2
Definition: TrackParticleTruthCollection_p2.h:16
Rec::TrackParticleTruthCollection_p2::Entry::particle
HepMcParticleLink_p2 particle
Definition: TrackParticleTruthCollection_p2.h:30
Rec::TrackParticleTruthCollection_p2::m_trackCollectionLink
DataLink_p1 m_trackCollectionLink
Definition: TrackParticleTruthCollection_p2.h:19
Rec::TrackParticleTruthCollection_p2::Entry::probability
float probability
Definition: TrackParticleTruthCollection_p2.h:29
Rec::TrackParticleTruthCollection_p2::size_type
TrackParticleContainer::size_type size_type
Definition: TrackParticleTruthCollection_p2.h:22
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
Rec::TrackParticleTruthCollection_p2::Entry
Definition: TrackParticleTruthCollection_p2.h:24
Rec::TrackParticleTruthCollection_p2::Entry::index
size_type index
Definition: TrackParticleTruthCollection_p2.h:25
Rec::TrackParticleTruthCollection_p2::CollectionType
std::vector< Entry > CollectionType
Definition: TrackParticleTruthCollection_p2.h:33
Rec::TrackParticleTruthCollection_p2::m_entries
CollectionType m_entries
Definition: TrackParticleTruthCollection_p2.h:34
DataVector< TrackParticle >::size_type
BASE::size_type size_type
Definition: DataVector.h:813
TrackParticleContainer.h