CMS 3D CMS Logo

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