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

EEmcTTMatch.h

00001 // Hey Emacs this is -*-c++-*-
00002 // $Id: EEmcTTMatch.h,v 1.4 2004/05/14 01:47:22 zolnie Exp $
00003 #ifndef STAR_EEmcTTMatch
00004 #define STAR_EEmcTTMatch
00005 
00006 
00007 #include <ostream>
00008 
00009 
00010 #include "TObject.h"
00011 #include "TVector3.h"
00012 
00013 
00014 #if !defined(ST_NO_NAMESPACES)
00015 using std::ostream;
00016 #endif
00017 
00018 class StMuTrack;
00019 class EEmcTower;
00020 
00021 
00022 class EEmcTTMatch : public TObject {
00023 public:
00025   EEmcTTMatch();
00027   ~EEmcTTMatch();
00028 
00029 
00031   void    Clear(Option_t *opt);
00033   void    Add(EEmcTower *t);
00035   void    Add(StMuTrack *t);
00037   EEmcTower *Tower()   { return mTower;   }
00039   TList     *Tracks()  { return mTracks;  }
00041   Int_t      Matches();
00042 
00043 
00046   ostream& Out(ostream &out ) const; 
00047 
00052   static  Bool_t  ExtrapolateToZ    ( const StMuTrack *track , const double  z, TVector3 &r); 
00053 
00054 private:
00056   EEmcTower *mTower;   //
00058   TList     *mTracks;  //
00059 
00060 public:
00061 
00062   ClassDef(EEmcTTMatch, 2)   // 
00063 
00064 };
00065 
00066 ostream&  operator<<(ostream &out, const StMuTrack    &t  );  
00067 ostream&  operator<<(ostream &out, const EEmcTTMatch  &m  );
00068 
00069 #endif

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