ATLAS Offline Software
PRD_MultiTruthCollection_p4.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 
11 #ifndef TRKTRUTHTPCNV_PRD_MULTITRUTHCOLLECTION_P4_H
12 #define TRKTRUTHTPCNV_PRD_MULTITRUTHCOLLECTION_P4_H
13 
15 
16 #include <vector>
17 
18 namespace Trk {
20  public:
21  // the lore is that Root does not split std::pair, so make our own class
22  struct Entry {
23  unsigned long long id; // the Identifier
25  Entry(unsigned long long i, const HepMcParticleLink_p3& p) : id(i), particle(p) {}
26 
27  Entry() : id(0) {} // stupid call required by reflex dicts
28  };
29 
30  typedef std::vector<Entry> CollectionType;
32  };
33 }
34 
35 #endif // TRKTRUTHTPCNV_PRD_MULTITRUTHCOLLECTION_P4_H
Trk::PRD_MultiTruthCollection_p4::CollectionType
std::vector< Entry > CollectionType
Definition: PRD_MultiTruthCollection_p4.h:30
Trk::PRD_MultiTruthCollection_p4::Entry::Entry
Entry()
Definition: PRD_MultiTruthCollection_p4.h:27
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
lumiFormat.i
int i
Definition: lumiFormat.py:85
Trk::PRD_MultiTruthCollection_p4::Entry::Entry
Entry(unsigned long long i, const HepMcParticleLink_p3 &p)
Definition: PRD_MultiTruthCollection_p4.h:25
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::PRD_MultiTruthCollection_p4::Entry
Definition: PRD_MultiTruthCollection_p4.h:22
Trk::PRD_MultiTruthCollection_p4::m_entries
CollectionType m_entries
Definition: PRD_MultiTruthCollection_p4.h:31
Trk::PRD_MultiTruthCollection_p4
Definition: PRD_MultiTruthCollection_p4.h:19
Trk::PRD_MultiTruthCollection_p4::Entry::particle
HepMcParticleLink_p3 particle
Definition: PRD_MultiTruthCollection_p4.h:24
Trk::PRD_MultiTruthCollection_p4::Entry::id
unsigned long long id
Definition: PRD_MultiTruthCollection_p4.h:23