CMS 3D CMS Logo

ContainerSingleProf1D.cc
Go to the documentation of this file.
2 
3 namespace hcaldqm
4 {
6  {
7  _qx = NULL;
8  _qy = NULL;
9  }
10 
12  Quantity *qx, Quantity *qy):
13  ContainerSingle1D(folder, qx, qy)
14  {
17  }
18 
20  folder, Quantity *qx, Quantity *qy,
21  int debug/*=0*/)
22  {
23  ContainerSingle1D::initialize(folder, qx, qy, debug);
26  }
27 
29  folder, std::string const& qname,
30  Quantity *qx, Quantity *qy,
31  int debug/*=0*/)
32  {
33  ContainerSingle1D::initialize(folder, qname, qx, qy, debug);
36  }
37 
39  std::string subsystem, std::string aux)
40  {
41  ib.setCurrentFolder(subsystem+"/"+_folder+"/"+_qname);
42  _me = ib.bookProfile(_qname+(aux==""?aux:"_"+aux),
43  _qname+(aux==""?aux:" "+aux),
44  _qx->nbins(), _qx->min(), _qx->max(),
45  _qy->min(), _qy->max());
46  customize();
47  }
48 
49  /* virtual */ void ContainerSingleProf1D::book(DQMStore *store,
50  std::string subsystem, std::string aux)
51  {
52  store->setCurrentFolder(subsystem+"/"+_folder+"/"+_qname);
53  _me = store->bookProfile(_qname+(aux==""?aux:"_"+aux),
54  _qname+(aux==""?aux:" "+aux),
55  _qx->nbins(), _qx->min(), _qx->max(),
56  _qy->min(), _qy->max());
57  customize();
58  }
59 }
60 
61 
62 
virtual void initialize(std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
virtual void setAxisType(AxisType at)
Definition: Quantity.h:49
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:157
virtual double max()
Definition: Quantity.h:76
virtual void initialize(std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
#define NULL
Definition: scimark2.h:8
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1349
std::string _folder
Definition: Container.h:42
#define debug
Definition: HDRShower.cc:19
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
virtual double min()
Definition: Quantity.h:75
std::string _qname
Definition: Container.h:43
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:741
ib
Definition: cuy.py:660