#include <SimpleJetDump.h>
|
| SimpleJetDump (const edm::ParameterSet &) |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
virtual | ~EDAnalyzer () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
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 |