Description: Produces a value map of jet—> jet Id
Implementation: There are two modes: AOD only, in which case only a subset of the info is written, and RECO, when all the info is written. The AOD-only case will be suitable for the "very loose" jet ID, whereas the RECO case will be globally suitable.
Definition at line 44 of file JetIDProducer.h.
Definition at line 33 of file JetIDProducer.cc.
References reco::helper::JetIDHelper::approximatefHPD(), reco::helper::JetIDHelper::approximatefRBX(), reco::helper::JetMuonHitsIDHelper::calculate(), reco::helper::JetIDHelper::calculate(), reco::helper::JetIDHelper::fEB(), reco::helper::JetIDHelper::fEE(), reco::helper::JetIDHelper::fHB(), reco::helper::JetIDHelper::fHE(), reco::helper::JetIDHelper::fHFOOT(), reco::helper::JetIDHelper::fHO(), reco::helper::JetIDHelper::fHPD(), trigObjTnPSource_cfi::filler, reco::helper::JetIDHelper::fLong(), reco::helper::JetIDHelper::fLSbad(), reco::helper::JetIDHelper::fRBX(), reco::helper::JetIDHelper::fShort(), reco::helper::JetIDHelper::fSubDetector1(), reco::helper::JetIDHelper::fSubDetector2(), reco::helper::JetIDHelper::fSubDetector3(), reco::helper::JetIDHelper::fSubDetector4(), helper_, reco::helper::JetIDHelper::hitsInN90(), iEvent, input_jet_token_, eostools::move(), muHelper_, reco::helper::JetIDHelper::n90Hits(), reco::helper::JetIDHelper::nECALTowers(), reco::helper::JetIDHelper::nHCALTowers(), BTaggingMonitoring_cff::njets, reco::helper::JetMuonHitsIDHelper::numberOfHits2RPC(), reco::helper::JetMuonHitsIDHelper::numberOfHits3RPC(), reco::helper::JetMuonHitsIDHelper::numberOfHitsRPC(), and reco::helper::JetIDHelper::restrictedEMF().
39 auto jetIdValueMap = std::make_unique<reco::JetIDValueMap>();
44 size_t njets = h_jets->size();
45 std::vector<reco::JetID> ids(
njets);
86 filler.insert(h_jets, ids.begin(), ids.end());
double fSubDetector1() const
double approximatefRBX() const
double fSubDetector2() const
double fSubDetector4() const
reco::helper::JetIDHelper helper_
void calculate(const edm::Event &event, const edm::EventSetup &setup, const reco::CaloJet &jet, const int iDbg=0)
void calculate(const edm::Event &event, const edm::EventSetup &isetup, const reco::Jet &jet, const int iDbg=0)
int numberOfHitsRPC() const
int numberOfHits2RPC() const
int numberOfHits3RPC() const
double approximatefHPD() const
reco::helper::JetMuonHitsIDHelper muHelper_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
edm::EDGetTokenT< edm::View< reco::CaloJet > > input_jet_token_
double fSubDetector3() const
double restrictedEMF() const