#include <GenericBenchmarkAnalyzer.h>
|
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
|
virtual void | beginJob () |
|
virtual void | endJob () |
|
| GenericBenchmarkAnalyzer (const edm::ParameterSet &) |
|
virtual | ~GenericBenchmarkAnalyzer () |
|
| EDAnalyzer () |
|
std::string | workerType () const |
|
virtual | ~EDAnalyzer () |
|
| EDConsumerBase () |
|
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
template<typename C > |
void | fill (const C *RecoCollection, const C *GenCollection, bool startFromGen=false, bool PlotAgainstReco=true, bool onlyTwoJets=false, double recPt_cut=-1., double minEta_cut=-1., double maxEta_cut=-1., double deltaR_cut=-1.) |
|
| GenericBenchmark () |
|
void | setfile (TFile *file) |
|
void | setup (DQMStore *DQM=NULL, bool PlotAgainstReco_=true, float minDeltaEt=-100., float maxDeltaEt=50., float minDeltaPhi=-0.5, float maxDeltaPhi=0.5, bool doMetPlots=false) |
|
void | write (std::string Filename) |
|
virtual | ~GenericBenchmark () |
|
Definition at line 16 of file GenericBenchmarkAnalyzer.h.
GenericBenchmarkAnalyzer::GenericBenchmarkAnalyzer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
GenericBenchmarkAnalyzer::~GenericBenchmarkAnalyzer |
( |
| ) |
|
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 86 of file GenericBenchmarkAnalyzer.cc.
References gather_cfg::cout, lumiContext::fill, edm::Event::getByLabel(), and edm::Handle< T >::product().
94 const candidateCollection *truth_candidates;
95 const candidateCollection *reco_candidates;
106 std::cout <<
"Warning : no Gen jets in input !" << std::endl;
110 truth_candidates = truth_hnd.
product();
116 std::cout <<
"Warning : no Reco jets in input !" << std::endl;
119 reco_candidates = reco_hnd.
product();
127 if (!truth_candidates || !reco_candidates) {
129 edm::LogInfo(
"OutputInfo") <<
" failed to retrieve data required by ParticleFlow Task";
130 edm::LogInfo(
"OutputInfo") <<
" ParticleFlow Task cannot continue...!";
139 fill(reco_candidates,truth_candidates,
void fill(const C *RecoCollection, const C *GenCollection, bool startFromGen=false, bool PlotAgainstReco=true, bool onlyTwoJets=false, double recPt_cut=-1., double minEta_cut=-1., double maxEta_cut=-1., double deltaR_cut=-1.)
edm::InputTag inputRecoLabel_
bool plotAgainstRecoQuantities_
edm::InputTag inputTruthLabel_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
T const * product() const
void GenericBenchmarkAnalyzer::beginJob |
( |
void |
| ) |
|
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 68 of file GenericBenchmarkAnalyzer.cc.
References benchmarkLabel_, dbe_, cppFunctionSkipper::operator, getHLTPrescaleColumns::path, DQMStore::setCurrentFolder(), and HcalObjRepresent::setup().
std::string benchmarkLabel_
bool plotAgainstRecoQuantities_
void setup(DQMStore *DQM=NULL, bool PlotAgainstReco_=true, float minDeltaEt=-100., float maxDeltaEt=50., float minDeltaPhi=-0.5, float maxDeltaPhi=0.5, bool doMetPlots=false)
void setCurrentFolder(const std::string &fullpath)
void GenericBenchmarkAnalyzer::endJob |
( |
void |
| ) |
|
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 144 of file GenericBenchmarkAnalyzer.cc.
References dbe_, and DQMStore::save().
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
std::string GenericBenchmarkAnalyzer::benchmarkLabel_ |
|
private |
double GenericBenchmarkAnalyzer::deltaR_cut |
|
private |
bool GenericBenchmarkAnalyzer::doMetPlots_ |
|
private |
float GenericBenchmarkAnalyzer::maxDeltaEt_ |
|
private |
float GenericBenchmarkAnalyzer::maxDeltaPhi_ |
|
private |
double GenericBenchmarkAnalyzer::maxEta_cut |
|
private |
float GenericBenchmarkAnalyzer::minDeltaEt_ |
|
private |
float GenericBenchmarkAnalyzer::minDeltaPhi_ |
|
private |
double GenericBenchmarkAnalyzer::minEta_cut |
|
private |
bool GenericBenchmarkAnalyzer::onlyTwoJets_ |
|
private |
std::string GenericBenchmarkAnalyzer::outputFile_ |
|
private |
bool GenericBenchmarkAnalyzer::plotAgainstRecoQuantities_ |
|
private |
double GenericBenchmarkAnalyzer::recPt_cut |
|
private |
bool GenericBenchmarkAnalyzer::startFromGen_ |
|
private |