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

static 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
  } 
  

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

Referenced by EEmcTTMMaker::Make().

ostream & EEmcTTMatch::Out ( ostream &  out  )  const

prints itself to a ostream

Parameters:
out ostream reference

Definition at line 122 of file EEmcTTMatch.cxx.


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

Generated on Thu Feb 9 04:27:18 2012 for StRoot by  doxygen 1.5.9