CMS 3D CMS Logo

ContainerI.h
Go to the documentation of this file.
1 #ifndef ContainerI_h
2 #define ContainerI_h
3 
5 
6 namespace hcaldqm {
7  class ContainerI : public Container {
8  public:
11  ~ContainerI() override {}
12 
13  void initialize(std::string const &folder, std::string const &name, int debug = 0) override {
14  _folder = folder;
15  _qname = name;
17  }
18 
19  virtual void fill(int x) { _me->Fill(x); }
20 
21  virtual void book(DQMStore::IBooker &ib, std::string subsystem = "Hcal", std::string aux = "") {
22  ib.setCurrentFolder(subsystem + "/" + _folder + aux);
23  _me = ib.bookInt(_qname);
24  }
25 
26  protected:
28  };
29 } // namespace hcaldqm
30 
31 #endif
hcal_dqm_sourceclient-live_cfg.subsystem
subsystem
Definition: hcal_dqm_sourceclient-live_cfg.py:16
Container.h
printsummarytable.folder
folder
Definition: printsummarytable.py:7
hcaldqm
Definition: Constants.h:8
hcaldqm::ContainerI::fill
virtual void fill(int x)
Definition: ContainerI.h:19
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
hcaldqm::Container::_folder
std::string _folder
Definition: Container.h:37
hcaldqm::ContainerI::~ContainerI
~ContainerI() override
Definition: ContainerI.h:11
hcaldqm::Container
Definition: Container.h:21
debug
#define debug
Definition: HDRShower.cc:19
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
hcaldqm::ContainerI::initialize
void initialize(std::string const &folder, std::string const &name, int debug=0) override
Definition: ContainerI.h:13
hcaldqm::ContainerI::_me
MonitorElement * _me
Definition: ContainerI.h:27
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
hcaldqm::ContainerI::ContainerI
ContainerI(std::string const &folder, std::string const &name)
Definition: ContainerI.h:10
hcaldqm::Container::_logger
Logger _logger
Definition: Container.h:39
printConversionInfo.aux
aux
Definition: printConversionInfo.py:19
hcaldqm::ContainerI::book
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
Definition: ContainerI.h:21
cuy.ib
ib
Definition: cuy.py:662
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
Logger::set
void set(std::string const &name, int debug=0)
Definition: Logger.h:29
dqm::implementation::IBooker
Definition: DQMStore.h:43
hcaldqm::ContainerI
Definition: ContainerI.h:7
hcaldqm::Container::_qname
std::string _qname
Definition: Container.h:38
hcaldqm::ContainerI::ContainerI
ContainerI()
Definition: ContainerI.h:9