#include <JetIDHelper.h>
Classes | |
struct | subtower |
Public Member Functions | |
double | approximatefHPD () const |
double | approximatefRBX () const |
void | calculate (const edm::Event &event, const edm::EventSetup &setup, const reco::CaloJet &jet, const int iDbg=0) |
double | fEB () const |
double | fEE () const |
double | fHB () const |
double | fHE () const |
double | fHFOOT () const |
double | fHO () const |
double | fHPD () const |
void | fillDescription (edm::ParameterSetDescription &iDesc) |
double | fLong () const |
double | fLSbad () const |
double | fRBX () const |
double | fShort () const |
double | fSubDetector1 () const |
double | fSubDetector2 () const |
double | fSubDetector3 () const |
double | fSubDetector4 () const |
int | hitsInN90 () const |
void | initValues () |
JetIDHelper () | |
JetIDHelper (edm::ParameterSet const &pset, edm::ConsumesCollector &&iC) | |
int | n90Hits () const |
int | nECALTowers () const |
int | nHCALTowers () const |
double | restrictedEMF () const |
~JetIDHelper () | |
Private Types | |
enum | Region { unknown_region = -1, HFneg, HEneg, HBneg, HBpos, HEpos, HFpos } |
Private Member Functions | |
void | classifyJetComponents (const edm::Event &event, const edm::EventSetup &setup, const reco::CaloJet &jet, std::vector< double > &energies, std::vector< double > &subdet_energies, std::vector< double > &Ecal_energies, std::vector< double > &Hcal_energies, std::vector< double > &HO_energies, std::vector< double > &HPD_energies, std::vector< double > &RBX_energies, double &LS_bad_energy, double &HF_OOT_energy, const int iDbg=0) |
void | classifyJetTowers (const edm::Event &event, const reco::CaloJet &jet, std::vector< subtower > &subtowers, std::vector< subtower > &Ecal_subtowers, std::vector< subtower > &Hcal_subtowers, std::vector< subtower > &HO_subtowers, std::vector< double > &HPD_energies, std::vector< double > &RBX_energies, const int iDbg=0) |
int | HBHE_oddness (int iEta, int depth) |
int | HBHE_oddness (int iEta) |
Region | HBHE_region (uint32_t) |
unsigned int | hitsInNCarrying (double fraction, const std::vector< subtower > &descending_towers) |
unsigned int | nCarrying (double fraction, const std::vector< double > &descending_energies) |
Region | region (int iEta) |
Static Private Attributes | |
static std::atomic< int > | sanity_checks_left_ {100} |
Definition at line 26 of file JetIDHelper.h.
|
private |
Enumerator | |
---|---|
unknown_region | |
HFneg | |
HEneg | |
HBneg | |
HBpos | |
HEpos | |
HFpos |
Definition at line 110 of file JetIDHelper.h.
|
inline |
Definition at line 29 of file JetIDHelper.h.
reco::helper::JetIDHelper::JetIDHelper | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 42 of file JetIDHelper.cc.
References muonDTDigis_cfi::pset.
|
inline |
Definition at line 31 of file JetIDHelper.h.
|
inline |
Definition at line 67 of file JetIDHelper.h.
References approximatefHPD_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 68 of file JetIDHelper.h.
References approximatefRBX_.
Referenced by JetIDProducer::produce().
void reco::helper::JetIDHelper::calculate | ( | const edm::Event & | event, |
const edm::EventSetup & | setup, | ||
const reco::CaloJet & | jet, | ||
const int | iDbg = 0 |
||
) |
Definition at line 93 of file JetIDHelper.cc.
References funct::abs(), gather_cfg::cout, reco::helper::hasNonPositiveE(), mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, metsig::jet, METSkim_cff::Max, and singleTopDQM_cfi::setup.
Referenced by JetMETHLTOfflineSource::analyze(), HLTCaloJetIDProducer::produce(), and JetIDProducer::produce().
|
private |
Definition at line 269 of file JetIDHelper.cc.
References funct::abs(), gather_cfg::cout, hcalRecHitTable_cff::depth, HcalDetId::depth(), filterRecHits_cfi::EBRecHits, DetId::Ecal, filterRecHits_cfi::EERecHits, edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), HLT_2024v10_cff::flags, egHLT::errCodes::HBHERecHits, DetId::Hcal, HcalForward, HcalOuter, HcalCaloFlagLabels::HFDigiTime, HcalCaloFlagLabels::HFLongShort, egHLT::errCodes::HFRecHits, HcalCaloFlagLabels::HFTimingTrustBits, l1tPhase2CaloJetEmulator_cfi::iEta, metsig::jet, HcalTopology::mergedDepth29(), ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::nCells, ecaldqm::nTowers, nano_mu_digi_cff::region, reco::helper::select2nd(), singleTopDQM_cfi::setup, edm::SortedCollection< T, SORT >::size(), jetUpdater_cfi::sort, HcalDetId::subdet(), HcalCaloFlagLabels::TimingAddedBit, HcalCaloFlagLabels::TimingErrorBit, HcalCaloFlagLabels::TimingSubtractedBit, l1tHGCalTowerProducer_cfi::tower, HLT_2024v10_cff::towers, and HcalDetIdTransform::transform().
|
private |
Definition at line 519 of file JetIDHelper.cc.
References funct::abs(), gather_cfg::cout, DetId::Ecal, DetId::Hcal, HcalOuter, l1tPhase2CaloJetEmulator_cfi::iEta, metsig::jet, ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::nCells, ecaldqm::nTowers, nano_mu_digi_cff::region, reco::helper::select2nd(), jetUpdater_cfi::sort, HcalDetId::subdet(), reco::helper::subtower_has_greater_E(), l1tHGCalTowerProducer_cfi::tower, HLT_2024v10_cff::towers, and HcalDetIdTransform::transform().
|
inline |
Definition at line 53 of file JetIDHelper.h.
References fEB_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 54 of file JetIDHelper.h.
References fEE_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 55 of file JetIDHelper.h.
References fHB_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 56 of file JetIDHelper.h.
References fHE_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 61 of file JetIDHelper.h.
References fHFOOT_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 57 of file JetIDHelper.h.
References fHO_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 46 of file JetIDHelper.h.
References fHPD_.
Referenced by JetMETHLTOfflineSource::analyze(), and JetIDProducer::produce().
void reco::helper::JetIDHelper::fillDescription | ( | edm::ParameterSetDescription & | iDesc | ) |
Definition at line 80 of file JetIDHelper.cc.
References edm::ParameterSetDescription::ifValue(), and edm::ParameterDescriptionNode::setComment().
|
inline |
Definition at line 58 of file JetIDHelper.h.
References fLong_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 60 of file JetIDHelper.h.
References fLS_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 47 of file JetIDHelper.h.
References fRBX_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 59 of file JetIDHelper.h.
References fShort_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 49 of file JetIDHelper.h.
References fSubDetector1_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 50 of file JetIDHelper.h.
References fSubDetector2_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 51 of file JetIDHelper.h.
References fSubDetector3_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 52 of file JetIDHelper.h.
References fSubDetector4_.
Referenced by JetIDProducer::produce().
|
private |
Definition at line 642 of file JetIDHelper.cc.
References hcalRecHitTable_cff::depth, and l1tPhase2CaloJetEmulator_cfi::iEta.
|
private |
|
private |
Definition at line 649 of file JetIDHelper.cc.
References HcalBarrel, HcalEndcap, l1ctLayer2EG_cff::id, and hcalRecHitTable_cff::ieta.
|
inline |
Definition at line 69 of file JetIDHelper.h.
References hitsInN90_.
Referenced by JetIDProducer::produce().
|
private |
Definition at line 251 of file JetIDHelper.cc.
References HLT_2024v10_cff::fraction, mps_fire::i, and makePlotsFromDump::NH.
void reco::helper::JetIDHelper::initValues | ( | ) |
Definition at line 62 of file JetIDHelper.cc.
|
inline |
Definition at line 48 of file JetIDHelper.h.
References n90Hits_.
Referenced by JetMETHLTOfflineSource::analyze(), HLTCaloJetIDProducer::produce(), and JetIDProducer::produce().
|
private |
Definition at line 234 of file JetIDHelper.cc.
References HLT_2024v10_cff::fraction, and mps_fire::i.
|
inline |
Definition at line 65 of file JetIDHelper.h.
References nECALTowers_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 64 of file JetIDHelper.h.
References nHCALTowers_.
Referenced by JetIDProducer::produce().
|
private |
|
inline |
Definition at line 63 of file JetIDHelper.h.
References restrictedEMF_.
Referenced by JetIDProducer::produce().
|
private |
Definition at line 128 of file JetIDHelper.h.
Referenced by approximatefHPD().
|
private |
Definition at line 129 of file JetIDHelper.h.
Referenced by approximatefRBX().
|
private |
Definition at line 131 of file JetIDHelper.h.
|
private |
Definition at line 132 of file JetIDHelper.h.
|
private |
Definition at line 133 of file JetIDHelper.h.
|
private |
Definition at line 134 of file JetIDHelper.h.
|
private |
Definition at line 143 of file JetIDHelper.h.
|
private |
Definition at line 144 of file JetIDHelper.h.
|
private |
Definition at line 136 of file JetIDHelper.h.
Referenced by fEB().
|
private |
Definition at line 136 of file JetIDHelper.h.
Referenced by fEE().
|
private |
Definition at line 136 of file JetIDHelper.h.
Referenced by fHB().
|
private |
Definition at line 136 of file JetIDHelper.h.
Referenced by fHE().
|
private |
Definition at line 137 of file JetIDHelper.h.
Referenced by fHFOOT().
|
private |
Definition at line 136 of file JetIDHelper.h.
Referenced by fHO().
|
private |
Definition at line 118 of file JetIDHelper.h.
Referenced by fHPD().
|
private |
Definition at line 136 of file JetIDHelper.h.
Referenced by fLong().
|
private |
Definition at line 137 of file JetIDHelper.h.
Referenced by fLSbad().
|
private |
Definition at line 119 of file JetIDHelper.h.
Referenced by fRBX().
|
private |
Definition at line 136 of file JetIDHelper.h.
Referenced by fShort().
|
private |
Definition at line 121 of file JetIDHelper.h.
Referenced by fSubDetector1().
|
private |
Definition at line 122 of file JetIDHelper.h.
Referenced by fSubDetector2().
|
private |
Definition at line 123 of file JetIDHelper.h.
Referenced by fSubDetector3().
|
private |
Definition at line 124 of file JetIDHelper.h.
Referenced by fSubDetector4().
|
private |
Definition at line 140 of file JetIDHelper.h.
|
private |
Definition at line 154 of file JetIDHelper.h.
|
private |
Definition at line 142 of file JetIDHelper.h.
|
private |
Definition at line 130 of file JetIDHelper.h.
Referenced by hitsInN90().
|
private |
Definition at line 141 of file JetIDHelper.h.
|
private |
Definition at line 151 of file JetIDHelper.h.
|
private |
Definition at line 152 of file JetIDHelper.h.
|
private |
Definition at line 148 of file JetIDHelper.h.
|
private |
Definition at line 150 of file JetIDHelper.h.
|
private |
Definition at line 149 of file JetIDHelper.h.
|
private |
Definition at line 120 of file JetIDHelper.h.
Referenced by n90Hits().
|
private |
Definition at line 127 of file JetIDHelper.h.
Referenced by nECALTowers().
|
private |
Definition at line 126 of file JetIDHelper.h.
Referenced by nHCALTowers().
|
private |
Definition at line 125 of file JetIDHelper.h.
Referenced by restrictedEMF().
|
staticprivate |
Definition at line 146 of file JetIDHelper.h.
|
private |
Definition at line 139 of file JetIDHelper.h.