Main Page | Class List | File List | Class Members | Related Pages

EEmcTTMatch Class Reference

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

List of all members.

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

Bool_t ExtrapolateToZ (const StMuTrack *track, const double z, TVector3 &r)
 given track and position z return TVector3 with a


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
  } 
  


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:
track a pointer to StMuTrack
z depth to extrapolate to
r resulting 3-d vector

ostream & EEmcTTMatch::Out ostream &  out  )  const
 

prints itself to a ostream

Parameters:
out ostream reference


Generated on Thu Jun 3 17:02:37 2004 for Tower to Track Match Maker by doxygen 1.3.5