CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
hcaldqm::ContainerS Class Reference

#include <ContainerS.h>

Inheritance diagram for hcaldqm::ContainerS:
hcaldqm::Container

Public Member Functions

virtual void book (DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
 
 ContainerS ()
 
 ContainerS (std::string const &folder, std::string const &name)
 
virtual void fill (std::string const &x)
 
void initialize (std::string const &folder, std::string const &name, int debug=0) override
 
 ~ContainerS () override
 
- Public Member Functions inherited from hcaldqm::Container
 Container ()
 
 Container (std::string const &folder, std::string const &qname)
 
virtual ~Container ()
 

Protected Attributes

MonitorElement_me
 
- Protected Attributes inherited from hcaldqm::Container
std::string _folder
 
Logger _logger
 
std::string _qname
 

Additional Inherited Members

- Public Types inherited from hcaldqm::Container
typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 

Detailed Description

Definition at line 8 of file ContainerS.h.

Constructor & Destructor Documentation

◆ ContainerS() [1/2]

hcaldqm::ContainerS::ContainerS ( )
inline

Definition at line 10 of file ContainerS.h.

10 : Container() {}

◆ ContainerS() [2/2]

hcaldqm::ContainerS::ContainerS ( std::string const &  folder,
std::string const &  name 
)
inline

◆ ~ContainerS()

hcaldqm::ContainerS::~ContainerS ( )
inlineoverride

Definition at line 12 of file ContainerS.h.

12 {}

Member Function Documentation

◆ book()

virtual void hcaldqm::ContainerS::book ( DQMStore::IBooker ib,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
inlinevirtual

Definition at line 22 of file ContainerS.h.

References hcaldqm::Container::_folder, _me, hcaldqm::Container::_qname, printConversionInfo::aux, cuy::ib, and hcal_dqm_sourceclient-live_cfg::subsystem.

Referenced by hcaldqm::DQTask::bookHistograms().

22  {
23  ib.setCurrentFolder(subsystem + "/" + _folder + aux);
24  _me = ib.bookString(_qname, "NameToStart");
25  }
MonitorElement * _me
Definition: ContainerS.h:28
std::string _folder
Definition: Container.h:37
std::string _qname
Definition: Container.h:38
ib
Definition: cuy.py:661

◆ fill()

virtual void hcaldqm::ContainerS::fill ( std::string const &  x)
inlinevirtual

◆ initialize()

void hcaldqm::ContainerS::initialize ( std::string const &  folder,
std::string const &  name,
int  debug = 0 
)
inlineoverridevirtual

Reimplemented from hcaldqm::Container.

Definition at line 14 of file ContainerS.h.

References hcaldqm::Container::_folder, hcaldqm::Container::_logger, hcaldqm::Container::_qname, debug, printsummarytable::folder, Skims_PA_cff::name, and Logger::set().

14  {
15  _folder = folder;
16  _qname = name;
18  }
void set(std::string const &name, int debug=0)
Definition: Logger.h:29
std::string _folder
Definition: Container.h:37
#define debug
Definition: HDRShower.cc:19
std::string _qname
Definition: Container.h:38

Member Data Documentation

◆ _me

MonitorElement* hcaldqm::ContainerS::_me
protected

Definition at line 28 of file ContainerS.h.

Referenced by book(), and fill().