CMS 3D CMS Logo

ContainerSingleProf2D.cc
Go to the documentation of this file.
2 
3 namespace hcaldqm
4 {
6  {
7  _qx = NULL;
8  _qy = NULL;
9  _qz = NULL;
10  }
11 
13  Quantity *qx, Quantity *qy, Quantity *qz):
14  ContainerSingle2D(folder, qx, qy, qz)
15  {
19  }
20 
22  folder, Quantity *qx, Quantity *qy, Quantity *qz,
23  int debug/*=0*/)
24  {
25  ContainerSingle2D::initialize(folder, qx, qy, qz, debug);
29  }
30 
32  folder, std::string const& qname,
33  Quantity *qx, Quantity *qy, Quantity *qz,
34  int debug/*=0*/)
35  {
36  ContainerSingle2D::initialize(folder, qname, qx, qy, qz, debug);
40  }
41 
43  std::string subsystem, std::string aux)
44  {
45  ib.setCurrentFolder(subsystem+"/"+_folder+"/"+_qname);
46  _me = ib.bookProfile2D(_qname+(aux==""?aux:"_"+aux),
47  _qname+(aux==""?aux:" "+aux),
48  _qx->nbins(), _qx->min(), _qx->max(),
49  _qy->nbins(), _qy->min(), _qy->max(),
50  _qz->min(), _qz->max());
51  customize();
52  }
53 
54  /* virtual */ void ContainerSingleProf2D::book(DQMStore *store,
55  std::string subsystem, std::string aux)
56  {
57  store->setCurrentFolder(subsystem+"/"+_folder+"/"+_qname);
58  _me = store->bookProfile2D(_qname+(aux==""?aux:"_"+aux),
59  _qname+(aux==""?aux:" "+aux),
60  _qx->nbins(), _qx->min(), _qx->max(),
61  _qy->nbins(), _qy->min(), _qy->max(),
62  _qz->min(), _qz->max());
63  customize();
64  }
65 }
66 
67 
68 
virtual void setAxisType(AxisType at)
Definition: Quantity.h:49
virtual double max()
Definition: Quantity.h:76
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
#define NULL
Definition: scimark2.h:8
virtual void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
MonitorElement * bookProfile2D(Args &&...args)
Definition: DQMStore.h:163
std::string _folder
Definition: Container.h:42
#define debug
Definition: HDRShower.cc:19
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
virtual void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
virtual double min()
Definition: Quantity.h:75
std::string _qname
Definition: Container.h:43
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:740
ib
Definition: cuy.py:660
MonitorElement * bookProfile2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ, const char *option="s")
Definition: DQMStore.cc:1492