clas12root
Loading...
Searching...
No Matches
clas12::mcparticle Class Reference

#include <mcparticle.h>

Public Member Functions

 mcparticle ()=default
 mcparticle (hipo::schema aschema)
 mcparticle (hipo::schema aschema, hipo::schema schmatch)
virtual ~mcparticle ()=default
int getDaughter () const noexcept
int getDaughter (int index) const noexcept
short getEntry () const noexcept
int getIndex () const noexcept
int getIndex (int index) const noexcept
float getLifetime () const noexcept
float getLifetime (int index) const noexcept
float getMass () const noexcept
float getMass (int index) const noexcept
mcmatchgetMatch () const
float getP () const noexcept
int getParent () const noexcept
int getParent (int index) const noexcept
float getPhi () const noexcept
int getPid () const noexcept
int getPid (int index) const noexcept
float getPx () const noexcept
float getPx (int index) const noexcept
float getPy () const noexcept
float getPy (int index) const noexcept
float getPz () const noexcept
float getPz (int index) const noexcept
float getTheta () const noexcept
int getType () const noexcept
int getType (int index) const noexcept
float getVx () const noexcept
float getVx (int index) const noexcept
float getVy () const noexcept
float getVy (int index) const noexcept
float getVz () const noexcept
float getVz (int index) const noexcept
bool isMatched () const noexcept
int match_to (int pindex) const
void notify () final
void setBankEntry (short i)
void setEntry (short i) const
void setMatchEntry (short ip, short imc) const
Inheritance diagram for clas12::mcparticle:
Collaboration diagram for clas12::mcparticle:

Constructor & Destructor Documentation

◆ mcparticle() [1/3]

clas12::mcparticle::mcparticle ( )
default

◆ mcparticle() [2/3]

clas12::mcparticle::mcparticle ( hipo::schema aschema)

◆ mcparticle() [3/3]

clas12::mcparticle::mcparticle ( hipo::schema aschema,
hipo::schema schmatch )

◆ ~mcparticle()

virtual clas12::mcparticle::~mcparticle ( )
virtualdefault

Member Function Documentation

◆ getDaughter() [1/2]

int clas12::mcparticle::getDaughter ( ) const
inlinenoexcept

◆ getDaughter() [2/2]

int clas12::mcparticle::getDaughter ( int index) const
inlinenoexcept

◆ getEntry()

short clas12::mcparticle::getEntry ( ) const
inlinenoexcept

◆ getIndex() [1/2]

int clas12::mcparticle::getIndex ( ) const
inlinenoexcept

◆ getIndex() [2/2]

int clas12::mcparticle::getIndex ( int index) const
inlinenoexcept

◆ getLifetime() [1/2]

float clas12::mcparticle::getLifetime ( ) const
inlinenoexcept

◆ getLifetime() [2/2]

float clas12::mcparticle::getLifetime ( int index) const
inlinenoexcept

◆ getMass() [1/2]

float clas12::mcparticle::getMass ( ) const
inlinenoexcept

◆ getMass() [2/2]

float clas12::mcparticle::getMass ( int index) const
inlinenoexcept

◆ getMatch()

mcmatch * clas12::mcparticle::getMatch ( ) const
inline

◆ getP()

float clas12::mcparticle::getP ( ) const
inlinenoexcept

◆ getParent() [1/2]

int clas12::mcparticle::getParent ( ) const
inlinenoexcept

◆ getParent() [2/2]

int clas12::mcparticle::getParent ( int index) const
inlinenoexcept

◆ getPhi()

float clas12::mcparticle::getPhi ( ) const
inlinenoexcept

◆ getPid() [1/2]

int clas12::mcparticle::getPid ( ) const
inlinenoexcept

◆ getPid() [2/2]

int clas12::mcparticle::getPid ( int index) const
inlinenoexcept

◆ getPx() [1/2]

float clas12::mcparticle::getPx ( ) const
inlinenoexcept

◆ getPx() [2/2]

float clas12::mcparticle::getPx ( int index) const
inlinenoexcept

◆ getPy() [1/2]

float clas12::mcparticle::getPy ( ) const
inlinenoexcept

◆ getPy() [2/2]

float clas12::mcparticle::getPy ( int index) const
inlinenoexcept

◆ getPz() [1/2]

float clas12::mcparticle::getPz ( ) const
inlinenoexcept

◆ getPz() [2/2]

float clas12::mcparticle::getPz ( int index) const
inlinenoexcept

◆ getTheta()

float clas12::mcparticle::getTheta ( ) const
inlinenoexcept

◆ getType() [1/2]

int clas12::mcparticle::getType ( ) const
inlinenoexcept

◆ getType() [2/2]

int clas12::mcparticle::getType ( int index) const
inlinenoexcept

◆ getVx() [1/2]

float clas12::mcparticle::getVx ( ) const
inlinenoexcept

◆ getVx() [2/2]

float clas12::mcparticle::getVx ( int index) const
inlinenoexcept

◆ getVy() [1/2]

float clas12::mcparticle::getVy ( ) const
inlinenoexcept

◆ getVy() [2/2]

float clas12::mcparticle::getVy ( int index) const
inlinenoexcept

◆ getVz() [1/2]

float clas12::mcparticle::getVz ( ) const
inlinenoexcept

◆ getVz() [2/2]

float clas12::mcparticle::getVz ( int index) const
inlinenoexcept

◆ isMatched()

bool clas12::mcparticle::isMatched ( ) const
inlinenoexcept

◆ match_to()

int clas12::mcparticle::match_to ( int pindex) const
inline

◆ notify()

void clas12::mcparticle::notify ( )
inlinefinal

This is virtual method from hipo::bank it will be called every time a bank is read in the reader. Can be used to sort mcparticles and or map mcparticles by pid or type (i.e. charge)

◆ setBankEntry()

void clas12::mcparticle::setBankEntry ( short i)
inline

◆ setEntry()

void clas12::mcparticle::setEntry ( short i) const
inline

◆ setMatchEntry()

void clas12::mcparticle::setMatchEntry ( short ip,
short imc ) const
inline

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