3 #ifndef STAR_EEmcTTDisplay
4 #define STAR_EEmcTTDisplay
6 #include "StEEmcUtil/EEmcGeom/EEmcGeomSimple.h"
44 return AddTower(volumeName(sec,sub,eta));
63 Bool_t
AddTrack(Double_t x, Double_t y, Double_t z,
64 Double_t px, Double_t py, Double_t pz,
65 Double_t qB, Double_t zMin=0.0, Double_t zMax=0.0);
80 void Draw (
const Option_t* option =
"");
84 void Clear(
const Option_t* option =
"");
120 void initGeometry(
const char *topName);
127 char *volumeName(
int sec,
int sub=-1,
int eta=-1);
131 char *volumeName(
const EEmcTower& tower);
137 bool mShowExtrapolatedTracks;
Bool_t AddMatch(EEmcTTMatch &tmatch)
double GetMagneticField()
returns STAR magnetic fiels in Tesla
void Out(ostream &out, EEmcTTMatch &tmatch)
bool GetShowExtrapolatedTracks()
void SetMagneticField(double B)
Bool_t AddTower(const char *tile)
EEmcTTDisplay(const char *name="eemc")
void Draw(const Option_t *option="")
TGeoVolume * operator()()
returns top EEMC TGeoVolume
void Clear(const Option_t *option="")
void SetShowExtrapolatedTracks(bool f)
~EEmcTTDisplay()
the destructor
EEmc Tower and Track Display class.
EEmcTTMatch class contains results of TPC track to EEMC tower matching.
TGeoVolume * GetVolume()
returns top TGeoVolume
Bool_t AddTrack(Double_t x, Double_t y, Double_t z, Double_t px, Double_t py, Double_t pz, Double_t qB, Double_t zMin=0.0, Double_t zMax=0.0)
EEmcTower holds information about an EEMC tower 'hit'.
Bool_t AddTower(int sec, int sub, int eta)