|
double | bit () |
|
double | CalcThreshold (double abs_energy, const std::vector< double > ¶ms) |
|
std::vector< double > | GetLong_Energy_Thresh () |
|
std::vector< double > | GetLong_ET_Thresh () |
|
std::vector< double > | GetLong_R () |
|
std::vector< double > | GetShort_Energy_Thresh () |
|
std::vector< double > | GetShort_ET_Thresh () |
|
std::vector< double > | GetShort_R () |
|
| HcalHF_PETalgorithm () |
|
| HcalHF_PETalgorithm (const std::vector< double > &short_R, const std::vector< double > &short_Energy, const std::vector< double > &short_ET, const std::vector< double > &long_R, const std::vector< double > &long_Energy, const std::vector< double > &long_ET, int HcalAcceptSeverityLevel, const std::vector< double > &short_R_29, const std::vector< double > &long_R_29) |
|
void | HFSetFlagFromPET (HFRecHit &hf, HFRecHitCollection &rec, const HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity) |
|
void | SetLong_Energy_Thresh (const std::vector< double > &x) |
|
void | SetLong_ET_Thresh (const std::vector< double > &x) |
|
void | SetLong_R (const std::vector< double > &x) |
|
void | SetShort_Energy_Thresh (const std::vector< double > &x) |
|
void | SetShort_ET_Thresh (const std::vector< double > &x) |
|
void | SetShort_R (const std::vector< double > &x) |
|
| ~HcalHF_PETalgorithm () |
|
Class evaluates the ratio |(L-S)/(L+S)| for a given cell, and flags the cell if the threshold exceeds a given maximum value R(Energy). Each cell must also pass ieta-dependent energy and ET cuts to be considered for flagging.
- Author
- J. Temple and D. Ferencek
Definition at line 21 of file HcalHF_PETalgorithm.h.
Definition at line 67 of file HcalHF_PETalgorithm.cc.
References funct::abs(), CalcThreshold(), LEDCalibrationChannels::depth, HcalSeverityLevelComputer::dropChannel(), edm::SortedCollection< T, SORT >::end(), HCALHighEnergyHPDFilter_cfi::energy, ET, HLT_2023v12_cff::eta1, HLT_2023v12_cff::eta2, HcalTopology::etaRange(), EnergyCorrector::etas, edm::SortedCollection< T, SORT >::find(), HcalSeverityLevelComputer::getSeverityLevel(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), HcalAcceptSeverityLevel_, HcalForward, photonIsolationHIProducer_cfi::hf, HcalCaloFlagLabels::HFLongShort, HcalCaloFlagLabels::HFPET, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, long_Energy_Thresh, long_ET_Thresh, long_R, long_R_29, DetId::rawId(), short_Energy_Thresh, short_ET_Thresh, short_R, short_R_29, and HcalCondObjectContainerBase::topo().
Referenced by HcalHitReconstructor::produce().
81 double ET =
energy / fabs(cosh(fEta));
84 double ETthresh = 0, Energythresh = 0;
90 }
else if (
depth == 2)
96 if (
energy < Energythresh ||
ET < ETthresh) {
126 double RatioThresh = 0;
139 if (Ratio <= RatioThresh) {
std::vector< double > long_ET_Thresh
std::vector< T >::const_iterator const_iterator
std::vector< double > long_Energy_Thresh
std::vector< double > short_R
const Item * getValues(DetId fId, bool throwOnFail=true) const
const HcalTopology * topo() const
std::vector< double > long_R
std::pair< double, double > etaRange(HcalSubdetector subdet, int ieta) const
Abs< T >::type abs(const T &t)
double CalcThreshold(double abs_energy, const std::vector< double > ¶ms)
std::vector< double > long_R_29
uint32_t getValue() const
const_iterator end() const
int HcalAcceptSeverityLevel_
constexpr uint32_t rawId() const
get the raw id
std::vector< double > short_ET_Thresh
std::vector< double > short_Energy_Thresh
iterator find(key_type k)
int getSeverityLevel(const DetId &myid, const uint32_t &myflag, const uint32_t &mystatus) const
std::vector< double > short_R_29
bool dropChannel(const uint32_t &mystatus) const