ATLAS Offline Software
Public Member Functions | Protected Attributes | Friends | List of all members
HepMcParticleLink_p2 Class Reference

#include <HepMcParticleLink_p2.h>

Collaboration diagram for HepMcParticleLink_p2:

Public Member Functions

 HepMcParticleLink_p2 ()
 Default constructor: More...
 
 HepMcParticleLink_p2 (const unsigned short genEvtIndex, const unsigned long barcode, char evtColl)
 Constructor with all parameters. More...
 

Protected Attributes

unsigned short m_mcEvtIndex
 name of the McEventCollection holding the HepMC::GenEvent which itself holds the HepMC::GenParticle we are pointing to FIXME: suboptimal, should put that into the DataHeader !! More...
 
unsigned long m_barcode
 barcode of the HepMC::GenParticle we are pointing to. More...
 
char m_evtColl
 

Friends

class HepMcParticleLinkCnv_p2
 

Detailed Description

Definition at line 16 of file HepMcParticleLink_p2.h.

Constructor & Destructor Documentation

◆ HepMcParticleLink_p2() [1/2]

HepMcParticleLink_p2::HepMcParticleLink_p2 ( )
inline

Default constructor:

Inline methods:

Definition at line 61 of file HepMcParticleLink_p2.h.

61  :
62  //m_mcEvtName( "Unknown" ),
63  m_mcEvtIndex ( 0 ),
64  m_barcode ( 0 ),
65  m_evtColl ('a')
66 {}

◆ HepMcParticleLink_p2() [2/2]

HepMcParticleLink_p2::HepMcParticleLink_p2 ( const unsigned short  genEvtIndex,
const unsigned long  barcode,
char  evtColl 
)
inline

Constructor with all parameters.

Definition at line 69 of file HepMcParticleLink_p2.h.

72  :
73  // m_mcEvtName ( mcEvtName ),
74  m_mcEvtIndex ( genEvtIndex ),
75  m_barcode ( barcode ),
76  m_evtColl ( evtColl )
77 {}

Friends And Related Function Documentation

◆ HepMcParticleLinkCnv_p2

friend class HepMcParticleLinkCnv_p2
friend

Definition at line 19 of file HepMcParticleLink_p2.h.

Member Data Documentation

◆ m_barcode

unsigned long HepMcParticleLink_p2::m_barcode
protected

barcode of the HepMC::GenParticle we are pointing to.

Definition at line 51 of file HepMcParticleLink_p2.h.

◆ m_evtColl

char HepMcParticleLink_p2::m_evtColl
protected

Definition at line 54 of file HepMcParticleLink_p2.h.

◆ m_mcEvtIndex

unsigned short HepMcParticleLink_p2::m_mcEvtIndex
protected

name of the McEventCollection holding the HepMC::GenEvent which itself holds the HepMC::GenParticle we are pointing to FIXME: suboptimal, should put that into the DataHeader !!

index of the HepMC::GenEvent holding the HepMC::GenParticle we are pointing to. This is the index in the McEventCollection.

Definition at line 48 of file HepMcParticleLink_p2.h.


The documentation for this class was generated from the following file:
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16