17 idnumber_(0), hpds_(4),
40 std::vector<HcalNoiseHPD>::const_iterator maxit=
hpds_.end();
41 double maxenergy=-99999999.;
42 for(std::vector<HcalNoiseHPD>::const_iterator it=
hpds_.begin(); it!=
hpds_.end(); ++it) {
43 double tempenergy=it->recHitEnergy();
44 if(tempenergy>maxenergy) {
68 for(
unsigned int i=firstts;
i<firstts+2 &&
allCharge_.size();
i++)
76 for(
unsigned int i=firstts;
i<firstts+3 &&
allCharge_.size();
i++)
85 for(
unsigned int i=0;
i<
hpds_.size();
i++)
93 for(
unsigned int i=0;
i<
hpds_.size();
i++)
102 for(
unsigned int i=0;
i<
hpds_.size();
i++)
110 for(
unsigned int i=0;
i<
hpds_.size();
i++)
118 for(
unsigned int i=0;
i<
hpds_.size();
i++) {
119 double temptime=
hpds_[
i].minRecHitTime(threshold);
120 if(temptime<mintime) mintime=temptime;
128 for(
unsigned int i=0;
i<
hpds_.size();
i++) {
129 double temptime=
hpds_[
i].maxRecHitTime(threshold);
130 if(temptime>maxtime) maxtime=temptime;
138 for(
unsigned int i=0;
i<
hpds_.size();
i++)
146 for(
unsigned int i=0;
i<
hpds_.size();
i++)
156 for(towerset_t::const_iterator it=twrs.begin(); it!=twrs.end(); ++it) {
157 h += it->hadEnergy();
167 for(towerset_t::const_iterator it=twrs.begin(); it!=twrs.end(); ++it) {
178 for(towerset_t::const_iterator it=twrs.begin(); it!=twrs.end(); ++it) {
179 e += it->hadEnergy() + it->emEnergy();
189 for(towerset_t::const_iterator it=twrs.begin(); it!=twrs.end(); ++it) {
190 h += it->hadEnergy();
193 return (e+
h)==0 ? 999 : e/(e+
h);
199 for(std::vector<HcalNoiseHPD>::const_iterator it1=
hpds_.begin(); it1!=
hpds_.end(); ++it1) {
int numRecHitsFailR45(double threshold=1.5) const
float allChargeHighest3TS(unsigned int firstts=4) const
float allChargeHighest2TS(unsigned int firstts=4) const
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
int numRecHits(double threshold=1.5) const
std::vector< HcalNoiseHPD >::const_iterator maxHPD(double threshold=1.5) const
const_iterator end() const
Termination of iteration.
const_iterator begin() const
Initialize an iterator over the RefVector.
double caloTowerEmE(void) const
double caloTowerTotalE(void) const
double recHitEnergy(double theshold=1.5) const
float allChargeTotal(void) const
std::vector< HcalNoiseHPD > hpds_
double caloTowerHadE(void) const
std::set< CaloTower, twrcomp > towerset_t
double caloTowerEmFraction(void) const
std::vector< float > allCharge_
double minRecHitTime(double threshold=20.0) const
void uniqueTowers(towerset_t &twrs_) const
int totalZeros(void) const
double recHitEnergyFailR45(double threshold=1.5) const
const std::vector< HcalNoiseHPD > HPDs(void) const
double maxRecHitTime(double threshold=20.0) const
const std::vector< float > allCharge(void) const