ATLAS Offline Software
Loading...
Searching...
No Matches
HepMcParticleLink_p3 Class Reference

#include <HepMcParticleLink_p3.h>

Collaboration diagram for HepMcParticleLink_p3:

Public Member Functions

 HepMcParticleLink_p3 ()
 Default constructor:
 HepMcParticleLink_p3 (const unsigned short genEvtIndex, const unsigned long id, char truthSupp)
 Constructor with all parameters.

Protected Attributes

unsigned short m_mcEvtIndex {0}
 index of the HepMC::GenEvent holding the HepMC::GenParticle we are pointing to.
unsigned long m_id {0}
 id of the HepMC::GenParticle we are pointing to.
char m_truthSupp {'a'}

Friends

class HepMcParticleLinkCnv_p3

Detailed Description

Definition at line 16 of file HepMcParticleLink_p3.h.

Constructor & Destructor Documentation

◆ HepMcParticleLink_p3() [1/2]

HepMcParticleLink_p3::HepMcParticleLink_p3 ( )
inline

Default constructor:

Inline methods:

Definition at line 56 of file HepMcParticleLink_p3.h.

56{}

◆ HepMcParticleLink_p3() [2/2]

HepMcParticleLink_p3::HepMcParticleLink_p3 ( const unsigned short genEvtIndex,
const unsigned long id,
char truthSupp )
inline

Constructor with all parameters.

Definition at line 59 of file HepMcParticleLink_p3.h.

62 :
63 m_mcEvtIndex( genEvtIndex ),
64 m_id( id ),
65 m_truthSupp( truthSupp )
66{}

◆ HepMcParticleLinkCnv_p3

friend class HepMcParticleLinkCnv_p3
friend

Definition at line 19 of file HepMcParticleLink_p3.h.

Member Data Documentation

◆ m_id

unsigned long HepMcParticleLink_p3::m_id {0}
protected

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

Definition at line 46 of file HepMcParticleLink_p3.h.

46{0}; // TODO could this be an unsigned int instead?

◆ m_mcEvtIndex

unsigned short HepMcParticleLink_p3::m_mcEvtIndex {0}
protected

index of the HepMC::GenEvent holding the HepMC::GenParticle we are pointing to.

This is the index in the McEventCollection.

Definition at line 43 of file HepMcParticleLink_p3.h.

43{0};

◆ m_truthSupp

char HepMcParticleLink_p3::m_truthSupp {'a'}
protected

Definition at line 49 of file HepMcParticleLink_p3.h.

49{'a'};

The documentation for this class was generated from the following file: