CMS 3D CMS Logo

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

#include <ContainerD.h>

Inheritance diagram for hcaldqm::ContainerD:
hcaldqm::Container

Public Member Functions

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

Constructor & Destructor Documentation

◆ ContainerD() [1/2]

hcaldqm::ContainerD::ContainerD ( )
inline

Definition at line 11 of file ContainerD.h.

11  :
12  Container()
13  {}

◆ ContainerD() [2/2]

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

Definition at line 14 of file ContainerD.h.

14  :
16  {}

◆ ~ContainerD()

virtual hcaldqm::ContainerD::~ContainerD ( )
inlinevirtual

Definition at line 17 of file ContainerD.h.

17 {}

Member Function Documentation

◆ book()

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

Definition at line 32 of file ContainerD.h.

34  {
35  ib.setCurrentFolder(subsystem+"/"+_folder+aux);
36  _me = ib.bookFloat(_qname);
37  }

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

◆ fill()

virtual void hcaldqm::ContainerD::fill ( double  x)
inlinevirtual

Definition at line 27 of file ContainerD.h.

28  {
29  _me->Fill(x);
30  }

References _me, and dqm::impl::MonitorElement::Fill().

◆ initialize()

virtual void hcaldqm::ContainerD::initialize ( std::string const &  folder,
std::string const &  name,
int  debug = 0 
)
inlinevirtual

Member Data Documentation

◆ _me

MonitorElement* hcaldqm::ContainerD::_me
protected

Definition at line 40 of file ContainerD.h.

Referenced by book(), and fill().

hcal_dqm_sourceclient-live_cfg.subsystem
subsystem
Definition: hcal_dqm_sourceclient-live_cfg.py:16
printsummarytable.folder
folder
Definition: printsummarytable.py:7
DDAxes::x
hcaldqm::Container::_folder
std::string _folder
Definition: Container.h:37
debug
#define debug
Definition: HDRShower.cc:19
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
hcaldqm::Container::_logger
Logger _logger
Definition: Container.h:39
printConversionInfo.aux
aux
Definition: printConversionInfo.py:19
hcaldqm::ContainerD::_me
MonitorElement * _me
Definition: ContainerD.h:40
cuy.ib
ib
Definition: cuy.py:662
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
Logger::set
void set(std::string const &name, int debug=0)
Definition: Logger.h:29
hcaldqm::Container::_qname
std::string _qname
Definition: Container.h:38
hcaldqm::Container::Container
Container()
Definition: Container.h:26