ATLAS Offline Software
HepMcParticleLink_p1.h
Go to the documentation of this file.
1 
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
19 
21 {
22  // Make HepMcParticleLinkCnv_p1 our friend
24 
26  // Public methods:
28  public:
29 
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 
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
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
HepMcParticleLinkCnv_p1
Definition: HepMcParticleLinkCnv_p1.h:33