ATLAS Offline Software
TrackTruthCollection_p3.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 // Dear emacs, this is -*-c++-*-
6 
7 // Andrei.Gaponenko@cern.ch, 2007
8 // Olivier.Arnaez@cern.ch, 2015
9 
10 #ifndef TRACKTRUTHTPCNV_TRACKTRUTHCOLLECTION_P3_H
11 #define TRACKTRUTHTPCNV_TRACKTRUTHCOLLECTION_P3_H
12 
16 
17 #include <vector>
18 
19 
20 namespace Trk {
22  public:
23 
25 
26  // Perhaps can use here a 32 bit unsigned instead of the 64 bit one?
28 
29  struct Entry {
31 
32  // Do TrackTruth here instead of introducing a separate converer for it.
33  // TrackTruth::m_flag is not used, don't store it.
34  float probability;
36  };
37 
38  typedef std::vector<Entry> CollectionType;
40  };
41 
42 }
43 
44 #endif // TRACKTRUTHTPCNV_TRACKTRUTHCOLLECTION_P3_H
Trk::TrackTruthCollection_p3::CollectionType
std::vector< Entry > CollectionType
Definition: TrackTruthCollection_p3.h:38
Trk::TrackTruthCollection_p3::Entry
Definition: TrackTruthCollection_p3.h:29
Trk::TrackTruthCollection_p3::Entry::index
size_type index
Definition: TrackTruthCollection_p3.h:30
Trk::TrackTruthCollection_p3::Entry::particle
HepMcParticleLink_p3 particle
Definition: TrackTruthCollection_p3.h:35
Trk::TrackTruthCollection_p3::size_type
TrackCollection::size_type size_type
Definition: TrackTruthCollection_p3.h:27
TrackCollection.h
Trk::TrackTruthCollection_p3
Definition: TrackTruthCollection_p3.h:21
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::TrackTruthCollection_p3::m_trackCollectionLink
DataLink_p1 m_trackCollectionLink
Definition: TrackTruthCollection_p3.h:24
DataVector< Trk::Track >::size_type
BASE::size_type size_type
Definition: DataVector.h:813
Trk::TrackTruthCollection_p3::Entry::probability
float probability
Definition: TrackTruthCollection_p3.h:34
Trk::TrackTruthCollection_p3::m_entries
CollectionType m_entries
Definition: TrackTruthCollection_p3.h:39