ATLAS Offline Software
Tracking
TrkEventCnv
TrkTruthTPCnv
TrkTruthTPCnv
PRD_MultiTruthCollection_p1.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_P1_H
11
#define PRD_MULTITRUTHCOLLECTION_P1_H
12
13
#ifdef __IDENTIFIER_PERS_VARSIZE__
14
#include "Identifier/Identifier.h"
15
#endif
16
17
#include "
GeneratorObjectsTPCnv/HepMcParticleLink_p1.h
"
18
19
#include <vector>
20
21
namespace
Trk
{
22
class
PRD_MultiTruthCollection_p1
{
23
public
:
24
// the lore is that Root does not split std::pair, so make our own class
25
struct
Entry
{
26
// #ifdef __IDENTIFIER_PERS_VARSIZE__
27
// Identifier::value_type id; // the Identifier
28
// HepMcParticleLink_p1 particle;
29
// Entry(Identifier::value_type i, const HepMcParticleLink_p1& p) : id(i), particle(p) {}
30
// #else
31
// unsigned int id; // the Identifier
32
// HepMcParticleLink_p1 particle;
33
// Entry(unsigned int i, const HepMcParticleLink_p1& p) : id(i), particle(p) {}
34
// #endif
35
unsigned
int
id
;
// the Identifier
36
HepMcParticleLink_p1
particle
;
37
Entry
(
unsigned
int
i
,
const
HepMcParticleLink_p1
&
p
) :
id
(
i
),
particle
(
p
) {}
38
39
Entry
() :
id
(0) {}
// stupid call required by reflex dicts
40
};
41
42
typedef
std::vector<Entry>
CollectionType
;
43
CollectionType
m_entries
;
44
};
45
}
46
47
#endif
/*PRD_MULTITRUTHCOLLECTION_P1_H*/
Trk::PRD_MultiTruthCollection_p1::CollectionType
std::vector< Entry > CollectionType
Definition:
PRD_MultiTruthCollection_p1.h:42
Trk::PRD_MultiTruthCollection_p1::Entry::Entry
Entry(unsigned int i, const HepMcParticleLink_p1 &p)
Definition:
PRD_MultiTruthCollection_p1.h:37
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
HepMcParticleLink_p1
Definition:
HepMcParticleLink_p1.h:21
HepMcParticleLink_p1.h
Trk::PRD_MultiTruthCollection_p1::m_entries
CollectionType m_entries
Definition:
PRD_MultiTruthCollection_p1.h:43
Trk::PRD_MultiTruthCollection_p1::Entry::Entry
Entry()
Definition:
PRD_MultiTruthCollection_p1.h:39
Trk::PRD_MultiTruthCollection_p1::Entry
Definition:
PRD_MultiTruthCollection_p1.h:25
Trk::PRD_MultiTruthCollection_p1::Entry::id
unsigned int id
Definition:
PRD_MultiTruthCollection_p1.h:35
Trk::PRD_MultiTruthCollection_p1::Entry::particle
HepMcParticleLink_p1 particle
Definition:
PRD_MultiTruthCollection_p1.h:36
Trk::PRD_MultiTruthCollection_p1
Definition:
PRD_MultiTruthCollection_p1.h:22
Generated on Sun Dec 22 2024 21:16:38 for ATLAS Offline Software by
1.8.18