StRoot
1
|
Base class for describing an endcap SMD strip. More...
Public Member Functions | |
StEEmcStrip () | |
Constructor. | |
virtual | ~StEEmcStrip () |
Destructor. | |
void | sector (Int_t s) |
Sets the sector for this SMD strip. | |
void | plane (Int_t p) |
Sets the plane for this SMD strip, 0=U, 1=V. | |
void | index (Int_t i) |
Sets the index for this SMD strip, 0..287. | |
Int_t | sector () const |
Returns the sector containing this strip. | |
Int_t | plane () const |
Returns the plane containing this strip. | |
Int_t | index () const |
Returns the index containing this strip. | |
void | print () const |
Prints information about strip. | |
Bool_t | operator< (const StEEmcStrip &other) const |
A strip is "less than" another strip if its energy is less. | |
Bool_t | operator== (const StEEmcStrip &other) const |
A strip is "equal to" another strip if they have the same StEEmcElement::mIndex. | |
void | sector (Int_t s) |
Sets the sector for this SMD strip. | |
void | plane (Int_t p) |
Sets the plane for this SMD strip, 0=U, 1=V. | |
void | index (Int_t i) |
Sets the index for this SMD strip, 0..287. | |
Int_t | sector () |
Returns the sector containing this strip. | |
Int_t | plane () |
Returns the plane containing this strip. | |
Int_t | index () |
Returns the index containing this strip. | |
void | print () |
Bool_t | operator< (const StEEmcStrip &other) const |
Public Member Functions inherited from StEEmcElement | |
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 (StEEmcStrip, 1) | |
ClassDef (StEEmcStrip, 1) | |
Protected Member Functions inherited from StEEmcElement | |
ClassDef (StEEmcElement, 1) | |
Raw hit from StEvent. | |
ClassDef (StEEmcElement, 1) | |
raw hit from StEvent, used for providing StEmcClusters | |
Protected Attributes | |
Int_t | mSector |
Int_t | mPlane |
Int_t | mIndex |
Protected Attributes inherited from StEEmcElement | |
Float_t | mRaw |
Float_t | mAdc |
Float_t | mEnergy |
unsigned | mStat |
unsigned | mFail |
TString | mName |
StEmcRawHit * | mstRawHit |
Base class for describing an endcap SMD strip.
This class inherits adc, energy, etc... from StEEmcElement. In addition, the index of the strip in the plane, the id of the plane and the sector are stored.
Definition at line 8 of file StEEmcStrip.h.