ATLAS Offline Software
Loading...
Searching...
No Matches
Generators
GeneratorObjectsTPCnv
GeneratorObjectsTPCnv
HepMcParticleLink_p2.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef GENERATOROBJECTSTPCNV_HEPMCPARTICLELINK_P2_H
8
#define GENERATOROBJECTSTPCNV_HEPMCPARTICLELINK_P2_H
9
10
// STL includes
11
#include <string>
12
13
// Forward declaration
14
class
HepMcParticleLinkCnv_p2
;
15
16
class
HepMcParticleLink_p2
17
{
18
// Make HepMcParticleLinkCnv_p2 our friend
19
friend
class
HepMcParticleLinkCnv_p2
;
20
22
// Public methods:
24
public
:
25
28
HepMcParticleLink_p2
();
29
31
HepMcParticleLink_p2
(
//const std::string& mcEvtName,
32
const
unsigned
short
genEvtIndex,
33
const
unsigned
long
barcode,
34
char
evtColl );
35
37
// Protected data:
39
protected
:
40
44
//std::string m_mcEvtName;
45
48
unsigned
short
m_mcEvtIndex
;
49
51
unsigned
long
m_barcode
;
52
53
// identifier for the type of McEventCollection containing the particle (HS, PU,...)
54
char
m_evtColl
;
55
};
56
60
61
inline
HepMcParticleLink_p2::HepMcParticleLink_p2
() :
62
//m_mcEvtName( "Unknown" ),
63
m_mcEvtIndex
( 0 ),
64
m_barcode
( 0 ),
65
m_evtColl
(
'a'
)
66
{}
67
68
inline
69
HepMcParticleLink_p2::HepMcParticleLink_p2
(
//const std::string& mcEvtName,
70
const
unsigned
short
genEvtIndex,
71
const
unsigned
long
barcode,
72
char
evtColl) :
73
// m_mcEvtName ( mcEvtName ),
74
m_mcEvtIndex
( genEvtIndex ),
75
m_barcode
( barcode ),
76
m_evtColl
( evtColl )
77
{}
78
79
#endif
//> GENERATOROBJECTSTPCNV_HEPMCPARTICLELINK_P2_H
HepMcParticleLinkCnv_p2
Definition
HepMcParticleLinkCnv_p2.h:29
HepMcParticleLink_p2::m_barcode
unsigned long m_barcode
barcode of the HepMC::GenParticle we are pointing to.
Definition
HepMcParticleLink_p2.h:51
HepMcParticleLink_p2::m_evtColl
char m_evtColl
Definition
HepMcParticleLink_p2.h:54
HepMcParticleLink_p2::HepMcParticleLink_p2
HepMcParticleLink_p2()
Default constructor:
Definition
HepMcParticleLink_p2.h:61
HepMcParticleLink_p2::HepMcParticleLinkCnv_p2
friend class HepMcParticleLinkCnv_p2
Definition
HepMcParticleLink_p2.h:19
HepMcParticleLink_p2::m_mcEvtIndex
unsigned short m_mcEvtIndex
name of the McEventCollection holding the HepMC::GenEvent which itself holds the HepMC::GenParticle w...
Definition
HepMcParticleLink_p2.h:48
Generated on
for ATLAS Offline Software by
1.14.0