#include <JetIDHelper.h>
Classes | |
struct | subtower |
Public Member Functions | |
double | approximatefHPD () const |
double | approximatefRBX () const |
void | calculate (const edm::Event &event, 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) | |
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 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 (int iEta, int depth) |
unsigned int | hitsInNCarrying (double fraction, std::vector< subtower > descending_towers) |
unsigned int | nCarrying (double fraction, std::vector< double > descending_energies) |
Region | region (int iEta) |
Private Attributes | |
double | approximatefHPD_ |
double | approximatefRBX_ |
double | approximatefSubDetector1_ |
double | approximatefSubDetector2_ |
double | approximatefSubDetector3_ |
double | approximatefSubDetector4_ |
edm::InputTag | ebRecHitsColl_ |
edm::InputTag | eeRecHitsColl_ |
double | fEB_ |
double | fEE_ |
double | fHB_ |
double | fHE_ |
double | fHFOOT_ |
double | fHO_ |
double | fHPD_ |
double | fLong_ |
double | fLS_ |
double | fRBX_ |
double | fShort_ |
double | fSubDetector1_ |
double | fSubDetector2_ |
double | fSubDetector3_ |
double | fSubDetector4_ |
edm::InputTag | hbheRecHitsColl_ |
edm::InputTag | hfRecHitsColl_ |
int | hitsInN90_ |
edm::InputTag | hoRecHitsColl_ |
int | n90Hits_ |
int | nECALTowers_ |
int | nHCALTowers_ |
double | restrictedEMF_ |
bool | useRecHits_ |
Static Private Attributes | |
static int | sanity_checks_left_ = 100 |
Definition at line 15 of file JetIDHelper.h.
|
private |
Enumerator | |
---|---|
unknown_region | |
HFneg | |
HEneg | |
HBneg | |
HBpos | |
HEpos | |
HFpos |
Definition at line 90 of file JetIDHelper.h.
|
inline |
Definition at line 19 of file JetIDHelper.h.
reco::helper::JetIDHelper::JetIDHelper | ( | edm::ParameterSet const & | pset | ) |
Definition at line 40 of file JetIDHelper.cc.
References edm::ParameterSet::getParameter().
|
inline |
Definition at line 21 of file JetIDHelper.h.
|
inline |
Definition at line 54 of file JetIDHelper.h.
References approximatefHPD_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 55 of file JetIDHelper.h.
References approximatefRBX_.
Referenced by JetIDProducer::produce().
void reco::helper::JetIDHelper::calculate | ( | const edm::Event & | event, |
const reco::CaloJet & | jet, | ||
const int | iDbg = 0 |
||
) |
Definition at line 86 of file JetIDHelper.cc.
References abs, gather_cfg::cout, reco::CaloJet::emEnergyInEB(), reco::CaloJet::emEnergyInEE(), reco::CaloJet::emEnergyInHF(), reco::LeafCandidate::energy(), reco::LeafCandidate::et(), reco::CaloJet::hadEnergyInHB(), reco::CaloJet::hadEnergyInHE(), reco::CaloJet::hadEnergyInHF(), reco::CaloJet::hadEnergyInHO(), reco::helper::hasNonPositiveE(), i, siStripFEDMonitor_P5_cff::Max, and reco::LeafCandidate::pt().
Referenced by JetMETHLTOfflineSource::analyze(), HLTJets::analyze(), HLTCaloJetIDProducer::produce(), JetIDProducer::produce(), BTagHLTOfflineSource::selectJets(), and FourVectorHLTOffline::selectJets().
|
private |
Definition at line 225 of file JetIDHelper.cc.
References abs, gather_cfg::cout, HcalDetId::depth(), egHLT::errCodes::EBRecHits, DetId::Ecal, egHLT::errCodes::EERecHits, reco::LeafCandidate::energy(), flags, reco::CaloJet::getCaloConstituents(), egHLT::errCodes::HBHERecHits, DetId::Hcal, HcalForward, HcalOuter, HcalCaloFlagLabels::HFDigiTime, HcalCaloFlagLabels::HFLongShort, egHLT::errCodes::HFRecHits, HcalCaloFlagLabels::HFTimingTrustBits, HcalDetId::ieta(), reco::helper::select2nd(), python.multivaluedict::sort(), HcalDetId::subdet(), HcalCaloFlagLabels::TimingAddedBit, HcalCaloFlagLabels::TimingErrorBit, HcalCaloFlagLabels::TimingSubtractedBit, and create_public_pileup_plots::transform.
|
private |
Definition at line 457 of file JetIDHelper.cc.
References abs, gather_cfg::cout, DetId::Ecal, reco::CaloJet::getCaloConstituents(), DetId::Hcal, HcalOuter, reco::helper::select2nd(), python.multivaluedict::sort(), HcalDetId::subdet(), reco::helper::subtower_has_greater_E(), and create_public_pileup_plots::transform.
|
inline |
Definition at line 40 of file JetIDHelper.h.
References fEB_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 41 of file JetIDHelper.h.
References fEE_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 42 of file JetIDHelper.h.
References fHB_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 43 of file JetIDHelper.h.
References fHE_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 48 of file JetIDHelper.h.
References fHFOOT_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 44 of file JetIDHelper.h.
References fHO_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 33 of file JetIDHelper.h.
References fHPD_.
Referenced by JetMETHLTOfflineSource::analyze(), JetIDProducer::produce(), BTagHLTOfflineSource::selectJets(), and FourVectorHLTOffline::selectJets().
void reco::helper::JetIDHelper::fillDescription | ( | edm::ParameterSetDescription & | iDesc | ) |
Definition at line 72 of file JetIDHelper.cc.
References edm::ParameterSetDescription::ifValue(), and edm::ParameterDescriptionNode::setComment().
|
inline |
Definition at line 45 of file JetIDHelper.h.
References fLong_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 47 of file JetIDHelper.h.
References fLS_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 34 of file JetIDHelper.h.
References fRBX_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 46 of file JetIDHelper.h.
References fShort_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 36 of file JetIDHelper.h.
References fSubDetector1_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 37 of file JetIDHelper.h.
References fSubDetector2_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 38 of file JetIDHelper.h.
References fSubDetector3_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 39 of file JetIDHelper.h.
References fSubDetector4_.
Referenced by JetIDProducer::produce().
|
private |
Definition at line 572 of file JetIDHelper.cc.
|
private |
Definition at line 588 of file JetIDHelper.cc.
|
private |
Definition at line 579 of file JetIDHelper.cc.
|
inline |
Definition at line 56 of file JetIDHelper.h.
References hitsInN90_.
Referenced by JetIDProducer::produce().
|
private |
void reco::helper::JetIDHelper::initValues | ( | ) |
Definition at line 53 of file JetIDHelper.cc.
|
inline |
Definition at line 35 of file JetIDHelper.h.
References n90Hits_.
Referenced by JetMETHLTOfflineSource::analyze(), HLTJets::analyze(), HLTCaloJetIDProducer::produce(), and JetIDProducer::produce().
|
private |
|
inline |
Definition at line 52 of file JetIDHelper.h.
References nECALTowers_.
Referenced by JetIDProducer::produce().
|
inline |
Definition at line 51 of file JetIDHelper.h.
References nHCALTowers_.
Referenced by JetIDProducer::produce().
|
private |
Definition at line 595 of file JetIDHelper.cc.
|
inline |
Definition at line 50 of file JetIDHelper.h.
References restrictedEMF_.
Referenced by JetIDProducer::produce().
|
private |
Definition at line 111 of file JetIDHelper.h.
Referenced by approximatefHPD().
|
private |
Definition at line 112 of file JetIDHelper.h.
Referenced by approximatefRBX().
|
private |
Definition at line 114 of file JetIDHelper.h.
|
private |
Definition at line 115 of file JetIDHelper.h.
|
private |
Definition at line 116 of file JetIDHelper.h.
|
private |
Definition at line 117 of file JetIDHelper.h.
|
private |
Definition at line 126 of file JetIDHelper.h.
|
private |
Definition at line 127 of file JetIDHelper.h.
|
private |
Definition at line 119 of file JetIDHelper.h.
Referenced by fEB().
|
private |
Definition at line 119 of file JetIDHelper.h.
Referenced by fEE().
|
private |
Definition at line 119 of file JetIDHelper.h.
Referenced by fHB().
|
private |
Definition at line 119 of file JetIDHelper.h.
Referenced by fHE().
|
private |
Definition at line 120 of file JetIDHelper.h.
Referenced by fHFOOT().
|
private |
Definition at line 119 of file JetIDHelper.h.
Referenced by fHO().
|
private |
Definition at line 101 of file JetIDHelper.h.
Referenced by fHPD().
|
private |
Definition at line 119 of file JetIDHelper.h.
Referenced by fLong().
|
private |
Definition at line 120 of file JetIDHelper.h.
Referenced by fLSbad().
|
private |
Definition at line 102 of file JetIDHelper.h.
Referenced by fRBX().
|
private |
Definition at line 119 of file JetIDHelper.h.
Referenced by fShort().
|
private |
Definition at line 104 of file JetIDHelper.h.
Referenced by fSubDetector1().
|
private |
Definition at line 105 of file JetIDHelper.h.
Referenced by fSubDetector2().
|
private |
Definition at line 106 of file JetIDHelper.h.
Referenced by fSubDetector3().
|
private |
Definition at line 107 of file JetIDHelper.h.
Referenced by fSubDetector4().
|
private |
Definition at line 123 of file JetIDHelper.h.
|
private |
Definition at line 125 of file JetIDHelper.h.
|
private |
Definition at line 113 of file JetIDHelper.h.
Referenced by hitsInN90().
|
private |
Definition at line 124 of file JetIDHelper.h.
|
private |
Definition at line 103 of file JetIDHelper.h.
Referenced by n90Hits().
|
private |
Definition at line 110 of file JetIDHelper.h.
Referenced by nECALTowers().
|
private |
Definition at line 109 of file JetIDHelper.h.
Referenced by nHCALTowers().
|
private |
Definition at line 108 of file JetIDHelper.h.
Referenced by restrictedEMF().
|
staticprivate |
Definition at line 129 of file JetIDHelper.h.
|
private |
Definition at line 122 of file JetIDHelper.h.