19 src_ ( iConfig.getParameter<edm::InputTag>(
"src") ),
22 produces< 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() );
84 iEvent.
put( castorjetIdValueMap );
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
void insert(const H &h, I begin, I end)
CastorJetIDProducer(const edm::ParameterSet &)
void calculate(const edm::Event &event, const reco::BasicJet &jet)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
virtual void produce(edm::Event &, const edm::EventSetup &) override
reco::helper::CastorJetIDHelper helper_
edm::EDGetTokenT< edm::View< reco::BasicJet > > input_jet_token_