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;
188 total += (*it)->hadEnergy();
196 total += (*it)->emEnergy();
204 total += (*it)->emEnergy()+(*it)->hadEnergy();
212 e += (*it)->emEnergy();
213 h += (*it)->hadEnergy();
215 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
edm::RefVector< HBHERecHitCollection > rechits_
static const unsigned OFF_TDC_TIME
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
double caloTowerEmE(void) const
constexpr bool getBit(const uint32_t u, const unsigned bitnum)
double caloTowerHadE(void) const
edm::RefVector< CaloTowerCollection > calotowers_
const edm::RefVector< CaloTowerCollection > caloTowers(void) const
double caloTowerEmFraction(void) const
static const unsigned OFF_COMBINED
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