#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) override |
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 (DQMStore::IBooker &b) |
book histograms More... | |
void | setup (DQMStore::IBooker &b, const edm::ParameterSet ¶meterSet) |
~PFMETMonitor () override | |
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 () noexcept(false) |
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 | |
typedef dqm::legacy::DQMStore | DQMStore |
enum | Mode { DEFAULT, DQMOFFLINE, VALIDATION } |
Protected Member Functions inherited from Benchmark | |
TH1F * | book1D (DQMStore::IBooker &b, const char *histname, const char *title, int nbins, float xmin, float xmax) |
book a 1D histogram, either with DQM or plain root depending if DQM_ has been initialized in a child analyzer or not. More... | |
TH2F * | book2D (DQMStore::IBooker &b, 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 depending if DQM_ has been initialized in a child analyzer or not. More... | |
TH2F * | book2D (DQMStore::IBooker &b, 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 depending if DQM_ has been initialized in a child analyzer or not. More... | |
TProfile * | bookProfile (DQMStore::IBooker &b, const char *histname, const char *title, int nbinsx, float *xbins, float ymin, float ymax, const char *option) |
book a TProfile, either through IBooker or plain root More... | |
TProfile * | bookProfile (DQMStore::IBooker &b, 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 depending if DQM_ has been initialized in a child analyzer or not. 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_.
|
override |
Definition at line 41 of file PFMETMonitor.cc.
void PFMETMonitor::fillOne | ( | const reco::MET & | met, |
const reco::MET & | matchedMet, | ||
float & | minVal, | ||
float & | maxVal | ||
) |
Definition at line 330 of file PFMETMonitor.cc.
References candBench_, createMETSpecificHistos_, delta_ex_, delta_ex_VS_set_, delta_set_Over_set_VS_set_, delta_set_VS_set_, CandidateBenchmark::fillOne(), MatchCandidateBenchmark::fillOne(), histogramBooked_, Benchmark::isInRange(), matchCandBench_, BTaggingMonitor_cfi::met, 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::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 | ||
) |
|
overridevirtual |
set directory (to use in ROOT)
Reimplemented from Benchmark.
Definition at line 323 of file PFMETMonitor.cc.
References candBench_, DeadROC_duringRun::dir, 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 63 of file PFMETMonitor.cc.
References candBench_, createMETSpecificHistos_, muonTiming_cfi::etamax, muonTiming_cfi::etamin, matchCandBench_, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, Benchmark::mode_, phimax, phimin, muonTiming_cfi::ptmax, ptmin, 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 46 of file PFMETMonitor.cc.
References candBench_, createMETSpecificHistos_, edm::ParameterSet::getParameter(), matchCandBench_, Benchmark::mode_, edm::parameterSet(), Benchmark::setParameters(), and Benchmark::setRange().
void PFMETMonitor::setup | ( | DQMStore::IBooker & | b | ) |
book histograms
Definition at line 222 of file PFMETMonitor.cc.
References b, 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::bookHistograms().
void PFMETMonitor::setup | ( | DQMStore::IBooker & | b, |
const edm::ParameterSet & | parameterSet | ||
) |
Definition at line 83 of file PFMETMonitor.cc.
References b, 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_, edm::parameterSet(), 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 61 of file PFMETMonitor.h.
Referenced by fillOne(), setDirectory(), setParameters(), and setup().
|
protected |
Definition at line 64 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), setParameters(), and setup().
|
protected |
Definition at line 48 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 49 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 50 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 65 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 62 of file PFMETMonitor.h.
Referenced by fillOne(), setDirectory(), setParameters(), and setup().
|
protected |
Definition at line 53 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 54 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 57 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 59 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().
|
protected |
Definition at line 58 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 47 of file PFMETMonitor.h.
Referenced by fillOne(), PFMETMonitor(), and setup().