ATLAS Offline Software
PRD_MultiTruthCollection_p3.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 // Olivier.Arnaez@cern.ch, 2015
9 
10 
11 #ifndef PRD_MULTITRUTHCOLLECTION_P3_H
12 #define PRD_MULTITRUTHCOLLECTION_P3_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_p2& 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/*PRD_MULTITRUTHCOLLECTION_P3_H*/
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
Trk::PRD_MultiTruthCollection_p3::Entry::id
unsigned long long id
Definition: PRD_MultiTruthCollection_p3.h:23
Trk::PRD_MultiTruthCollection_p3::Entry::Entry
Entry()
Definition: PRD_MultiTruthCollection_p3.h:27
lumiFormat.i
int i
Definition: lumiFormat.py:92
Trk::PRD_MultiTruthCollection_p3
Definition: PRD_MultiTruthCollection_p3.h:19
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::PRD_MultiTruthCollection_p3::m_entries
CollectionType m_entries
Definition: PRD_MultiTruthCollection_p3.h:31
Trk::PRD_MultiTruthCollection_p3::Entry
Definition: PRD_MultiTruthCollection_p3.h:22
Trk::PRD_MultiTruthCollection_p3::Entry::particle
HepMcParticleLink_p2 particle
Definition: PRD_MultiTruthCollection_p3.h:24
Trk::PRD_MultiTruthCollection_p3::Entry::Entry
Entry(unsigned long long i, const HepMcParticleLink_p2 &p)
Definition: PRD_MultiTruthCollection_p3.h:25
Trk::PRD_MultiTruthCollection_p3::CollectionType
std::vector< Entry > CollectionType
Definition: PRD_MultiTruthCollection_p3.h:30