
Public Member Functions | |
| void | raw (Float_t r) |
| Set the raw ADC for this element. | |
| void | adc (Float_t a) |
| Set the pedestal-subtracted ADC for this element. | |
| void | energy (Float_t e) |
| Set the energy (adc-ped+0.5)/gain for this element. | |
| void | stat (unsigned s) |
| Set a status bit for this element. | |
| void | fail (unsigned f) |
| Set a fail bit for this element. | |
| void | name (const Char_t *n) |
| Set the name for this element. | |
| Float_t | raw () const |
| Return raw ADC for this element. | |
| Float_t | adc () const |
| Return the pedestal-subtracted ADC for this element. | |
| Float_t | energy () const |
| Return the EM energy (towers) or energy deposit for this element (SMD,pre,post). If a fail bit is set, will return 0. | |
| unsigned | stat () const |
| Return the status bit for this element. | |
| unsigned | fail () const |
| Return the fail bit for this element. | |
| const Char_t * | name () const |
| Return the name of this element. | |
| void | stemc (StEmcRawHit *h) |
| Sets pointer to the StEmcRawHit when processing an StEvent file. | |
| StEmcRawHit * | stemc () |
| Returns pointer to StEmcRawHit. | |
| const StEmcRawHit * | stemc () const |
| virtual void | Clear (Option_t *opts="") |
| Clears the element. | |
| void | raw (Float_t r) |
| Set the raw ADC for this element. | |
| void | adc (Float_t a) |
| Set the pedestal-subtracted ADC for this element. | |
| void | energy (Float_t e) |
| Set the energy (adc-ped+0.5)/gain for this element. | |
| void | stat (unsigned s) |
| Set a status bit for this element. | |
| void | fail (unsigned f) |
| Set a fail bit for this element. | |
| void | name (const Char_t *n) |
| Set the name for this element. | |
| Float_t | raw () |
| Return raw ADC for this element. | |
| Float_t | raw () const |
| Return raw ADC for this element. | |
| Float_t | adc () |
| Return the pedestal-subtracted ADC for this element. | |
| Float_t | adc () const |
| Return the pedestal-subtracted ADC for this element. | |
| Float_t | energy () |
| Return the EM energy (towers) or energy deposit for this element (SMD,pre,post). If a fail bit is set, will return 0. | |
| Float_t | energy () const |
| Return the EM energy (towers) or energy deposit for this element (SMD,pre,post). If a fail bit is set, will return 0. | |
| unsigned | stat () |
| Return the status bit for this element. | |
| unsigned | fail () |
| Return the fail bit for this element. | |
| const Char_t * | name () |
| Return the name of this element. | |
| void | stemc (StEmcRawHit *h) |
| StEmcRawHit * | stemc () |
| void | Clear (Option_t *opts="") |
Protected Member Functions | |
| ClassDef (StEEmcElement, 1) | |
| Raw hit from StEvent. | |
| ClassDef (StEEmcElement, 1) | |
| raw hit from StEvent, used for providing StEmcClusters | |
Protected Attributes | |
| Float_t | mRaw |
| Float_t | mAdc |
| Float_t | mEnergy |
| unsigned | mStat |
| unsigned | mFail |
| TString | mName |
| StEmcRawHit * | mstRawHit |
This class provides the common functionality for EEMC detectors. Each detector will have a raw adc value, ped-subtracted adc value, gain-corrected adc value (aka energy) as well as status bits (fail and stat) and a pointer to the corresponding StEmcRawHit when processing StEvent files.
Definition at line 9 of file StEEmcElement.h.
Float_t StEEmcElement::mAdc [protected] |
Definition at line 53 of file StEEmcElement.h.
Referenced by adc(), and StEEmcTower::StEEmcTower().
Float_t StEEmcElement::mEnergy [protected] |
Definition at line 54 of file StEEmcElement.h.
Referenced by energy(), and StEEmcTower::StEEmcTower().
unsigned StEEmcElement::mFail [protected] |
Definition at line 56 of file StEEmcElement.h.
Referenced by energy(), fail(), and StEEmcTower::StEEmcTower().
TString StEEmcElement::mName [protected] |
Definition at line 57 of file StEEmcElement.h.
Referenced by StEEmcTower::index(), StEEmcStrip::index(), name(), StEEmcTower::print(), StEEmcTower::printLine(), and StEEmcTower::StEEmcTower().
Float_t StEEmcElement::mRaw [protected] |
Definition at line 52 of file StEEmcElement.h.
Referenced by raw(), and StEEmcTower::StEEmcTower().
unsigned StEEmcElement::mStat [protected] |
Definition at line 55 of file StEEmcElement.h.
Referenced by stat(), and StEEmcTower::StEEmcTower().
1.5.9