ATLAS Offline Software
Loading...
Searching...
No Matches
Generators
GeneratorObjectsTPCnv
GeneratorObjectsTPCnv
HepMcParticleLink_p1.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
// HepMcParticleLink_p1.h
8
// Header file for class HepMcParticleLink_p1
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef GENERATOROBJECTSTPCNV_HEPMCPARTICLELINK_P1_H
12
#define GENERATOROBJECTSTPCNV_HEPMCPARTICLELINK_P1_H
13
14
// STL includes
15
#include <string>
16
17
// Forward declaration
18
class
HepMcParticleLinkCnv_p1
;
19
20
class
HepMcParticleLink_p1
21
{
22
// Make HepMcParticleLinkCnv_p1 our friend
23
friend
class
HepMcParticleLinkCnv_p1
;
24
26
// Public methods:
28
public
:
29
32
HepMcParticleLink_p1
();
33
35
HepMcParticleLink_p1
(
//const std::string& mcEvtName,
36
const
unsigned
short
genEvtIndex,
37
const
unsigned
long
barcode );
38
40
// Protected data:
42
protected
:
43
47
//std::string m_mcEvtName;
48
51
unsigned
short
m_mcEvtIndex
;
52
54
unsigned
long
m_barcode
;
55
};
56
60
61
inline
HepMcParticleLink_p1::HepMcParticleLink_p1
() :
62
//m_mcEvtName( "Unknown" ),
63
m_mcEvtIndex
( 0 ),
64
m_barcode
( 0 )
65
{}
66
67
inline
68
HepMcParticleLink_p1::HepMcParticleLink_p1
(
//const std::string& mcEvtName,
69
const
unsigned
short
genEvtIndex,
70
const
unsigned
long
barcode ) :
71
// m_mcEvtName ( mcEvtName ),
72
m_mcEvtIndex
( genEvtIndex ),
73
m_barcode
( barcode )
74
{}
75
76
#endif
//> GENERATOROBJECTSTPCNV_HEPMCPARTICLELINK_P1_H
HepMcParticleLinkCnv_p1
Definition
HepMcParticleLinkCnv_p1.h:33
HepMcParticleLink_p1::HepMcParticleLink_p1
HepMcParticleLink_p1()
Default constructor:
Definition
HepMcParticleLink_p1.h:61
HepMcParticleLink_p1::HepMcParticleLinkCnv_p1
friend class HepMcParticleLinkCnv_p1
Definition
HepMcParticleLink_p1.h:23
HepMcParticleLink_p1::m_mcEvtIndex
unsigned short m_mcEvtIndex
name of the McEventCollection holding the HepMC::GenEvent which itself holds the HepMC::GenParticle w...
Definition
HepMcParticleLink_p1.h:51
HepMcParticleLink_p1::m_barcode
unsigned long m_barcode
barcode of the HepMC::GenParticle we are pointing to.
Definition
HepMcParticleLink_p1.h:54
Generated on
for ATLAS Offline Software by
1.14.0