
Public Member Functions | |
| EEmcTTDisplay (const char *name="eemc") | |
| ~EEmcTTDisplay () | |
| the destructor | |
| TGeoVolume * | operator() () |
| returns top EEMC TGeoVolume | |
| TGeoVolume * | GetVolume () |
| returns top TGeoVolume | |
| Bool_t | AddTower (const char *tile) |
| Bool_t | AddTower (int sec, int sub, int eta) |
| Bool_t | AddTower (const EEmcTower &tower) |
| 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) |
| Bool_t | AddTrack (const StMuTrack &track) |
| Bool_t | AddMatch (EEmcTTMatch &tmatch) |
| void | Draw (const Option_t *option="") |
| void | Clear (const Option_t *option="") |
| void | Out (ostream &out, EEmcTTMatch &tmatch) |
| void | Out (TString &out, EEmcTTMatch &tmatch) |
| void | SetMagneticField (double B) |
| double | GetMagneticField () |
| returns STAR magnetic fiels in Tesla | |
| void | SetShowExtrapolatedTracks (bool f) |
| bool | GetShowExtrapolatedTracks () |
Sample snapshot
[minor] speed of light redefined (should be taken from StarClassLibrary)
Definition at line 16 of file EEmcTTDisplay.h.
| EEmcTTDisplay::EEmcTTDisplay | ( | const char * | name = "eemc" |
) |
the constructor
| name | the top EEMC volume (TGeoVolume) label |
Definition at line 74 of file EEmcTTDisplay.cxx.
| Bool_t EEmcTTDisplay::AddMatch | ( | EEmcTTMatch & | tmatch | ) |
adds a tower with matched tracks to the list of displayed tower/tracks
| tmatch | a refence to EEmcTTMatchp |
Definition at line 266 of file EEmcTTDisplay.cxx.
References AddTower(), AddTrack(), EEmcTTMatch::Tower(), and EEmcTTMatch::Tracks().
| Bool_t EEmcTTDisplay::AddTower | ( | const EEmcTower & | tower | ) |
adds a tower to the list of displayed towers
| tower | a reference to EEmcTower |
Definition at line 219 of file EEmcTTDisplay.cxx.
References AddTower(), EEmcTower::Eta(), EEmcTower::Sec(), and EEmcTower::SubSec().
| Bool_t EEmcTTDisplay::AddTower | ( | int | sec, | |
| int | sub, | |||
| int | eta | |||
| ) | [inline] |
adds tower to the list
| sec | sector index [0,mNumSec) | |
| sub | subsector index [0,mNumSSec) | |
| eta | eta index [0,mNumEta) |
Definition at line 42 of file EEmcTTDisplay.h.
References AddTower().
| Bool_t EEmcTTDisplay::AddTower | ( | const char * | tile | ) |
adds a tower to the list of displayed towers
| tile | name (in the form of 05TC11) |
Definition at line 194 of file EEmcTTDisplay.cxx.
Referenced by AddMatch(), and AddTower().
| Bool_t EEmcTTDisplay::AddTrack | ( | const StMuTrack & | track | ) |
adds a track to the list of displayed tracks
| track | a refence to StMuTrack |
Definition at line 251 of file EEmcTTDisplay.cxx.
References AddTrack(), StMuTrack::firstPoint(), StMuTrack::helix(), and StMuTrack::lastPoint().
| Bool_t EEmcTTDisplay::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 | |||
| ) |
adds a track to the list of displayed tracks
| x | x-component of the track origin | |
| y | y-component of the track origin | |
| z | z-component of the track origin | |
| px | x-component of the track momentum | |
| py | y-component of the track momentum | |
| pz | z-component of the track momentum | |
| qB | sign sensitive product of the particle charge and magnetic field | |
| zMin | to BE DOCUMENTED | |
| zMax | to BE DOCUMENTED |
Definition at line 226 of file EEmcTTDisplay.cxx.
Referenced by AddMatch(), and AddTrack().
| void EEmcTTDisplay::Clear | ( | const Option_t * | option = "" |
) |
clears tower/track lists
| option | - not uset at the moment |
Definition at line 176 of file EEmcTTDisplay.cxx.
| void EEmcTTDisplay::Draw | ( | const Option_t * | option = "" |
) |
draws towers/tracks
| option | - not uset at the moment |
Definition at line 156 of file EEmcTTDisplay.cxx.
| bool EEmcTTDisplay::GetShowExtrapolatedTracks | ( | ) | [inline] |
gets a flag that controls how TPC trackcs are displayed, if f is true - tracks are plotted from vertex to endcap if f is false - tracks are plotted from first to last point in the track
Definition at line 114 of file EEmcTTDisplay.h.
| void EEmcTTDisplay::Out | ( | TString & | out, | |
| EEmcTTMatch & | tmatch | |||
| ) |
prints EEmcTTMatch information to a TString
| out | a reference to TString | |
| tmatch | a reference to struct EEmcTTMatch |
Definition at line 289 of file EEmcTTDisplay.cxx.
References EEmcTower::ADC(), StMuTrack::pt(), EEmcTTMatch::Tower(), and EEmcTTMatch::Tracks().
| void EEmcTTDisplay::Out | ( | ostream & | out, | |
| EEmcTTMatch & | tmatch | |||
| ) |
prints EEmcTTMatch information to an ostream
| out | a reference to std::ostream | |
| tmatch | a reference to struct EEmcTTMatch |
Definition at line 278 of file EEmcTTDisplay.cxx.
References EEmcTTMatch::Tower(), and EEmcTTMatch::Tracks().
| void EEmcTTDisplay::SetMagneticField | ( | double | B | ) | [inline] |
sets STAR magnetic field
| B | magnetic field (sign sensitive) in Tesla |
Definition at line 101 of file EEmcTTDisplay.h.
| void EEmcTTDisplay::SetShowExtrapolatedTracks | ( | bool | f | ) | [inline] |
sets a flag that controls how TPC trackcs are displayed, if f is true - tracks are plotted from vertex to endcap if f is false - tracks are plotted from first to last point in the track
| f | flag true/false |
Definition at line 109 of file EEmcTTDisplay.h.
1.5.9