Go to the documentation of this file.
20 double shortR,
double shortET,
double shortE,
double longR,
double longET,
double longE) {
46 ieta = iHF->id().ieta();
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_HFlongshortratio_
const Item * getValues(DetId fId, bool throwOnFail=true) const
double short_thresholdET_
double long_thresholdEnergy_
const_iterator begin() const
bool dropChannel(const uint32_t &mystatus) const
~HcalHFStatusBitFromRecHits()
uint32_t getValue() const
HcalHFStatusBitFromRecHits()
std::vector< T >::iterator iterator
const_iterator end() const
const HcalTopology * topo() const
double short_HFlongshortratio_
constexpr uint32_t rawId() const
get the raw id
void hfSetFlagFromRecHits(HFRecHitCollection &rec, HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity)
double short_thresholdEnergy_
std::pair< double, double > etaRange(HcalSubdetector subdet, int ieta) const
Abs< T >::type abs(const T &t)