CMS 3D CMS Logo

ContainerSingleProf1D.cc
Go to the documentation of this file.
2 
3 namespace hcaldqm
4 {
5  using namespace quantity;
6  using namespace constants;
8  {
9  _qx = nullptr;
10  _qy = nullptr;
11  }
12 
14  Quantity *qx, Quantity *qy):
15  ContainerSingle1D(folder, qx, qy)
16  {
19  }
20 
22  folder, Quantity *qx, Quantity *qy,
23  int debug/*=0*/)
24  {
25  ContainerSingle1D::initialize(folder, qx, qy, debug);
28  }
29 
31  folder, std::string const& qname,
32  Quantity *qx, Quantity *qy,
33  int debug/*=0*/)
34  {
35  ContainerSingle1D::initialize(folder, qname, qx, qy, debug);
38  }
39 
41  std::string subsystem, std::string aux)
42  {
43  ib.setCurrentFolder(subsystem+"/"+_folder+"/"+_qname);
44  _me = ib.bookProfile(_qname+(aux.empty()?aux:"_"+aux),
45  _qname+(aux.empty()?aux:" "+aux),
46  _qx->nbins(), _qx->min(), _qx->max(),
47  _qy->min(), _qy->max());
48  customize();
49  }
50 }
virtual void setAxisType(AxisType at)
Definition: Quantity.h:49
quantity::Quantity * _qx
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:113
virtual double max()
Definition: Quantity.h:76
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:42
#define debug
Definition: HDRShower.cc:19
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
virtual double min()
Definition: Quantity.h:75
std::string _qname
Definition: Container.h:43
ib
Definition: cuy.py:662