#include <PFMETMonitor.h>
Public Member Functions | |
void | fillOne (const reco::MET &met, const reco::MET &matchedMet, float &minVal, float &maxVal) |
void | fillOne (const reco::MET &met, const reco::MET &matchedMet, float &minVal, float &maxVal, const edm::ParameterSet ¶meterSet) |
PFMETMonitor (Benchmark::Mode mode=Benchmark::DEFAULT) | |
void | setDirectory (TDirectory *dir) |
set directory (to use in ROOT) More... | |
void | setParameters (Benchmark::Mode mode, float ptmin, float ptmax, float etamin, float etamax, float phimin, float phimax, bool metSpHistos) |
set the parameters locally More... | |
void | setParameters (const edm::ParameterSet ¶meterSet) |
set the parameters accessing them from ParameterSet More... | |
void | setup () |
book histograms More... | |
void | setup (const edm::ParameterSet ¶meterSet) |
book histograms More... | |
virtual | ~PFMETMonitor () |
Public Member Functions inherited from Benchmark | |
Benchmark (Mode mode=DEFAULT) | |
bool | isInRange (float pt, float eta, float phi) const |
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 | |
CandidateBenchmark | candBench_ |
bool | createMETSpecificHistos_ |
TH1F * | delta_ex_ |
TH2F * | delta_ex_VS_set_ |
TH2F * | delta_set_Over_set_VS_set_ |
TH2F * | delta_set_VS_set_ |
bool | histogramBooked_ |
MatchCandidateBenchmark | matchCandBench_ |
TProfile * | profile_delta_ex_VS_set_ |
TProfile * | profile_delta_set_Over_set_VS_set_ |
TProfile * | profile_delta_set_VS_set_ |
TProfile * | profileRMS_delta_ex_VS_set_ |
TProfile * | profileRMS_delta_set_Over_set_VS_set_ |
TProfile * | profileRMS_delta_set_VS_set_ |
TH1F * | px_ |
TH1F * | sumEt_ |
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 Benchmark | |
enum | Mode { DEFAULT, DQMOFFLINE, VALIDATION } |
Static Public Attributes inherited from Benchmark | |
static DQMStore * | DQM_ = 0 |
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 PFMETMonitor.h.
PFMETMonitor::PFMETMonitor | ( | Benchmark::Mode | mode = Benchmark::DEFAULT | ) |
Definition at line 17 of file PFMETMonitor.cc.
References createMETSpecificHistos_, delta_ex_, delta_ex_VS_set_, delta_set_Over_set_VS_set_, delta_set_VS_set_, histogramBooked_, profile_delta_ex_VS_set_, profile_delta_set_Over_set_VS_set_, profile_delta_set_VS_set_, profileRMS_delta_ex_VS_set_, profileRMS_delta_set_Over_set_VS_set_, profileRMS_delta_set_VS_set_, px_, Benchmark::setRange(), and sumEt_.
|
virtual |
Definition at line 44 of file PFMETMonitor.cc.
void PFMETMonitor::fillOne | ( | const reco::MET & | met, |
const reco::MET & | matchedMet, | ||
float & | minVal, | ||
float & | maxVal | ||
) |
Definition at line 255 of file PFMETMonitor.cc.
References candBench_, createMETSpecificHistos_, delta_ex_, delta_ex_VS_set_, delta_set_Over_set_VS_set_, delta_set_VS_set_, reco::LeafCandidate::eta(), CandidateBenchmark::fillOne(), MatchCandidateBenchmark::fillOne(), histogramBooked_, Benchmark::isInRange(), matchCandBench_, reco::LeafCandidate::phi(), profile_delta_ex_VS_set_, profile_delta_set_Over_set_VS_set_, profile_delta_set_VS_set_, profileRMS_delta_ex_VS_set_, profileRMS_delta_set_Over_set_VS_set_, profileRMS_delta_set_VS_set_, reco::LeafCandidate::pt(), reco::LeafCandidate::px(), px_, reco::LeafCandidate::py(), reco::MET::sumEt(), and sumEt_.
Referenced by PFMETDQMAnalyzer::analyze().
void PFMETMonitor::fillOne | ( | const reco::MET & | met, |
const reco::MET & | matchedMet, | ||
float & | minVal, | ||
float & | maxVal, | ||
const edm::ParameterSet & | parameterSet | ||
) |
|
virtual |
set directory (to use in ROOT)
Reimplemented from Benchmark.
Definition at line 248 of file PFMETMonitor.cc.
References candBench_, matchCandBench_, and Benchmark::setDirectory().
void PFMETMonitor::setParameters | ( | Benchmark::Mode | mode, |
float | ptmin, | ||
float | ptmax, | ||
float | etamin, | ||
float | etamax, | ||
float | phimin, | ||
float | phimax, | ||
bool | metSpHistos | ||
) |
set the parameters locally
Definition at line 67 of file PFMETMonitor.cc.
References candBench_, createMETSpecificHistos_, matchCandBench_, alignBH_cfg::mode, Benchmark::mode_, Benchmark::setParameters(), and Benchmark::setRange().
Referenced by PFMETDQMAnalyzer::PFMETDQMAnalyzer().
void PFMETMonitor::setParameters | ( | const edm::ParameterSet & | parameterSet | ) |
set the parameters accessing them from ParameterSet
Definition at line 49 of file PFMETMonitor.cc.
References candBench_, createMETSpecificHistos_, edm::ParameterSet::getParameter(), matchCandBench_, Benchmark::mode_, Benchmark::setParameters(), and Benchmark::setRange().
void PFMETMonitor::setup | ( | void | ) |
book histograms
Definition at line 189 of file PFMETMonitor.cc.
References Benchmark::book1D(), Benchmark::book2D(), Benchmark::bookProfile(), candBench_, createMETSpecificHistos_, delta_ex_, delta_ex_VS_set_, delta_set_Over_set_VS_set_, delta_set_VS_set_, histogramBooked_, Benchmark::PhaseSpace::m, Benchmark::PhaseSpace::M, matchCandBench_, Benchmark::PhaseSpace::n, profile_delta_ex_VS_set_, profile_delta_set_Over_set_VS_set_, profile_delta_set_VS_set_, profileRMS_delta_ex_VS_set_, profileRMS_delta_set_Over_set_VS_set_, profileRMS_delta_set_VS_set_, px_, CandidateBenchmark::setup(), MatchCandidateBenchmark::setup(), and sumEt_.
Referenced by PFMETDQMAnalyzer::beginJob().
void PFMETMonitor::setup | ( | const edm::ParameterSet & | parameterSet | ) |
book histograms
Definition at line 81 of file PFMETMonitor.cc.
References Benchmark::book1D(), Benchmark::book2D(), Benchmark::bookProfile(), candBench_, createMETSpecificHistos_, delta_ex_, delta_ex_VS_set_, delta_set_Over_set_VS_set_, delta_set_VS_set_, edm::ParameterSet::getParameter(), histogramBooked_, matchCandBench_, profile_delta_ex_VS_set_, profile_delta_set_Over_set_VS_set_, profile_delta_set_VS_set_, profileRMS_delta_ex_VS_set_, profileRMS_delta_set_Over_set_VS_set_, profileRMS_delta_set_VS_set_, px_, CandidateBenchmark::setup(), MatchCandidateBenchmark::setup(), and sumEt_.
|
protected |
Definition at line 59 of file PFMETMonitor.h.
Referenced by fillOne(), setDirectory(), setParameters(), and setup().
|
protected |
Definition at line 62 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), setParameters(), and setup().
|
protected |
Definition at line 45 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 46 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 48 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 47 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 63 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 60 of file PFMETMonitor.h.
Referenced by fillOne(), setDirectory(), setParameters(), and setup().
|
protected |
Definition at line 50 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 52 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 51 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 54 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 56 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 55 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 43 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 44 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().