1 #ifndef RecoJets_JetProducers_interface_JetIDHelper_h 2 #define RecoJets_JetProducers_interface_JetIDHelper_h 86 std::vector<double> &energies,
87 std::vector<double> &subdet_energies,
88 std::vector<double> &Ecal_energies,
89 std::vector<double> &Hcal_energies,
90 std::vector<double> &HO_energies,
91 std::vector<double> &HPD_energies,
92 std::vector<double> &RBX_energies,
93 double &LS_bad_energy,
94 double &HF_OOT_energy,
99 std::vector<subtower> &subtowers,
100 std::vector<subtower> &Ecal_subtowers,
101 std::vector<subtower> &Hcal_subtowers,
102 std::vector<subtower> &HO_subtowers,
103 std::vector<double> &HPD_energies,
104 std::vector<double> &RBX_energies,
107 unsigned int nCarrying(
double fraction,
const std::vector<double> &descending_energies);
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)
Jets made from CaloTowers.
edm::EDGetTokenT< EBRecHitCollection > input_EBRecHits_token_
edm::InputTag eeRecHitsColl_
double approximatefSubDetector4_
edm::InputTag ebRecHitsColl_
double fSubDetector1() const
subtower(double xE, int xN)
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > hcal_topo_token_
double approximatefRBX() const
double fSubDetector2() const
edm::EDGetTokenT< HORecHitCollection > input_HORecHits_token_
unsigned int nCarrying(double fraction, const std::vector< double > &descending_energies)
double fSubDetector4() const
void calculate(const edm::Event &event, const edm::EventSetup &setup, const reco::CaloJet &jet, const int iDbg=0)
Region HBHE_region(uint32_t)
edm::EDGetTokenT< HFRecHitCollection > input_HFRecHits_token_
edm::InputTag hbheRecHitsColl_
static std::atomic< int > sanity_checks_left_
double approximatefSubDetector1_
edm::InputTag hfRecHitsColl_
void fillDescription(edm::ParameterSetDescription &iDesc)
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)
edm::InputTag hoRecHitsColl_
edm::EDGetTokenT< HBHERecHitCollection > input_HBHERecHits_token_
double approximatefHPD() const
int HBHE_oddness(int iEta, int depth)
edm::EDGetTokenT< EERecHitCollection > input_EERecHits_token_
double fSubDetector3() const
double restrictedEMF() const
unsigned int hitsInNCarrying(double fraction, const std::vector< subtower > &descending_towers)
double approximatefSubDetector3_
double approximatefSubDetector2_