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
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::ContainerS::ContainerS
ContainerS(std::string const &folder, std::string const &name)
Definition: ContainerS.h:11
hcaldqm::ContainerS::initialize
void initialize(std::string const &folder, std::string const &name, int debug=0) override
Definition: ContainerS.h:14
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
hcaldqm::Container::_folder
std::string _folder
Definition: Container.h:37
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
Constants.h
hcaldqm::ContainerS::fill
virtual void fill(std::string const &x)
Definition: ContainerS.h:20
hcaldqm::ContainerS::ContainerS
ContainerS()
Definition: ContainerS.h:10
hcaldqm::Container::_logger
Logger _logger
Definition: Container.h:39
printConversionInfo.aux
aux
Definition: printConversionInfo.py:19
cuy.ib
ib
Definition: cuy.py:661
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
hcaldqm::ContainerS::book
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
Definition: ContainerS.h:22
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::ContainerS::~ContainerS
~ContainerS() override
Definition: ContainerS.h:12
hcaldqm::ContainerS
Definition: ContainerS.h:8
hcaldqm::Container::_qname
std::string _qname
Definition: Container.h:38
hcaldqm::ContainerS::_me
MonitorElement * _me
Definition: ContainerS.h:28