1 #ifndef __StEEmcElement_h__
2 #define __StEEmcElement_h__
49 virtual void Clear(Option_t *opts=
"");
void stat(unsigned s)
Set a status bit for this element.
virtual void Clear(Option_t *opts="")
Clears the element.
Float_t raw() const
Return raw ADC for this element.
void name(const Char_t *n)
Set the name 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...
void raw(Float_t r)
Set the raw ADC for this element.
StEmcRawHit * stemc()
Returns pointer to StEmcRawHit.
void fail(unsigned f)
Set a fail bit for this element.
ClassDef(StEEmcElement, 1)
Raw hit from StEvent.
Float_t adc() const
Return the pedestal-subtracted ADC for this element.
unsigned stat() const
Return the status bit for this element.
void adc(Float_t a)
Set the pedestal-subtracted ADC for this element.
void stemc(StEmcRawHit *h)
Sets pointer to the StEmcRawHit when processing an StEvent file.
const Char_t * name() const
Return the name of this element.
Base class for EEMC detectors.
unsigned fail() const
Return the fail bit for this element.
void energy(Float_t e)
Set the energy (adc-ped+0.5)/gain for this element.