CGEM BOSS 6.6.5.f
BESIII Offline Software System
|
A class to represent a GEN_HEPEVT particle in tracking. More...
#include <TTrackHEP.h>
Public Member Functions | |
virtual | ~TTrackHEP () |
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. | |
TTrackHEP * | mother (void) const |
returns a pointer to a mother. | |
TTrackHEP * | child (unsigned i) const |
returns a pointer to i'th child. | |
const HepLorentzVector & | p (void) const |
returns momentum vector. | |
const 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. | |
const AList< TMDCWireHitMC > & | hits (void) const |
returns a list of TMDCWireHitMC. | |
const Gen_hepevt * | gen (void) const |
returns a pointer to Gen_hepevt. | |
virtual | ~TTrackHEP () |
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. | |
TTrackHEP * | mother (void) const |
returns a pointer to a mother. | |
TTrackHEP * | child (unsigned i) const |
returns a pointer to i'th child. | |
const HepLorentzVector & | p (void) const |
returns momentum vector. | |
const 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. | |
const AList< TMDCWireHitMC > & | hits (void) const |
returns a list of TMDCWireHitMC. | |
const Gen_hepevt * | gen (void) const |
returns a pointer to Gen_hepevt. | |
Static Public Member Functions | |
static const AList< TTrackHEP > & | list (void) |
returns a list of TTrackHEP's. | |
static TTrackHEP * | hep (const Gen_hepevt *) |
returns a pointer to TTrackHEP of given Gen_hepevt. | |
static const AList< TTrackHEP > & | list (void) |
returns a list of TTrackHEP's. | |
static TTrackHEP * | hep (const Gen_hepevt *) |
returns a pointer to TTrackHEP of given Gen_hepevt. | |
Friends | |
void | TMDC::updateMC (void) |
void | TMDC::updateMC (void) |
A class to represent a GEN_HEPEVT particle in tracking.
Definition at line 37 of file InstallArea/include/TrkReco/TrkReco/TTrackHEP.h.
|
virtual |
|
virtual |
Destructor.
|
inline |
returns a pointer to i'th child.
Definition at line 146 of file InstallArea/include/TrkReco/TrkReco/TTrackHEP.h.
TTrackHEP * TTrackHEP::child | ( | unsigned | i | ) | const |
returns a pointer to i'th child.
void TTrackHEP::dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
dumps debug information.
Definition at line 59 of file TTrackHEP.cxx.
void TTrackHEP::dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
dumps debug information.
|
inline |
returns a pointer to Gen_hepevt.
Definition at line 184 of file InstallArea/include/TrkReco/TrkReco/TTrackHEP.h.
Referenced by TTrackManager::saveMCTables().
const Gen_hepevt * TTrackHEP::gen | ( | void | ) | const |
returns a pointer to Gen_hepevt.
|
inlinestatic |
returns a pointer to TTrackHEP of given Gen_hepevt.
Definition at line 164 of file InstallArea/include/TrkReco/TrkReco/TTrackHEP.h.
Referenced by TMDCWireHitMC::TMDCWireHitMC().
|
static |
returns a pointer to TTrackHEP of given Gen_hepevt.
|
inline |
returns a list of TMDCWireHitMC.
Definition at line 172 of file InstallArea/include/TrkReco/TrkReco/TTrackHEP.h.
const AList< TMDCWireHitMC > & TTrackHEP::hits | ( | void | ) | const |
returns a list of TMDCWireHitMC.
|
inline |
returns an id started from 0.
Definition at line 122 of file InstallArea/include/TrkReco/TrkReco/TTrackHEP.h.
Referenced by Dump(), TMDCWireHit::dump(), dump(), hep(), TLine0::refine(), and TMLine::refine().
unsigned TTrackHEP::id | ( | void | ) | const |
returns an id started from 0.
returns a list of TTrackHEP's.
Definition at line 72 of file TTrackHEP.cxx.
Referenced by Links2HEP(), and TMDC::updateMC().
|
inline |
returns a pointer to a mother.
Definition at line 140 of file InstallArea/include/TrkReco/TrkReco/TTrackHEP.h.
TTrackHEP * TTrackHEP::mother | ( | void | ) | const |
returns a pointer to a mother.
|
inline |
returns name.
Definition at line 178 of file InstallArea/include/TrkReco/TrkReco/TTrackHEP.h.
std::string TTrackHEP::name | ( | void | ) | const |
returns name.
|
inline |
returns momentum vector.
Definition at line 152 of file InstallArea/include/TrkReco/TrkReco/TTrackHEP.h.
const HepLorentzVector & TTrackHEP::p | ( | void | ) | const |
returns momentum vector.
|
inline |
returns particle type.
Definition at line 134 of file InstallArea/include/TrkReco/TrkReco/TTrackHEP.h.
Referenced by TPerfectFinder::doit(), and dump().
int TTrackHEP::pType | ( | void | ) | const |
returns particle type.
|
inline |
returns status.
Definition at line 128 of file InstallArea/include/TrkReco/TrkReco/TTrackHEP.h.
int TTrackHEP::status | ( | void | ) | const |
returns status.
|
inline |
returns position vector.
Definition at line 158 of file InstallArea/include/TrkReco/TrkReco/TTrackHEP.h.
const Hep3Vector & TTrackHEP::v | ( | void | ) | const |
returns position vector.
|
friend |
|
friend |