BOSS 6.6.4.p01
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. | |
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. | |
Friends | |
void | TMDC::updateMC (void) |
A class to represent a GEN_HEPEVT particle in tracking.
Definition at line 37 of file TTrackHEP.h.
|
virtual |
|
inline |
returns a pointer to i'th child.
Definition at line 146 of file TTrackHEP.h.
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.
|
inline |
returns a pointer to Gen_hepevt.
Definition at line 184 of file TTrackHEP.h.
Referenced by TTrackManager::saveMCTables().
|
inlinestatic |
returns a pointer to TTrackHEP of given Gen_hepevt.
Definition at line 164 of file TTrackHEP.h.
Referenced by TMDCWireHitMC::TMDCWireHitMC().
|
inline |
returns a list of TMDCWireHitMC.
Definition at line 172 of file TTrackHEP.h.
|
inline |
returns an id started from 0.
Definition at line 122 of file TTrackHEP.h.
Referenced by Dump(), TMDCWireHit::dump(), dump(), hep(), TLine0::refine(), and TMLine::refine().
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 TTrackHEP.h.
|
inline |
returns name.
Definition at line 178 of file TTrackHEP.h.
|
inline |
|
inline |
returns particle type.
Definition at line 134 of file TTrackHEP.h.
Referenced by TPerfectFinder::doit(), and dump().
|
inline |
returns status.
Definition at line 128 of file TTrackHEP.h.
|
inline |
|
friend |