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  :
13  Container()
14  {}
hcaldqm::ContainerS::ContainerS ( std::string const &  folder,
std::string const &  name 
)
inline

Definition at line 15 of file ContainerS.h.

hcaldqm::ContainerS::~ContainerS ( )
inlineoverride

Definition at line 18 of file ContainerS.h.

18 {}

Member Function Documentation

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

Definition at line 33 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().

35  {
36  ib.setCurrentFolder(subsystem+"/"+_folder+aux);
37  _me = ib.bookString(_qname, "NameToStart");
38  }
MonitorElement * bookString(Args &&...args)
Definition: DQMStore.h:100
MonitorElement * _me
Definition: ContainerS.h:41
std::string _folder
Definition: Container.h:42
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
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 20 of file ContainerS.h.

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

22  {
23  _folder = folder;
24  _qname = name;
26  }
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 41 of file ContainerS.h.

Referenced by book(), and fill().