1 #ifndef RecoJets_JetProducers_interface_JetIDHelper_h
2 #define RecoJets_JetProducers_interface_JetIDHelper_h
72 std::vector< double > &energies,
73 std::vector< double > &subdet_energies,
74 std::vector< double > &Ecal_energies, std::vector< double > &Hcal_energies,
75 std::vector< double > &HO_energies,
76 std::vector< double > &HPD_energies, std::vector< double > &RBX_energies,
77 double& LS_bad_energy,
double& HF_OOT_energy,
const int iDbg = 0);
80 std::vector< subtower > &subtowers,
81 std::vector< subtower > &Ecal_subtowers,
82 std::vector< subtower > &Hcal_subtowers,
83 std::vector< subtower > &HO_subtowers,
84 std::vector< double > &HPD_energies,
85 std::vector< double > &RBX_energies,
88 unsigned int nCarrying(
double fraction,
const std::vector< double >& descending_energies );
89 unsigned int hitsInNCarrying(
double fraction,
const std::vector< subtower >& descending_towers );
Jets made from CaloTowers.
edm::InputTag eeRecHitsColl_
double approximatefSubDetector4_
edm::InputTag ebRecHitsColl_
subtower(double xE, int xN)
double approximatefRBX() const
unsigned int nCarrying(double fraction, const std::vector< double > &descending_energies)
double fSubDetector4() const
double restrictedEMF() const
double fSubDetector1() const
edm::InputTag hbheRecHitsColl_
static std::atomic< int > sanity_checks_left_
double approximatefHPD() const
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_
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
Region HBHE_region(int iEta, int depth)
double fSubDetector3() const
int HBHE_oddness(int iEta, int depth)
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)
double fSubDetector2() const
void calculate(const edm::Event &event, const reco::CaloJet &jet, const int iDbg=0)
unsigned int hitsInNCarrying(double fraction, const std::vector< subtower > &descending_towers)
double approximatefSubDetector3_
double approximatefSubDetector2_