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++) {
102 for (
unsigned int i = 0;
i <
hpds_.size();
i++) {
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) {
void uniqueTowers(towerset_t &twrs_) const
double recHitEnergy(double theshold=1.5) const
double caloTowerEmFraction(void) const
int totalZeros(void) const
int numRecHits(double threshold=1.5) const
float allChargeTotal(void) const
double minRecHitTime(double threshold=20.0) const
double maxRecHitTime(double threshold=20.0) const
float allChargeHighest3TS(unsigned int firstts=4) const
std::vector< HcalNoiseHPD > hpds_
double caloTowerHadE(void) const
float allChargeHighest2TS(unsigned int firstts=4) const
std::set< CaloTower, twrcomp > towerset_t
std::vector< float > allCharge_
double caloTowerEmE(void) const
double caloTowerTotalE(void) const
const_iterator end() const
Termination of iteration.
int numRecHitsFailR45(double threshold=1.5) const
const std::vector< HcalNoiseHPD > HPDs(void) const
const std::vector< float > allCharge(void) const
std::vector< HcalNoiseHPD >::const_iterator maxHPD(double threshold=1.5) const
const_iterator begin() const
Initialize an iterator over the RefVector.
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
double recHitEnergyFailR45(double threshold=1.5) const