CMS 3D CMS Logo

ContainerSingleProf1D.cc
Go to the documentation of this file.
2 
3 namespace hcaldqm {
4  using namespace quantity;
5  using namespace constants;
7  _qx = nullptr;
8  _qy = nullptr;
9  }
10 
12  : ContainerSingle1D(folder, qx, qy) {
15  }
16 
18  Quantity *qx,
19  Quantity *qy,
20  int debug /*=0*/) {
21  ContainerSingle1D::initialize(folder, qx, qy, debug);
24  }
25 
27  std::string const &folder, std::string const &qname, Quantity *qx, Quantity *qy, int debug /*=0*/) {
28  ContainerSingle1D::initialize(folder, qname, qx, qy, debug);
31  }
32 
34  ib.setCurrentFolder(subsystem + "/" + _folder + "/" + _qname);
35  _me = ib.bookProfile(_qname + (aux.empty() ? aux : "_" + aux),
36  _qname + (aux.empty() ? aux : " " + aux),
37  _qx->nbins(),
38  _qx->min(),
39  _qx->max(),
40  _qy->min(),
41  _qy->max());
42  customize();
43  }
44 } // namespace hcaldqm
virtual void setAxisType(AxisType at)
Definition: Quantity.h:36
quantity::Quantity * _qx
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:113
virtual double max()
Definition: Quantity.h:60
quantity::Quantity * _qy
void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0) override
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
std::string _folder
Definition: Container.h:34
#define debug
Definition: HDRShower.cc:19
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
virtual double min()
Definition: Quantity.h:59
std::string _qname
Definition: Container.h:35
ib
Definition: cuy.py:662