StRoot
1
|
EEmcTTMatch class contains results of TPC track to EEMC tower matching. More...
Public Member Functions | |
EEmcTTMatch () | |
the constructor | |
~EEmcTTMatch () | |
the destructor | |
void | Clear (Option_t *opt) |
clears list of matches | |
void | Add (EEmcTower *t) |
adds tower data | |
void | Add (StMuTrack *t) |
adds a track to list of matches | |
EEmcTower * | Tower () |
returns a tower data | |
TList * | Tracks () |
returns a list of matched tracks | |
Int_t | Matches () |
returns number of matched tracks | |
ostream & | Out (ostream &out) const |
Static Public Member Functions | |
static Bool_t | ExtrapolateToZ (const StMuTrack *track, const double z, TVector3 &r) |
given track and position z return TVector3 with a More... | |
EEmcTTMatch class contains results of TPC track to EEMC tower matching.
The contents of a EEmcTTMatch is a pointer to EEmcTower object and a list of StMuTrack objects that fulfilled certain matching criteria.
// assume that tmatch is of type EEmcTTMatch* EEmcTower *tower =tmatch->Tower(); StMuTrack *track =NULL; TIter nextTrack(tmatch->Tracks()); while((track=(StMuTrack *)nextTrack())) { // do something with tracks }
Definition at line 22 of file EEmcTTMatch.h.
|
static |
given track and position z return TVector3 with a
extrapolate given track to depth z
track | a pointer to StMuTrack |
z | depth to extrapolate to |
r | resulting 3-d vector |
Definition at line 104 of file EEmcTTMatch.cxx.
References StMuTrack::helix(), and StHelix::origin().
Referenced by EEmcTTMMaker::Make().
ostream & EEmcTTMatch::Out | ( | ostream & | out | ) | const |
prints itself to a ostream
out | ostream reference |
Definition at line 122 of file EEmcTTMatch.cxx.