19 src_ ( iConfig.getParameter<
edm::InputTag>(
"src") ),
22 produces< reco::CastorJetIDValueMap >();
48 auto castorjetIdValueMap = std::make_unique<reco::CastorJetIDValueMap>();
53 size_t njets = h_jets->size();
54 std::vector<reco::CastorJetID> ids (njets);
58 jetsEnd = h_jets->end(),
60 ijet != jetsEnd; ++ijet ) {
78 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