StRoot
1
|
EEmcTower holds information about an EEMC tower 'hit'. More...
Public Member Functions | |
EEmcTower () | |
the default constructor | |
EEmcTower (int s, int ss, int e, float adc=0.0, float ene=0.0) | |
the explicit constructor | |
EEmcTower (const char *label, float adc=0.0, float ene=0.0) | |
an explicit constructor that uses labels rather intigers More... | |
EEmcTower (const EEmcTower &t) | |
a copy constructor | |
~EEmcTower () | |
the destructor | |
float | ADC () const |
gets adc value associated with the tower (pedestal adjusted) | |
float | ADC (float d) |
sets adc value associated with the tower (pedestal adjusted) | |
float | dE () const |
gets calibrated energy loss value associated with the tower | |
float | dE (float e) |
sets calibrated energy loss value associated with the tower | |
int | Sec () const |
gets tower sector index, computer offset [0,....) | |
int | Sec (int s) |
sets tower sector index, computer offset [0,....) | |
int | SubSec () const |
gets tower subsector index, computer offset [0,....) | |
int | SubSec (int s) |
sets tower subsector index, computer offset [0,....) | |
int | Eta () const |
gets tower eta index, computer offset [0,....) | |
int | Eta (int e) |
sets tower eta index, computer offset [0,....) | |
int | SecLabel () const |
gets tower sector label, human offset [1..12] | |
int | SecLabel (int s) |
sets tower sector label, human offset [1..12] | |
int | SubSecLabel () const |
gets tower subsector label, human offset [A..E] | |
int | SubSecLabel (int s) |
sets tower subsector label, human offset [A..E] | |
int | EtaLabel () const |
gets tower eta label, human offset [1..12] | |
int | EtaLabel (int e) |
sets tower eta label, human offset [1..12] | |
const char * | TowerLabel () const |
returns tower label, e.g. "05TB09" | |
ostream & | Out (ostream &out) const |
print tower hit info in xml-like style | |
bool | operator== (const EEmcTower &t) |
compare two towers | |
bool | operator!= (const EEmcTower &t) |
compare two towers | |
EEmcTower holds information about an EEMC tower 'hit'.
EEmcTower holds information about an EEMC tower 'hit'. The information includes tower description (sector, subsector and eta), pedestal adjusted ADC value and (optionally) calibrated energy loss
Definition at line 17 of file EEmcTower.h.
EEmcTower::EEmcTower | ( | const char * | label, |
float | adc = 0.0 , |
||
float | ene = 0.0 |
||
) |
an explicit constructor that uses labels rather intigers
FIXME - assumed max tower label length.
Definition at line 40 of file EEmcTower.cxx.