34 inline void EEmcElement_t::Clear(){ fail = 0; energy = 0; };
46 EEmcElement_t& getByBin( Int_t sec, Int_t sub, Int_t etabin );
49 const EEmcElement_t& getByBin( Int_t sec, Int_t sub, Int_t etabin )
const;
50 const EEmcElement_t& getByBin( Int_t phibin, Int_t etabin )
const;
60 return element[ idx ];
63 inline const EEmcElement_t& ETowEnergy_t::getByIdx( Int_t idx )
const{
64 return element[ idx ];
67 inline EEmcElement_t& ETowEnergy_t::getByBin( Int_t sec, Int_t sub, Int_t etabin ){
68 return element[ 12*( 5*sec + sub ) + etabin ];
71 inline const EEmcElement_t& ETowEnergy_t::getByBin( Int_t sec, Int_t sub, Int_t etabin )
const {
72 return element[ 12*( 5*sec + sub ) + etabin ];
75 inline EEmcElement_t& ETowEnergy_t::getByBin( Int_t phibin, Int_t etabin ){
76 return element[ 12*phibin + etabin ];
79 inline const EEmcElement_t& ETowEnergy_t::getByBin( Int_t phibin, Int_t etabin )
const {
80 return element[ 12*phibin + etabin ];
133 void Clear(
const Option_t* opt =
"" );
141 UInt_t nTowers, nStrips;