StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEmcElement.cxx
1 
17 #include "StEEmcElement.h"
18 
19 ClassImp(StEEmcElement);
20 
21 // ----------------------------------------------------------------------------
22 StEEmcElement::StEEmcElement()
23  : TObject()
24 {
25  stemc(0);
26 }
27 
28 // ----------------------------------------------------------------------------
29 void StEEmcElement::Clear(Option_t *opts)
30 {
31  raw(0.);
32  adc(0.);
33  energy(0.);
34  stat(0);
35  fail(0);
36  stemc(0);
37 }
virtual void Clear(Option_t *opts="")
Clears the element.
Float_t raw() const
Return raw ADC for this element.
Definition: StEEmcElement.h:30
Float_t energy() const
Return the EM energy (towers) or energy deposit for this element (SMD,pre,post). If a fail bit is set...
Definition: StEEmcElement.h:34
StEmcRawHit * stemc()
Returns pointer to StEmcRawHit.
Definition: StEEmcElement.h:45
Float_t adc() const
Return the pedestal-subtracted ADC for this element.
Definition: StEEmcElement.h:32
unsigned stat() const
Return the status bit for this element.
Definition: StEEmcElement.h:36
Base class for EEMC detectors.
Definition: StEEmcElement.h:9
unsigned fail() const
Return the fail bit for this element.
Definition: StEEmcElement.h:38