1 #include "StEEmcTower.h"
34 mstRawHit=other.mstRawHit;
41 std::cout <<
"--------------------------- StEEmcTower::print()" << std::endl;
42 std::cout <<
"name = " <<
mName << std::endl;
43 std::cout <<
"index = " <<
mIndex << std::endl;
44 std::cout <<
"energy = " <<
energy() << std::endl;
45 std::cout <<
"raw = " <<
raw() << std::endl;
46 std::cout <<
"adc = " <<
adc() << std::endl;
65 const Char_t *secs[]={
"01",
"02",
"03",
"04",
"05",
"06",
"07",
"08",
"09",
"10",
"11",
"12"};
66 const Char_t *subs[]={
"A",
"B",
"C",
"D",
"E"};
67 const Char_t *lays[]={
"T",
"P",
"Q",
"R",
"S"};
90 Int_t dphi = phi1 - phi2;
93 if ( TMath::Abs(dphi) <= 1 )
return true;
96 if ( phi1==59 ) phi1=-1;
97 if ( phi2==59 ) phi2=-1;
101 if ( TMath::Abs(dphi) <= 1 )
return true;
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
Float_t raw() const
Return raw 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...
Int_t etabin() const
Returns the etabin 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.
Float_t adc() const
Return the pedestal-subtracted ADC for this element.
Float_t mET
Equivalent transverse energy, assuming a vertex of 0,0,0.
Int_t phibin() const
Returns the phibin of this tower.