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:
25 
26  Container() : _folder("HcalInfo"), _qname("SomeQuantity") {}
27  Container(std::string const &folder, std::string const &qname) : _folder(folder), _qname(qname) {}
28  virtual ~Container() {}
29 
30  virtual void initialize(std::string const &folder, std::string const &qname, int debug = 0) {
31  _folder = folder;
32  _qname = qname;
34  }
35 
36  protected:
40  };
41 } // namespace hcaldqm
42 
43 #endif
hcaldqm::Container::Container
Container(std::string const &folder, std::string const &qname)
Definition: Container.h:27
printsummarytable.folder
folder
Definition: printsummarytable.py:7
hcaldqm
Definition: Constants.h:8
hcaldqm::Container::initialize
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition: Container.h:30
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
hcaldqm::Container::_folder
std::string _folder
Definition: Container.h:37
HcalCommonHeaders.h
hcaldqm::Container
Definition: Container.h:21
hcaldqm::Container::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: Container.h:23
debug
#define debug
Definition: HDRShower.cc:19
dqm::legacy::DQMStore
Definition: DQMStore.h:727
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
hcaldqm::Container::~Container
virtual ~Container()
Definition: Container.h:28
hcaldqm::Container::_logger
Logger _logger
Definition: Container.h:39
Logger
Definition: Logger.h:6
Logger::set
void set(std::string const &name, int debug=0)
Definition: Logger.h:29
Logger.h
hcaldqm::Container::_qname
std::string _qname
Definition: Container.h:38
hcaldqm::Container::Container
Container()
Definition: Container.h:26
hcaldqm::Container::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: Container.h:24