#include <HcalHFStatusBitFromRecHits.h>
Public Member Functions | |
double | bit () |
HcalHFStatusBitFromRecHits () | |
HcalHFStatusBitFromRecHits (double shortR, double shortET, double shortE, double longR, double longET, double longE) | |
void | hfSetFlagFromRecHits (HFRecHitCollection &rec, HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity) |
double | long_energythreshold () |
double | long_ETthreshold () |
double | long_hflongshortratio () |
void | set_long_energythreshold (double x) |
void | set_long_ETthreshold (double x) |
void | set_long_hflongshortratio (double x) |
void | set_short_energythreshold (double x) |
void | set_short_ETthreshold (double x) |
void | set_short_hflongshortratio (double x) |
double | short_energythreshold () |
double | short_ETthreshold () |
double | short_hflongshortratio () |
~HcalHFStatusBitFromRecHits () | |
Private Attributes | |
double | long_HFlongshortratio_ |
double | long_thresholdEnergy_ |
double | long_thresholdET_ |
double | short_HFlongshortratio_ |
double | short_thresholdEnergy_ |
double | short_thresholdET_ |
This class sets status bit in the status words for the revised CaloRecHit objets using comparisons between the rec hit energies of long and short fibers for a given HF (ieat, iphi)
Definition at line 18 of file HcalHFStatusBitFromRecHits.h.
HcalHFStatusBitFromRecHits::HcalHFStatusBitFromRecHits | ( | ) |
Full featured constructor for HB/HE and HO (HPD-based detectors)
Definition at line 9 of file HcalHFStatusBitFromRecHits.cc.
References long_HFlongshortratio_, long_thresholdEnergy_, long_thresholdET_, short_HFlongshortratio_, short_thresholdEnergy_, and short_thresholdET_.
HcalHFStatusBitFromRecHits::HcalHFStatusBitFromRecHits | ( | double | shortR, |
double | shortET, | ||
double | shortE, | ||
double | longR, | ||
double | longET, | ||
double | longE | ||
) |
Definition at line 19 of file HcalHFStatusBitFromRecHits.cc.
References long_HFlongshortratio_, long_thresholdEnergy_, long_thresholdET_, short_HFlongshortratio_, short_thresholdEnergy_, and short_thresholdET_.
HcalHFStatusBitFromRecHits::~HcalHFStatusBitFromRecHits | ( | ) |
Definition at line 29 of file HcalHFStatusBitFromRecHits.cc.
|
inline |
Definition at line 40 of file HcalHFStatusBitFromRecHits.h.
References HcalCaloFlagLabels::HFLongShort.
void HcalHFStatusBitFromRecHits::hfSetFlagFromRecHits | ( | HFRecHitCollection & | rec, |
HcalChannelQuality * | myqual, | ||
const HcalSeverityLevelComputer * | mySeverity | ||
) |
Definition at line 31 of file HcalHFStatusBitFromRecHits.cc.
References funct::abs(), edm::SortedCollection< T, SORT >::begin(), hcalRecHitTable_cff::depth, HcalSeverityLevelComputer::dropChannel(), edm::SortedCollection< T, SORT >::end(), HLT_2024v13_cff::eta1, HLT_2024v13_cff::eta2, HcalTopology::etaRange(), EnergyCorrector::etas, HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), HcalForward, HcalCaloFlagLabels::HFLongShort, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, long_HFlongshortratio_, long_thresholdEnergy_, long_thresholdET_, particleFlowDisplacedVertex_cfi::ratio, DetId::rawId(), short_HFlongshortratio_, short_thresholdEnergy_, short_thresholdET_, mps_update::status, and HcalCondObjectContainerBase::topo().
|
inline |
Definition at line 34 of file HcalHFStatusBitFromRecHits.h.
References long_thresholdEnergy_.
|
inline |
Definition at line 35 of file HcalHFStatusBitFromRecHits.h.
References long_thresholdET_.
|
inline |
Definition at line 33 of file HcalHFStatusBitFromRecHits.h.
References long_HFlongshortratio_.
|
inline |
Definition at line 47 of file HcalHFStatusBitFromRecHits.h.
References long_thresholdEnergy_, and x.
|
inline |
Definition at line 51 of file HcalHFStatusBitFromRecHits.h.
References long_thresholdET_, and x.
|
inline |
Definition at line 43 of file HcalHFStatusBitFromRecHits.h.
References long_HFlongshortratio_, and x.
|
inline |
Definition at line 59 of file HcalHFStatusBitFromRecHits.h.
References short_thresholdEnergy_, and x.
|
inline |
Definition at line 63 of file HcalHFStatusBitFromRecHits.h.
References short_thresholdET_, and x.
|
inline |
Definition at line 55 of file HcalHFStatusBitFromRecHits.h.
References short_HFlongshortratio_, and x.
|
inline |
Definition at line 37 of file HcalHFStatusBitFromRecHits.h.
References short_thresholdEnergy_.
|
inline |
Definition at line 38 of file HcalHFStatusBitFromRecHits.h.
References short_thresholdET_.
|
inline |
Definition at line 36 of file HcalHFStatusBitFromRecHits.h.
References short_HFlongshortratio_.
|
private |
Definition at line 70 of file HcalHFStatusBitFromRecHits.h.
Referenced by HcalHFStatusBitFromRecHits(), hfSetFlagFromRecHits(), long_hflongshortratio(), and set_long_hflongshortratio().
|
private |
Definition at line 72 of file HcalHFStatusBitFromRecHits.h.
Referenced by HcalHFStatusBitFromRecHits(), hfSetFlagFromRecHits(), long_energythreshold(), and set_long_energythreshold().
|
private |
Definition at line 71 of file HcalHFStatusBitFromRecHits.h.
Referenced by HcalHFStatusBitFromRecHits(), hfSetFlagFromRecHits(), long_ETthreshold(), and set_long_ETthreshold().
|
private |
Definition at line 73 of file HcalHFStatusBitFromRecHits.h.
Referenced by HcalHFStatusBitFromRecHits(), hfSetFlagFromRecHits(), set_short_hflongshortratio(), and short_hflongshortratio().
|
private |
Definition at line 75 of file HcalHFStatusBitFromRecHits.h.
Referenced by HcalHFStatusBitFromRecHits(), hfSetFlagFromRecHits(), set_short_energythreshold(), and short_energythreshold().
|
private |
Definition at line 74 of file HcalHFStatusBitFromRecHits.h.
Referenced by HcalHFStatusBitFromRecHits(), hfSetFlagFromRecHits(), set_short_ETthreshold(), and short_ETthreshold().