CMS 3D CMS Logo

TrackerPhase2HarvestingUtil.cc
Go to the documentation of this file.
5  MonitorElement* temp = nullptr;
6  if (hpars.getParameter<bool>("switch")) {
7  temp = ibooker.book1D(hpars.getParameter<std::string>("name"),
8  hpars.getParameter<std::string>("title"),
9  hpars.getParameter<int32_t>("NxBins"),
10  hpars.getParameter<double>("xmin"),
11  hpars.getParameter<double>("xmax"));
12  }
13  return temp;
14 }
15 
17  MonitorElement* temp = nullptr;
18  if (hpars.getParameter<bool>("switch")) {
19  temp = ibooker.book2D(hpars.getParameter<std::string>("name"),
20  hpars.getParameter<std::string>("title"),
21  hpars.getParameter<int32_t>("NxBins"),
22  hpars.getParameter<double>("xmin"),
23  hpars.getParameter<double>("xmax"),
24  hpars.getParameter<int32_t>("NyBins"),
25  hpars.getParameter<double>("ymin"),
26  hpars.getParameter<double>("ymax"));
27  }
28  return temp;
29 }
30 
32  MonitorElement* temp = nullptr;
33  if (hpars.getParameter<bool>("switch")) {
34  temp = ibooker.bookProfile(hpars.getParameter<std::string>("name"),
35  hpars.getParameter<std::string>("title"),
36  hpars.getParameter<int32_t>("NxBins"),
37  hpars.getParameter<double>("xmin"),
38  hpars.getParameter<double>("xmax"),
39  hpars.getParameter<double>("ymin"),
40  hpars.getParameter<double>("ymax"));
41  }
42  return temp;
43 }
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
DQMStore
dqm::harvesting::DQMStore DQMStore
Definition: TrackerPhase2HarvestingUtil.cc:3
phase2tkharvestutil::book1DFromPSet
MonitorElement * book1DFromPSet(const edm::ParameterSet &hpars, DQMStore::IBooker &ibooker)
Definition: TrackerPhase2HarvestingUtil.cc:4
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
phase2tkharvestutil::book2DFromPSet
MonitorElement * book2DFromPSet(const edm::ParameterSet &hpars, DQMStore::IBooker &ibooker)
Definition: TrackerPhase2HarvestingUtil.cc:16
dqm::legacy::DQMStore
Definition: DQMStore.h:728
dqm::implementation::IBooker::bookProfile
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
Definition: DQMStore.h:322
edm::ParameterSet
Definition: ParameterSet.h:47
phase2tkharvestutil::bookProfile1DFromPSet
MonitorElement * bookProfile1DFromPSet(const edm::ParameterSet &hpars, DQMStore::IBooker &ibooker)
Definition: TrackerPhase2HarvestingUtil.cc:31
TrackerPhase2HarvestingUtil.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MonitorElement
dqm::harvesting::MonitorElement MonitorElement
Definition: TrackerPhase2HarvestingUtil.cc:2
dqm::implementation::IBooker::book2D
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
dqm::implementation::IBooker
Definition: DQMStore.h:43
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98