20 double shortR,
double shortET,
double shortE,
double longR,
double longET,
double longE) {
37 int ieta, iphi,
depth;
46 ieta = iHF->id().ieta();
49 double eta1 = etas.first;
50 double eta2 = etas.second;
51 coshEta = fabs(cosh(0.5 * (eta1 + eta2)));
56 depth = iHF->id().depth();
79 iphi = iHF->id().iphi();
92 if (iHF2->id().ieta() != ieta)
94 if (iHF2->id().iphi() != iphi)
96 if (iHF2->id().depth() ==
depth)
111 ratio = (en - en2) / (en + en2);
double long_thresholdEnergy_
constexpr uint32_t rawId() const
get the raw id
const Item * getValues(DetId fId, bool throwOnFail=true) const
double long_HFlongshortratio_
double short_thresholdET_
HcalHFStatusBitFromRecHits()
Abs< T >::type abs(const T &t)
bool dropChannel(const uint32_t &mystatus) const
std::vector< T >::iterator iterator
const_iterator end() const
~HcalHFStatusBitFromRecHits()
double short_HFlongshortratio_
std::pair< double, double > etaRange(HcalSubdetector subdet, int ieta) const
void hfSetFlagFromRecHits(HFRecHitCollection &rec, HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity)
double short_thresholdEnergy_
uint32_t getValue() const
const_iterator begin() const
const HcalTopology * topo() const