StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
EEmcTTMatch Class Reference

EEmcTTMatch class contains results of TPC track to EEMC tower matching. More...

Inheritance diagram for EEmcTTMatch:

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
 
EEmcTowerTower ()
 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...
 

Detailed Description

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.

Author
Piotr A. Zolnierczuk
Date:
2004/05/14 01:47:22
Revision:
1.7

Example

// 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.

Member Function Documentation

Bool_t EEmcTTMatch::ExtrapolateToZ ( const StMuTrack track,
const double  z,
TVector3 &  r 
)
static

given track and position z return TVector3 with a

extrapolate given track to depth z

Parameters
tracka pointer to StMuTrack
zdepth to extrapolate to
rresulting 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

Parameters
outostream reference

Definition at line 122 of file EEmcTTMatch.cxx.


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