38 pt_ =
book1D(
b,
"pt_",
"pt_;p_{T} (GeV)", ptPS.
n, ptPS.
m, ptPS.
M);
62 if (etaPS.getParameter<
bool>(
"switchOn")) {
66 etaPS.getParameter<int32_t>(
"nBin"),
67 etaPS.getParameter<
double>(
"xMin"),
68 etaPS.getParameter<
double>(
"xMax"));
70 if (phiPS.getParameter<
bool>(
"switchOn")) {
74 phiPS.getParameter<int32_t>(
"nBin"),
75 phiPS.getParameter<
double>(
"xMin"),
76 phiPS.getParameter<
double>(
"xMax"));
78 if (chPS.getParameter<
bool>(
"switchOn")) {
82 chPS.getParameter<int32_t>(
"nBin"),
83 chPS.getParameter<
double>(
"xMin"),
84 chPS.getParameter<
double>(
"xMax"));
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 ...
T getParameter(std::string const &) const
void fillOne(const reco::Candidate &candidate)
fill histograms with a given particle
CandidateBenchmark(Mode mode)
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
TH1F * pdgId_
COLIN add this histo.
bool isInRange(float pt, float eta, float phi) const
void setup(DQMStore::IBooker &b)
book histograms
~CandidateBenchmark() override