21 src_(iConfig.getParameter<
InputTag>(
"src") ),
22 TopMass_(iConfig.getParameter<double>(
"TopMass") ),
23 WMass_(iConfig.getParameter<double>(
"WMass") ),
24 verbose_(iConfig.getParameter<bool>(
"verbose") ),
25 input_jet_token_(consumes<edm::
View<
reco::
Jet> >(src_))
27 produces<CATopJetTagInfoCollection>();
59 ihardJetEnd = hardJets.
end();
61 for ( ; ihardJet != ihardJetEnd; ++ihardJet, ++iihardJet ) {
63 if (
verbose_ )
edm::LogInfo(
"CATopJetTagger") <<
"Processing ihardJet with pt = " << ihardJet->pt() << endl;
72 tagInfo.
insert( ref, properties );
73 tagInfos->push_back( tagInfo );
76 iEvent.
put( tagInfos );
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
Base class for all types of Jets.
void insert(const edm::RefToBase< Jet > &jet, const CATopJetProperties &properties)
const edm::EDGetTokenT< edm::View< reco::Jet > > input_jet_token_
const_iterator begin() const
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::vector< CATopJetTagInfo > CATopJetTagInfoCollection
CATopJetTagger(const edm::ParameterSet &)
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
const_iterator end() const
virtual void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override