26 std::vector<HcalNoiseHPD>::const_iterator maxit =
hpds_.end();
27 double maxenergy = -99999999.;
28 for (std::vector<HcalNoiseHPD>::const_iterator it =
hpds_.begin(); it !=
hpds_.end(); ++it) {
29 double tempenergy = it->recHitEnergy();
30 if (tempenergy > maxenergy) {
31 maxenergy = tempenergy;
49 for (
unsigned int i = firstts;
i < firstts + 2 && !
allCharge_.empty();
i++)
56 for (
unsigned int i = firstts;
i < firstts + 3 && !
allCharge_.empty();
i++)
63 for (
unsigned int i = 0;
i <
hpds_.size();
i++)
70 for (
unsigned int i = 0;
i <
hpds_.size();
i++)
78 for (
unsigned int i = 0;
i <
hpds_.size();
i++)
85 for (
unsigned int i = 0;
i <
hpds_.size();
i++)
92 for (
unsigned int i = 0;
i <
hpds_.size();
i++) {
93 double temptime =
hpds_[
i].minRecHitTime(threshold);
94 if (temptime < mintime)
102 for (
unsigned int i = 0;
i <
hpds_.size();
i++) {
103 double temptime =
hpds_[
i].maxRecHitTime(threshold);
104 if (temptime > maxtime)
112 for (
unsigned int i = 0;
i <
hpds_.size();
i++)
119 for (
unsigned int i = 0;
i <
hpds_.size();
i++)
128 for (towerset_t::const_iterator it = twrs.begin(); it != twrs.end(); ++it) {
129 h += it->hadEnergy();
138 for (towerset_t::const_iterator it = twrs.begin(); it != twrs.end(); ++it) {
148 for (towerset_t::const_iterator it = twrs.begin(); it != twrs.end(); ++it) {
149 e += it->hadEnergy() + it->emEnergy();
158 for (towerset_t::const_iterator it = twrs.begin(); it != twrs.end(); ++it) {
159 h += it->hadEnergy();
162 return (e +
h) == 0 ? 999 : e / (e +
h);
167 for (std::vector<HcalNoiseHPD>::const_iterator it1 =
hpds_.begin(); it1 !=
hpds_.end(); ++it1) {
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
int numRecHitsFailR45(double threshold=1.5) const
float allChargeHighest3TS(unsigned int firstts=4) const
float allChargeHighest2TS(unsigned int firstts=4) const
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