Belle II Software development
|
A class to represent a GEN_HEPEVT particle in tracking. More...
#include <TrackMC.h>
Public Member Functions | |
virtual | ~TRGCDCTrackMC () |
Destructor. | |
std::string | name (void) const |
returns name. | |
unsigned | id (void) const |
returns an id started from 0. | |
int | status (void) const |
returns status. | |
int | pType (void) const |
returns particle type. | |
const TRGCDCTrackMC * | mother (void) const |
returns a pointer to a mother. | |
const TRGCDCTrackMC * | child (unsigned i) const |
returns a pointer to i'th child. | |
const CLHEP::HepLorentzVector & | p (void) const |
returns momentum vector. | |
const CLHEP::Hep3Vector & | v (void) const |
returns position vector. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
std::vector< const TRGCDCWireHitMC * > | hits (void) const |
returns a list of TRGCDCWireHitMC. | |
Static Public Member Functions | |
static std::vector< const TRGCDCTrackMC * > | list (void) |
returns a list of TRGCDCTrackMC's. | |
Static Public Attributes | |
static TRGCDCTrackMC * | _undefined = new TRGCDCTrackMC() |
returns a pointer to gen_hepevt. | |
Private Member Functions | |
TRGCDCTrackMC () | |
Constructor. | |
Static Private Member Functions | |
static void | update (void) |
updates information. | |
Private Attributes | |
TRGCDCTrackMC * | _mother = nullptr |
pointer to mother TRGCDCTrackMC | |
std::vector< TRGCDCTrackMC * > | _children |
vector of pointers to children TRGCDCTrackMC | |
const CLHEP::HepLorentzVector | _p |
momentum | |
const CLHEP::Hep3Vector | _v |
vertex | |
std::vector< TRGCDCWireHitMC * > | _hits |
vector of pointers to TRGCDCWireHitMC | |
Static Private Attributes | |
static std::vector< const TRGCDCTrackMC * > | _list = std::vector<const TRGCDCTrackMC*>() |
vector of pointers to TRGCDCTrackMC | |
Friends | |
class | TRGCDC |
|
private |
vector of pointers to children TRGCDCTrackMC
|
private |
vector of pointers to TRGCDCWireHitMC
|
private |
pointer to mother TRGCDCTrackMC