test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ContainerD.h
Go to the documentation of this file.
1 #ifndef ContainerD_h
2 #define ContainerD_h
3 
5 
6 namespace hcaldqm
7 {
8  using namespace constants;
9  class ContainerD : public Container
10  {
11  public:
13  Container()
14  {}
16  Container(folder, name)
17  {}
18  virtual ~ContainerD() {}
19 
20  virtual void initialize(std::string const& folder,
21  std::string const& name, int debug=0)
22  {
23  _folder = folder;
24  _qname = name;
25  _logger.set(_qname, debug);
26  }
27 
28  virtual void fill(double x)
29  {
30  _me->Fill(x);
31  }
32 
33  virtual void book(DQMStore::IBooker &ib,
35  {
36  ib.setCurrentFolder(subsystem+"/"+_folder+aux);
37  _me = ib.bookFloat(_qname);
38  }
39 
40  protected:
42  };
43 }
44 
45 #endif
46 
47 
48 
49 
50 
51 
52 
53 
54 
55 
56 
57 
58 
59 
60 
61 
ContainerD(std::string const &folder, std::string const &name)
Definition: ContainerD.h:15
int ib
Definition: cuy.py:660
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
Definition: ContainerD.h:33
virtual void initialize(std::string const &folder, std::string const &name, int debug=0)
Definition: ContainerD.h:20
MonitorElement * _me
Definition: ContainerD.h:41
#define debug
Definition: HDRShower.cc:19
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:276
virtual ~ContainerD()
Definition: ContainerD.h:18
virtual void fill(double x)
Definition: ContainerD.h:28
MonitorElement * bookFloat(Args &&...args)
Definition: DQMStore.h:109
tuple folder
Histograms Source for live online DQM in P5