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();
130 if(energy>=threshold) total+=energy;
140 float time=(*it)->time();
141 if(mintime>time) mintime=
time;
151 float time=(*it)->time();
152 if(maxtime<time) maxtime=
time;
184 total += (*it)->hadEnergy();
192 total += (*it)->emEnergy();
200 total += (*it)->emEnergy()+(*it)->hadEnergy();
208 e += (*it)->emEnergy();
209 h += (*it)->hadEnergy();
211 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
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
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
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