CMS 3D CMS Logo

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

#include <ContainerI.h>

Inheritance diagram for hcaldqm::ContainerI:
hcaldqm::Container

Public Member Functions

virtual void book (DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
 
 ContainerI ()
 
 ContainerI (std::string const &folder, std::string const &name)
 
virtual void fill (int x)
 
void initialize (std::string const &folder, std::string const &name, int debug=0) override
 
 ~ContainerI () 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 7 of file ContainerI.h.

Constructor & Destructor Documentation

hcaldqm::ContainerI::ContainerI ( )
inline

Definition at line 9 of file ContainerI.h.

9 : Container() {}
hcaldqm::ContainerI::ContainerI ( std::string const &  folder,
std::string const &  name 
)
inline

Definition at line 10 of file ContainerI.h.

hcaldqm::ContainerI::~ContainerI ( )
inlineoverride

Definition at line 11 of file ContainerI.h.

11 {}

Member Function Documentation

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

Definition at line 21 of file ContainerI.h.

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

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

21  {
22  ib.setCurrentFolder(subsystem + "/" + _folder + aux);
23  _me = ib.bookInt(_qname);
24  }
MonitorElement * _me
Definition: ContainerI.h:27
MonitorElement * bookInt(Args &&...args)
Definition: DQMStore.h:104
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
std::string _folder
Definition: Container.h:34
std::string _qname
Definition: Container.h:35
virtual void hcaldqm::ContainerI::fill ( int  x)
inlinevirtual

Definition at line 19 of file ContainerI.h.

References _me, and MonitorElement::Fill().

Referenced by hcaldqm::DQTask::analyze(), and hcaldqm::DQTask::bookHistograms().

19 { _me->Fill(x); }
MonitorElement * _me
Definition: ContainerI.h:27
void Fill(long long x)
void hcaldqm::ContainerI::initialize ( std::string const &  folder,
std::string const &  name,
int  debug = 0 
)
inlineoverridevirtual

Reimplemented from hcaldqm::Container.

Definition at line 13 of file ContainerI.h.

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

13  {
14  _folder = folder;
15  _qname = name;
17  }
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::ContainerI::_me
protected

Definition at line 27 of file ContainerI.h.

Referenced by book(), and fill().