CMS 3D CMS Logo

ContainerS.h
Go to the documentation of this file.
1 #ifndef ContainerS_h
2 #define ContainerS_h
3 
6 
7 namespace hcaldqm {
8  class ContainerS : public Container {
9  public:
12  ~ContainerS() override {}
13 
14  void initialize(std::string const &folder, std::string const &name, int debug = 0) override {
15  _folder = folder;
16  _qname = name;
18  }
19 
20  virtual void fill(std::string const &x) { _me->Fill((std::string &)x); }
21 
22  virtual void book(DQMStore::IBooker &ib, std::string subsystem = "Hcal", std::string aux = "") {
23  ib.setCurrentFolder(subsystem + "/" + _folder + aux);
24  _me = ib.bookString(_qname, "NameToStart");
25  }
26 
27  protected:
29  };
30 } // namespace hcaldqm
31 
32 #endif
void Fill(long long x)
void set(std::string const &name, int debug=0)
Definition: Logger.h:29
virtual void fill(std::string const &x)
Definition: ContainerS.h:20
MonitorElement * _me
Definition: ContainerS.h:28
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
Definition: ContainerS.h:22
std::string _folder
Definition: Container.h:37
~ContainerS() override
Definition: ContainerS.h:12
#define debug
Definition: HDRShower.cc:19
ContainerS(std::string const &folder, std::string const &name)
Definition: ContainerS.h:11
void initialize(std::string const &folder, std::string const &name, int debug=0) override
Definition: ContainerS.h:14
std::string _qname
Definition: Container.h:38
float x
ib
Definition: cuy.py:661