#include <MatchMETBenchmarkAnalyzer.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
void | beginJob () |
void | endJob () |
MatchMETBenchmarkAnalyzer (const edm::ParameterSet ¶meterSet) | |
Public Member Functions inherited from BenchmarkAnalyzer | |
BenchmarkAnalyzer () | |
BenchmarkAnalyzer (const edm::ParameterSet &) | |
virtual | ~BenchmarkAnalyzer () |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
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 |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Public Member Functions inherited from MatchMETBenchmark | |
void | fillOne (const reco::MET &candidate, const reco::MET &matchedCandidate) |
fill histograms with a given particle More... | |
MatchMETBenchmark (Mode mode) | |
void | setup () |
book histograms More... | |
virtual | ~MatchMETBenchmark () |
Public Member Functions inherited from Benchmark | |
Benchmark (Mode mode=DEFAULT) | |
bool | isInRange (float pt, float eta, float phi) const |
virtual void | setDirectory (TDirectory *dir) |
void | setParameters (Mode mode) |
void | setRange (float ptMin, float ptMax, float etaMin, float etaMax, float phiMin, float phiMax) |
void | write () |
write to the TFile, in plain ROOT mode. No need to call this function in DQM mode More... | |
virtual | ~Benchmark () |
Protected Attributes | |
edm::InputTag | matchedInputLabel_ |
edm::EDGetTokenT< edm::View < reco::MET > > | myColl_ |
edm::EDGetTokenT< edm::View < reco::MET > > | myMatchColl_ |
Protected Attributes inherited from BenchmarkAnalyzer | |
std::string | benchmarkLabel_ |
benchmark label More... | |
edm::InputTag | inputLabel_ |
input collection More... | |
std::string | outputFile_ |
name of the output root file More... | |
Protected Attributes inherited from MatchMETBenchmark | |
TH2F * | delta_et_Over_et_VS_et_ |
TH2F * | delta_et_VS_et_ |
TH1F * | delta_ex_ |
TH2F * | delta_ex_VS_set_ |
TH2F * | delta_phi_VS_et_ |
TH2F * | delta_set_Over_set_VS_set_ |
TH2F * | delta_set_VS_set_ |
TH2F * | RecEt_VS_TrueEt_ |
TH2F * | RecSet_Over_TrueSet_VS_TrueSet_ |
Protected Attributes inherited from Benchmark | |
TDirectory * | dir_ |
float | etaMax_ |
float | etaMin_ |
Mode | mode_ |
float | phiMax_ |
float | phiMin_ |
float | ptMax_ |
float | ptMin_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from Benchmark | |
enum | Mode { DEFAULT, DQMOFFLINE, VALIDATION } |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Static Public Attributes inherited from Benchmark | |
static DQMStore * | DQM_ = 0 |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Protected Member Functions inherited from Benchmark | |
TH1F * | book1D (const char *histname, const char *title, int nbins, float xmin, float xmax) |
book a 1D histogram, either with DQM or plain root. More... | |
TH2F * | book2D (const char *histname, const char *title, int nbinsx, float xmin, float xmax, int nbinsy, float ymin, float ymax) |
book a 2D histogram, either with DQM or plain root. More... | |
TH2F * | book2D (const char *histname, const char *title, int nbinsx, float *xbins, int nbinsy, float ymin, float ymax) |
book a 2D histogram, either with DQM or plain root. More... | |
TProfile * | bookProfile (const char *histname, const char *title, int nbinsx, float xmin, float xmax, float ymin, float ymax, const char *option) |
book a TProfile histogram, either with DQM or plain root. More... | |
TProfile * | bookProfile (const char *histname, const char *title, int nbinsx, float *xbins, float ymin, float ymax, const char *option) |
book a TProfile histogram, either with DQM or plain root. More... | |
Definition at line 11 of file MatchMETBenchmarkAnalyzer.h.
MatchMETBenchmarkAnalyzer::MatchMETBenchmarkAnalyzer | ( | const edm::ParameterSet & | parameterSet | ) |
Definition at line 15 of file MatchMETBenchmarkAnalyzer.cc.
References edm::ParameterSet::getParameter(), BenchmarkAnalyzer::inputLabel_, matchedInputLabel_, myColl_, and myMatchColl_.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 39 of file MatchMETBenchmarkAnalyzer.cc.
References runEdmFileComparison::collection, MatchMETBenchmark::fillOne(), edm::Event::getByToken(), myColl_, and myMatchColl_.
|
virtual |
Implements BenchmarkAnalyzer.
Definition at line 31 of file MatchMETBenchmarkAnalyzer.cc.
References BenchmarkAnalyzer::beginJob(), and MatchMETBenchmark::setup().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 52 of file MatchMETBenchmarkAnalyzer.cc.
|
protected |
Definition at line 23 of file MatchMETBenchmarkAnalyzer.h.
Referenced by MatchMETBenchmarkAnalyzer().
|
protected |
Definition at line 21 of file MatchMETBenchmarkAnalyzer.h.
Referenced by analyze(), and MatchMETBenchmarkAnalyzer().
|
protected |
Definition at line 22 of file MatchMETBenchmarkAnalyzer.h.
Referenced by analyze(), and MatchMETBenchmarkAnalyzer().