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

#include <HepMcParticleLink_p1.h>

Collaboration diagram for HepMcParticleLink_p1:

Public Member Functions

 HepMcParticleLink_p1 ()
 Default constructor: More...
 
 HepMcParticleLink_p1 (const unsigned short genEvtIndex, const unsigned long barcode)
 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...
 

Friends

class HepMcParticleLinkCnv_p1
 

Detailed Description

Definition at line 20 of file HepMcParticleLink_p1.h.

Constructor & Destructor Documentation

◆ HepMcParticleLink_p1() [1/2]

HepMcParticleLink_p1::HepMcParticleLink_p1 ( )
inline

Default constructor:

Inline methods:

Definition at line 61 of file HepMcParticleLink_p1.h.

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

◆ HepMcParticleLink_p1() [2/2]

HepMcParticleLink_p1::HepMcParticleLink_p1 ( const unsigned short  genEvtIndex,
const unsigned long  barcode 
)
inline

Constructor with all parameters.

Definition at line 68 of file HepMcParticleLink_p1.h.

70  :
71  // m_mcEvtName ( mcEvtName ),
72  m_mcEvtIndex ( genEvtIndex ),
73  m_barcode ( barcode )
74 {}

Friends And Related Function Documentation

◆ HepMcParticleLinkCnv_p1

friend class HepMcParticleLinkCnv_p1
friend

Definition at line 23 of file HepMcParticleLink_p1.h.

Member Data Documentation

◆ m_barcode

unsigned long HepMcParticleLink_p1::m_barcode
protected

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

Definition at line 54 of file HepMcParticleLink_p1.h.

◆ m_mcEvtIndex

unsigned short HepMcParticleLink_p1::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 51 of file HepMcParticleLink_p1.h.


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