1 #ifndef __StEEmcTower_h__
2 #define __StEEmcTower_h__
4 #include "StEEmcElement.h"
10 typedef std::vector<StEEmcTower*> StEEmcTowerPtrVec_t;
100 typedef std::vector<StEEmcTower> StEEmcTowerVec_t;
Int_t numberOfNeighbors() const
get the number of neighboring towers
Bool_t isNeighbor(const StEEmcTower &t) const
Int_t index() const
Returns index of this tower, pre- or postshower element.
StEEmcTower()
Constructor.
StEEmcTowerPtrVec_t mNeighbors
void neighbor(StEEmcTower *n)
add a tower to list of neighbors
Float_t et() const
Returns the "E_T" response of the tower.
Float_t energy() const
Return the EM energy (towers) or energy deposit for this element (SMD,pre,post). If a fail bit is set...
Int_t etabin() const
Returns the etabin of this tower, pre- or postshower element.
Int_t subsector() const
Returns subsector of this tower, pre- or postshower element.
void print() const
Print a summary of this tower.
void printLine() const
Print a one line summary of this tower.
Base class for representing tower, preshower and postshower elements.
Bool_t operator<(const StEEmcTower &other) const
A tower is "less than" another tower if its energy is less than it.
Int_t sector() const
Returns sector of this tower, pre- or postshower element.
Float_t mET
Equivalent transverse energy, assuming a vertex of 0,0,0.
Int_t layer() const
Returns layer of this tower element, [0-4]=[TPQR].
Int_t phibin() const
Returns the phibin of this tower.
virtual ~StEEmcTower()
Destructor.
Base class for EEMC detectors.
void energy(Float_t e)
Set the energy (adc-ped+0.5)/gain for this element.
ClassDef(StEEmcTower, 1)
Makes class available to root.