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
 

Detailed Description

Definition at line 9 of file ContainerS.h.

Constructor & Destructor Documentation

hcaldqm::ContainerS::ContainerS ( )
inline

Definition at line 12 of file ContainerS.h.

12 : Container() {}
hcaldqm::ContainerS::ContainerS ( std::string const &  folder,
std::string const &  name 
)
inline

Definition at line 13 of file ContainerS.h.

hcaldqm::ContainerS::~ContainerS ( )
inlineoverride

Definition at line 16 of file ContainerS.h.

16 {}

Member Function Documentation

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

Definition at line 31 of file ContainerS.h.

References hcaldqm::Container::_folder, _me, hcaldqm::Container::_qname, printConversionInfo::aux, DQMStore::IBooker::bookString(), and DQMStore::IBooker::setCurrentFolder().

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

33  {
34  ib.setCurrentFolder(subsystem+"/"+_folder+aux);
35  _me = ib.bookString(_qname, "NameToStart");
36  }
MonitorElement * bookString(Args &&...args)
Definition: DQMStore.h:103
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
MonitorElement * _me
Definition: ContainerS.h:39
std::string _folder
Definition: Container.h:42
std::string _qname
Definition: Container.h:43
virtual void hcaldqm::ContainerS::fill ( std::string const &  x)
inlinevirtual
void hcaldqm::ContainerS::initialize ( std::string const &  folder,
std::string const &  name,
int  debug = 0 
)
inlineoverridevirtual

Reimplemented from hcaldqm::Container.

Definition at line 18 of file ContainerS.h.

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

20  {
21  _folder = folder;
22  _qname = name;
24  }
void set(std::string const &name, int debug=0)
Definition: Logger.h:41
std::string _folder
Definition: Container.h:42
#define debug
Definition: HDRShower.cc:19
std::string _qname
Definition: Container.h:43

Member Data Documentation

MonitorElement* hcaldqm::ContainerS::_me
protected

Definition at line 39 of file ContainerS.h.

Referenced by book(), and fill().