17 : idnumber_(0), totalZeros_(0), maxZeros_(0),
54 for(
unsigned int i=firstts;
i<firstts+2 &&
i<
bigCharge_.size();
i++)
62 for(
unsigned int i=firstts;
i<firstts+3 &&
i<
bigCharge_.size();
i++)
116 float energy=(*it)->energy();
117 if(energy>=threshold) total+=
energy;
124 float mintime=9999999;
127 float time=(*it)->time();
128 if(mintime>time) mintime=
time;
135 float maxtime=-9999999;
138 float time=(*it)->time();
139 if(maxtime<time) maxtime=
time;
161 total += (*it)->hadEnergy();
169 total += (*it)->emEnergy();
177 total += (*it)->emEnergy()+(*it)->hadEnergy();
185 e += (*it)->emEnergy();
186 h += (*it)->hadEnergy();
188 return (
e+h)!=0 ?
e/(
e+
h) : 999.;
float maxRecHitTime(float threshold=10.0) const
float big5ChargeHighest3TS(unsigned int firstts=4) 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
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_
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
const edm::RefVector< CaloTowerCollection > caloTowers(void) const
double caloTowerEmFraction(void) 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