CMS 3D CMS Logo

Container.h
Go to the documentation of this file.
1 #ifndef Container_h
2 #define Container_h
3 
4 /*
5  * file: Container.h
6  * Author: Viktor Khristenko
7  *
8  * Description:
9  * Container Base class
10  *
11  *
12  */
13 
16 
17 #include <string>
18 #include <vector>
19 
20 namespace hcaldqm {
21  class Container {
22  public:
23  Container() : _folder("HcalInfo"), _qname("SomeQuantity") {}
24  Container(std::string const &folder, std::string const &qname) : _folder(folder), _qname(qname) {}
25  virtual ~Container() {}
26 
27  virtual void initialize(std::string const &folder, std::string const &qname, int debug = 0) {
28  _folder = folder;
29  _qname = qname;
31  }
32 
33  protected:
37  };
38 } // namespace hcaldqm
39 
40 #endif
Definition: Logger.h:6
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition: Container.h:27
virtual ~Container()
Definition: Container.h:25
void set(std::string const &name, int debug=0)
Definition: Logger.h:29
Container(std::string const &folder, std::string const &qname)
Definition: Container.h:24
std::string _folder
Definition: Container.h:34
#define debug
Definition: HDRShower.cc:19
std::string _qname
Definition: Container.h:35