#include <SimpleJetDump.h>
Definition at line 13 of file SimpleJetDump.h.
Implements edm::EDAnalyzer.
Definition at line 36 of file SimpleJetDump.cc.
References CaloJetAlg, gather_cfg::cout, evtCount, GenJetAlg, edm::Event::getByLabel(), and metsig::jet.
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;
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void SimpleJetDump::beginJob |
( |
void |
| ) |
|
|
privatevirtual |
void SimpleJetDump::endJob |
( |
void |
| ) |
|
|
privatevirtual |
std::string SimpleJetDump::CaloJetAlg |
|
private |
int SimpleJetDump::evtCount |
|
private |
std::string SimpleJetDump::GenJetAlg |
|
private |