27 CaloJetAlg( cfg.getParameter<
string>(
"CaloJetAlg" ) ),
28 GenJetAlg( cfg.getParameter<
string>(
"GenJetAlg" ) )
46 cout << endl <<
"Evt: "<<
evtCount <<
", Num Calo Jets=" <<caloJets->end() - caloJets->begin() <<
", Num Gen Jets=" <<genJets->end() - genJets->begin() <<endl;
47 cout <<
" *********************************************************" <<endl;
49 for( CaloJetCollection::const_iterator
jet = caloJets->begin();
jet != caloJets->end(); ++
jet ) {
50 cout <<
"Calo Jet: "<<jetInd<<
", pt="<<
jet->pt()<<
", eta="<<
jet->eta()<<
", phi="<<
jet->phi() <<endl;
53 cout <<
" *********************************************************" <<endl;
55 for( GenJetCollection::const_iterator
jet = genJets->begin();
jet != genJets->end(); ++
jet ) {
56 cout <<
"Gen Jet: "<<jetInd<<
", pt="<<
jet->pt()<<
", eta="<<
jet->eta()<<
", phi="<<
jet->phi() <<endl;
60 cout <<
" *********************************************************" <<endl;
void analyze(const edm::Event &, const edm::EventSetup &) override
SimpleJetDump(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const