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