17 : idnumber_(0), totalZeros_(0), maxZeros_(0),
54 for(
unsigned int i=firstts;
i<firstts+2 &&
i<
bigCharge_.size();
i++)
63 for(
unsigned int i=firstts;
i<firstts+3 &&
i<
bigCharge_.size();
i++)
117 const float energy=(*it)->eraw();
118 if(energy>=threshold) total+=
energy;
127 const float energy=(*it)->eraw();
129 if(energy>=threshold) total+=
energy;
136 float mintime=9999999;
139 float time=(*it)->time();
140 if(mintime>time) mintime=
time;
147 float maxtime=-9999999;
150 float time=(*it)->time();
151 if(maxtime<time) maxtime=
time;
182 total += (*it)->hadEnergy();
190 total += (*it)->emEnergy();
198 total += (*it)->emEnergy()+(*it)->hadEnergy();
206 e += (*it)->emEnergy();
207 h += (*it)->hadEnergy();
209 return (
e+h)!=0 ?
e/(
e+
h) : 999.;
float maxRecHitTime(float threshold=10.0) const
float big5ChargeHighest3TS(unsigned int firstts=4) const
float recHitEnergyFailR45(float threshold=1.5) const
std::vector< float > bigCharge_
std::vector< float > big5Charge_
const edm::RefVector< HBHERecHitCollection > recHits(void) const
const_iterator end() const
Termination of iteration.
const_iterator begin() const
Initialize an iterator over the RefVector.
edm::RefVector< HBHERecHitCollection > rechits_
float big5ChargeHighest2TS(unsigned int firstts=4) const
int numRecHits(float threshold=1.5) const
float bigChargeHighest2TS(unsigned int firstts=4) const
float bigChargeHighest3TS(unsigned int firstts=4) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
float big5ChargeTotal(void) const
float minRecHitTime(float threshold=10.0) const
void reserve(size_type n)
Reserve space for RefVector.
double caloTowerEmE(void) const
double caloTowerHadE(void) const
edm::RefVector< CaloTowerCollection > calotowers_
const edm::RefVector< CaloTowerCollection > caloTowers(void) const
double caloTowerEmFraction(void) const
int numRecHitsFailR45(float threshold=1.5) const
float recHitEnergy(float threshold=1.5) const
double caloTowerTotalE(void) const
const std::vector< float > big5Charge(void) const
int totalZeros(void) const
float bigChargeTotal(void) const
const std::vector< float > bigCharge(void) const