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
 

Detailed Description

Definition at line 8 of file ContainerD.h.

Constructor & Destructor Documentation

hcaldqm::ContainerD::ContainerD ( )
inline

Definition at line 11 of file ContainerD.h.

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

Definition at line 14 of file ContainerD.h.

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

Definition at line 17 of file ContainerD.h.

17 {}

Member Function Documentation

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

Definition at line 32 of file ContainerD.h.

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

34  {
35  ib.setCurrentFolder(subsystem+"/"+_folder+aux);
36  _me = ib.bookFloat(_qname);
37  }
std::string _folder
Definition: Container.h:42
MonitorElement * _me
Definition: ContainerD.h:40
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
std::string _qname
Definition: Container.h:43
MonitorElement * bookFloat(Args &&...args)
Definition: DQMStore.h:112
virtual void hcaldqm::ContainerD::fill ( double  x)
inlinevirtual

Definition at line 27 of file ContainerD.h.

References _me, and MonitorElement::Fill().

28  {
29  _me->Fill(x);
30  }
void Fill(long long x)
MonitorElement * _me
Definition: ContainerD.h:40
virtual void hcaldqm::ContainerD::initialize ( std::string const &  folder,
std::string const &  name,
int  debug = 0 
)
inlinevirtual

Reimplemented from hcaldqm::Container.

Definition at line 19 of file ContainerD.h.

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

21  {
22  _folder = folder;
23  _qname = name;
25  }
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::ContainerD::_me
protected

Definition at line 40 of file ContainerD.h.

Referenced by book(), and fill().