CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)
 
virtual void initialize (std::string const &folder, std::string const &name, int debug=0)
 
virtual ~ContainerI ()
 
- 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 ContainerI.h.

Constructor & Destructor Documentation

hcaldqm::ContainerI::ContainerI ( )
inline

Definition at line 12 of file ContainerI.h.

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

Definition at line 15 of file ContainerI.h.

15  :
16  Container(folder, name)
17  {}
virtual hcaldqm::ContainerI::~ContainerI ( )
inlinevirtual

Definition at line 18 of file ContainerI.h.

18 {}

Member Function Documentation

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

Definition at line 33 of file ContainerI.h.

References printConversionInfo::aux, DQMStore::IBooker::bookInt(), DQMStore::IBooker::setCurrentFolder(), and hcal_dqm_sourceclient-file_cfg::subsystem.

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

35  {
37  _me = ib.bookInt(_qname);
38  }
MonitorElement * _me
Definition: ContainerI.h:41
MonitorElement * bookInt(Args &&...args)
Definition: DQMStore.h:103
std::string _folder
Definition: Container.h:42
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:276
std::string _qname
Definition: Container.h:43
virtual void hcaldqm::ContainerI::fill ( int  x)
inlinevirtual

Definition at line 28 of file ContainerI.h.

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

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

Reimplemented from hcaldqm::Container.

Definition at line 20 of file ContainerI.h.

References debug, and mergeVDriftHistosByStation::name.

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::ContainerI::_me
protected

Definition at line 41 of file ContainerI.h.