CMS 3D CMS Logo

ContainerD.h
Go to the documentation of this file.
1 #ifndef ContainerD_h
2 #define ContainerD_h
3 
5 
6 namespace hcaldqm
7 {
8  class ContainerD : public Container
9  {
10  public:
12  Container()
13  {}
16  {}
17  virtual ~ContainerD() {}
18 
19  virtual void initialize(std::string const& folder,
20  std::string const& name, int debug=0)
21  {
22  _folder = folder;
23  _qname = name;
25  }
26 
27  virtual void fill(double x)
28  {
29  _me->Fill(x);
30  }
31 
32  virtual void book(DQMStore::IBooker &ib,
34  {
35  ib.setCurrentFolder(subsystem+"/"+_folder+aux);
36  _me = ib.bookFloat(_qname);
37  }
38 
39  protected:
41  };
42 }
43 
44 #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::ContainerD::ContainerD
ContainerD(std::string const &folder, std::string const &name)
Definition: ContainerD.h:14
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
hcaldqm::ContainerD::book
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
Definition: ContainerD.h:32
hcaldqm::Container::_folder
std::string _folder
Definition: Container.h:37
hcaldqm::Container
Definition: Container.h:21
debug
#define debug
Definition: HDRShower.cc:19
hcaldqm::ContainerD::ContainerD
ContainerD()
Definition: ContainerD.h:11
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
hcaldqm::ContainerD::initialize
virtual void initialize(std::string const &folder, std::string const &name, int debug=0)
Definition: ContainerD.h:19
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
hcaldqm::ContainerD::fill
virtual void fill(double x)
Definition: ContainerD.h:27
hcaldqm::ContainerD
Definition: ContainerD.h:8
hcaldqm::Container::_logger
Logger _logger
Definition: Container.h:39
printConversionInfo.aux
aux
Definition: printConversionInfo.py:19
hcaldqm::ContainerD::_me
MonitorElement * _me
Definition: ContainerD.h:40
hcaldqm::ContainerD::~ContainerD
virtual ~ContainerD()
Definition: ContainerD.h:17
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::Container::_qname
std::string _qname
Definition: Container.h:38