Go to the documentation of this file.
17 setRange(0.0, 10e10, -10.0, 10.0, -3.14, 3.14);
100 "p_{T}_ref;p_{T} (GeV)",
107 "p_{T}_gen;p_{T} (GeV)",
114 if (etaPS.getParameter<
bool>(
"switchOn")) {
118 etaPS.getParameter<int32_t>(
"nBin"),
119 etaPS.getParameter<
double>(
"xMin"),
120 etaPS.getParameter<
double>(
"xMax"));
125 etaPS.getParameter<int32_t>(
"nBin"),
126 etaPS.getParameter<
double>(
"xMin"),
127 etaPS.getParameter<
double>(
"xMax"));
131 if (phiPS.getParameter<
bool>(
"switchOn")) {
135 phiPS.getParameter<int32_t>(
"nBin"),
136 phiPS.getParameter<
double>(
"xMin"),
137 phiPS.getParameter<
double>(
"xMax"));
142 phiPS.getParameter<int32_t>(
"nBin"),
143 phiPS.getParameter<
double>(
"xMin"),
144 phiPS.getParameter<
double>(
"xMax"));
152 dR.getParameter<int32_t>(
"nBin"),
153 dR.getParameter<
double>(
"xMin"),
154 dR.getParameter<
double>(
"xMax"));
void setup(DQMStore::IBooker &b)
book histograms
bool createEfficiencyHistos_
void setParameters(Mode mode)
void setRange(float ptMin, float ptMax, float etaMin, float etaMax, float phiMin, float phiMax)
void setParameters(float dRMax, bool matchCharge, Benchmark::Mode mode, float ptmin, float ptmax, float etamin, float etamax, float phimin, float phimax, bool refHistoFlag)
set the parameters locally
CandidateBenchmark candBench_
void setup(DQMStore::IBooker &b)
book histograms
bool createReferenceHistos_
MatchCandidateBenchmark matchCandBench_
void setDirectory(TDirectory *dir) override
set directory (to use in ROOT)
void fillOne(const reco::Candidate &cand)
void setup(DQMStore::IBooker &b)
book histograms
PFCandidateMonitor(float dRMax=0.3, bool matchCharge=true, Benchmark::Mode mode=Benchmark::DEFAULT)
virtual void setDirectory(TDirectory *dir)
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 ...
ParameterSet const & parameterSet(Provenance const &provenance, ProcessHistory const &history)
~PFCandidateMonitor() override
T getParameter(std::string const &) const