18 : src_(iConfig.getParameter<
edm::
InputTag>(
"src")), helper_() {
19 produces<reco::CastorJetIDValueMap>();
37 auto castorjetIdValueMap = std::make_unique<reco::CastorJetIDValueMap>();
42 size_t njets = h_jets->size();
43 std::vector<reco::CastorJetID>
ids(njets);
63 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
CastorJetIDProducer(const edm::ParameterSet &)
void calculate(const edm::Event &event, const reco::BasicJet &jet)
#define DEFINE_FWK_MODULE(type)
void produce(edm::Event &, const edm::EventSetup &) override
reco::helper::CastorJetIDHelper helper_
edm::EDGetTokenT< edm::View< reco::BasicJet > > input_jet_token_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
~CastorJetIDProducer() override