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::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)
 
virtual void initialize (std::string const &folder, std::string const &name, int debug=0)
 
virtual ~ContainerS ()
 
- Public Member Functions inherited from hcaldqm::Container
 Container ()
 
 Container (std::string const &folder, std::string const &name)
 
virtual ~Container ()
 

Protected Attributes

MonitorElement_me
 
- Protected Attributes inherited from hcaldqm::Container
std::string _folder
 
Logger _logger
 
std::string _name
 

Detailed Description

Definition at line 10 of file ContainerS.h.

Constructor & Destructor Documentation

hcaldqm::ContainerS::ContainerS ( )
inline

Definition at line 13 of file ContainerS.h.

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

Definition at line 16 of file ContainerS.h.

16  :
17  Container(folder, name)
18  {}
virtual hcaldqm::ContainerS::~ContainerS ( )
inlinevirtual

Definition at line 19 of file ContainerS.h.

19 {}

Member Function Documentation

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

Definition at line 34 of file ContainerS.h.

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

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

36  {
38  _me = ib.bookString(_name, "NameToStart");
39  }
MonitorElement * bookString(Args &&...args)
Definition: DQMStore.h:97
MonitorElement * _me
Definition: ContainerS.h:42
std::string _folder
Definition: Container.h:42
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:273
std::string _name
Definition: Container.h:43
virtual void hcaldqm::ContainerS::fill ( std::string const &  x)
inlinevirtual

Definition at line 29 of file ContainerS.h.

References AlCaHLTBitMon_QueryRunRegistry::string.

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

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

Reimplemented from hcaldqm::Container.

Definition at line 21 of file ContainerS.h.

References debug, and mergeVDriftHistosByStation::name.

23  {
24  _folder = folder;
25  _name = name;
27  }
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 _name
Definition: Container.h:43

Member Data Documentation

MonitorElement* hcaldqm::ContainerS::_me
protected

Definition at line 42 of file ContainerS.h.