19 src_ ( iConfig.getParameter<
edm::InputTag>(
"src") ),
20 helper_ ( iConfig, consumesCollector() ),
21 muHelper_ ( iConfig, consumesCollector() )
23 produces< reco::JetIDValueMap >();
49 auto jetIdValueMap = std::make_unique<reco::JetIDValueMap>();
54 size_t njets = h_jets->size();
55 std::vector<reco::JetID> ids (njets);
59 jetsEnd = h_jets->end(),
61 ijet != jetsEnd; ++ijet ) {
98 filler.insert( h_jets, ids.begin(), ids.end() );
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
double approximatefRBX() const
double fSubDetector4() const
reco::helper::JetIDHelper helper_
double restrictedEMF() const
double fSubDetector1() const
void calculate(const edm::Event &event, const edm::EventSetup &isetup, const reco::Jet &jet, const int iDbg=0)
double approximatefHPD() const
JetIDProducer(const edm::ParameterSet &)
double fSubDetector3() const
reco::helper::JetMuonHitsIDHelper muHelper_
int numberOfHits3RPC() const
double fSubDetector2() const
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
virtual void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< edm::View< reco::CaloJet > > input_jet_token_
int numberOfHits2RPC() const
int numberOfHitsRPC() const
void calculate(const edm::Event &event, const reco::CaloJet &jet, const int iDbg=0)