ATLAS Offline Software
HepMcParticleLink_p3.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef GENERATOROBJECTSTPCNV_HEPMCPARTICLELINK_P3_H
8 #define GENERATOROBJECTSTPCNV_HEPMCPARTICLELINK_P3_H
9 
10 // STL includes
11 #include <string>
12 
13 // Forward declaration
15 
17 {
18  // Make HepMcParticleLinkCnv_p3 our friend
20 
22  // Public methods:
24 public:
25 
29 
32  const unsigned short genEvtIndex,
33  const unsigned long id,
34  char truthSupp );
35 
37  // Protected data:
39 protected:
40 
43  unsigned short m_mcEvtIndex{0};
44 
46  unsigned long m_id{0}; // TODO could this be an unsigned int instead?
47 
48  // indicates whether the truth particle has been suppressed
49  char m_truthSupp{'a'};
50 };
51 
55 
57 
58 inline
60  const unsigned short genEvtIndex,
61  const unsigned long id,
62  char truthSupp) :
63  m_mcEvtIndex( genEvtIndex ),
64  m_id( id ),
65  m_truthSupp( truthSupp )
66 {}
67 
68 #endif //> GENERATOROBJECTSTPCNV_HEPMCPARTICLELINK_P3_H
HepMcParticleLinkCnv_p3
Definition: HepMcParticleLinkCnv_p3.h:29
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:220