ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
ISF::TruthBinding Class Reference

#include <TruthBinding.h>

Collaboration diagram for ISF::TruthBinding:

Public Member Functions

 TruthBinding ()=delete
 No default constructor. More...
 
 TruthBinding (HepMC::GenParticlePtr allTruthP)
 constructor setting all truth particle pointers to the given particle More...
 
 TruthBinding (HepMC::GenParticlePtr truthP, HepMC::GenParticlePtr primaryTruthP, HepMC::GenParticlePtr genZeroTruthP)
 constructor setting all truth particle pointers individually More...
 
 TruthBinding (const TruthBinding &rhs)=default
 copy constructors More...
 
 TruthBinding (TruthBinding &&rhs)=default
 
TruthBindingoperator= (const TruthBinding &rhs)=default
 
TruthBindingoperator= (TruthBinding &&rhs)=default
 
bool operator== (const TruthBinding &rhs) const
 comparisons More...
 
bool isEqual (const TruthBinding &rhs) const
 
bool isIdent (const TruthBinding &rhs) const
 
 ~TruthBinding ()
 destructor More...
 
HepMC::GenParticlePtr getCurrentGenParticle ()
 pointer to the particle in the simulation truth More...
 
HepMC::ConstGenParticlePtr getCurrentGenParticle () const
 
void setCurrentGenParticle (HepMC::GenParticlePtr p)
 
HepMC::GenParticlePtr getPrimaryGenParticle ()
 pointer to the primary particle in the simulation truth More...
 
HepMC::ConstGenParticlePtr getPrimaryGenParticle () const
 
HepMC::GenParticlePtr getGenerationZeroGenParticle ()
 pointer to the simulation truth particle before any regeneration happened (eg. More...
 
HepMC::ConstGenParticlePtr getGenerationZeroGenParticle () const
 
void setGenerationZeroGenParticle (HepMC::GenParticlePtr p)
 
TruthBindingchildTruthBinding (HepMC::GenParticlePtr childP)
 Create a TruthBinding for a child particle. More...
 

Private Attributes

HepMC::GenParticlePtr m_truthParticle {}
 pointer to particle in MC truth More...
 
HepMC::GenParticlePtr m_primaryGenParticle {}
 pointer to corresponding primary (generator) particle More...
 
HepMC::GenParticlePtr m_generationZeroGenParticle {}
 pointer to corresponding truth particle before any regenration More...
 

Detailed Description

Author
Andreas.Salzburger -at- cern.ch , Elmar.Ritsch -at- cern.ch

Definition at line 18 of file TruthBinding.h.

Constructor & Destructor Documentation

◆ TruthBinding() [1/5]

ISF::TruthBinding::TruthBinding ( )
delete

No default constructor.

◆ TruthBinding() [2/5]

ISF::TruthBinding::TruthBinding ( HepMC::GenParticlePtr  allTruthP)
inline

constructor setting all truth particle pointers to the given particle

◆ TruthBinding() [3/5]

ISF::TruthBinding::TruthBinding ( HepMC::GenParticlePtr  truthP,
HepMC::GenParticlePtr  primaryTruthP,
HepMC::GenParticlePtr  genZeroTruthP 
)
inline

constructor setting all truth particle pointers individually

◆ TruthBinding() [4/5]

ISF::TruthBinding::TruthBinding ( const TruthBinding rhs)
inlinedefault

copy constructors

◆ TruthBinding() [5/5]

ISF::TruthBinding::TruthBinding ( TruthBinding &&  rhs)
inlinedefault

◆ ~TruthBinding()

ISF::TruthBinding::~TruthBinding ( )
inline

destructor

Member Function Documentation

◆ childTruthBinding()

TruthBinding* ISF::TruthBinding::childTruthBinding ( HepMC::GenParticlePtr  childP)
inline

Create a TruthBinding for a child particle.

◆ getCurrentGenParticle() [1/2]

HepMC::GenParticlePtr ISF::TruthBinding::getCurrentGenParticle ( )
inline

pointer to the particle in the simulation truth

◆ getCurrentGenParticle() [2/2]

HepMC::ConstGenParticlePtr ISF::TruthBinding::getCurrentGenParticle ( ) const
inline

◆ getGenerationZeroGenParticle() [1/2]

HepMC::GenParticlePtr ISF::TruthBinding::getGenerationZeroGenParticle ( )
inline

pointer to the simulation truth particle before any regeneration happened (eg.

brem)

◆ getGenerationZeroGenParticle() [2/2]

HepMC::ConstGenParticlePtr ISF::TruthBinding::getGenerationZeroGenParticle ( ) const
inline

◆ getPrimaryGenParticle() [1/2]

HepMC::GenParticlePtr ISF::TruthBinding::getPrimaryGenParticle ( )
inline

pointer to the primary particle in the simulation truth

◆ getPrimaryGenParticle() [2/2]

HepMC::ConstGenParticlePtr ISF::TruthBinding::getPrimaryGenParticle ( ) const
inline

◆ isEqual()

bool ISF::TruthBinding::isEqual ( const TruthBinding rhs) const
inline

◆ isIdent()

bool ISF::TruthBinding::isIdent ( const TruthBinding rhs) const
inline

◆ operator=() [1/2]

TruthBinding& ISF::TruthBinding::operator= ( const TruthBinding rhs)
inlinedefault

◆ operator=() [2/2]

TruthBinding& ISF::TruthBinding::operator= ( TruthBinding &&  rhs)
inlinedefault

◆ operator==()

bool ISF::TruthBinding::operator== ( const TruthBinding rhs) const
inline

comparisons

◆ setCurrentGenParticle()

void ISF::TruthBinding::setCurrentGenParticle ( HepMC::GenParticlePtr  p)
inline

◆ setGenerationZeroGenParticle()

void ISF::TruthBinding::setGenerationZeroGenParticle ( HepMC::GenParticlePtr  p)
inline

Member Data Documentation

◆ m_generationZeroGenParticle

HepMC::GenParticlePtr ISF::TruthBinding::m_generationZeroGenParticle {}
private

pointer to corresponding truth particle before any regenration

Definition at line 64 of file TruthBinding.h.

◆ m_primaryGenParticle

HepMC::GenParticlePtr ISF::TruthBinding::m_primaryGenParticle {}
private

pointer to corresponding primary (generator) particle

Definition at line 63 of file TruthBinding.h.

◆ m_truthParticle

HepMC::GenParticlePtr ISF::TruthBinding::m_truthParticle {}
private

pointer to particle in MC truth

Definition at line 62 of file TruthBinding.h.


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