CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
int ib
Definition: cuy.py:661
quantity::Quantity * _qx
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
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)
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
std::string _folder
Definition: Container.h:37
#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:38