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 8 of file ContainerS.h.

Constructor & Destructor Documentation

hcaldqm::ContainerS::ContainerS ( )
inline

Definition at line 10 of file ContainerS.h.

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

Definition at line 11 of file ContainerS.h.

hcaldqm::ContainerS::~ContainerS ( )
inlineoverride

Definition at line 12 of file ContainerS.h.

12 {}

Member Function Documentation

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, DQMStore::IBooker::bookString(), and DQMStore::IBooker::setCurrentFolder().

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

22  {
23  ib.setCurrentFolder(subsystem + "/" + _folder + aux);
24  _me = ib.bookString(_qname, "NameToStart");
25  }
MonitorElement * bookString(Args &&...args)
Definition: DQMStore.h:103
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
MonitorElement * _me
Definition: ContainerS.h:28
std::string _folder
Definition: Container.h:34
std::string _qname
Definition: Container.h:35
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 14 of file ContainerS.h.

References hcaldqm::Container::_folder, hcaldqm::Container::_logger, hcaldqm::Container::_qname, debug, printsummarytable::folder, dataset::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:34
#define debug
Definition: HDRShower.cc:19
std::string _qname
Definition: Container.h:35

Member Data Documentation

MonitorElement* hcaldqm::ContainerS::_me
protected

Definition at line 28 of file ContainerS.h.

Referenced by book(), and fill().