StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StEEmcStrip Class Reference

Base class for describing an endcap SMD strip. More...

Inheritance diagram for StEEmcStrip:
StEEmcElement StEEmcElement

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.
 
StEmcRawHitstemc ()
 Returns pointer to StEmcRawHit.
 
const StEmcRawHitstemc () 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)
 
StEmcRawHitstemc ()
 
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
 
StEmcRawHitmstRawHit
 

Detailed Description

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.


The documentation for this class was generated from the following files: