Main Page
Namespaces
Classes
Package Documentation
DQM
HcalCommon
interface
Container.h
Go to the documentation of this file.
1
#ifndef Container_h
2
#define Container_h
3
4
/*
5
* file: Container.h
6
* Author: Viktor Khristenko
7
*
8
* Description:
9
* Container Base class
10
*
11
*
12
*/
13
14
#include "
DQM/HcalCommon/interface/HcalCommonHeaders.h
"
15
#include "
DQM/HcalCommon/interface/Logger.h
"
16
17
#include <vector>
18
#include <string>
19
20
namespace
hcaldqm
21
{
22
class
Container
23
{
24
public
:
25
Container
():
26
_folder
(
"HcalInfo"
),
_qname
(
"SomeQuantity"
)
27
{}
28
Container
(
std::string
const
&
folder
,
std::string
const
& qname):
29
_folder
(folder),
_qname
(qname)
30
{}
31
virtual
~Container
() {}
32
33
virtual
void
initialize
(
std::string
const
&
folder
,
34
std::string
const
& qname,
int
debug
=0)
35
{
36
_folder
=
folder
;
37
_qname
= qname;
38
_logger
.
set
(
_qname
,
debug
);
39
}
40
41
protected
:
42
std::string
_folder
;
43
std::string
_qname
;
44
Logger
_logger
;
45
};
46
}
47
48
49
#endif
Logger
Definition:
Logger.h:6
hcaldqm::Container::initialize
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition:
Container.h:33
hcaldqm::Container::_logger
Logger _logger
Definition:
Container.h:44
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
hcaldqm::Container::~Container
virtual ~Container()
Definition:
Container.h:31
Logger::set
void set(std::string const &name, int debug=0)
Definition:
Logger.h:41
hcaldqm::Container::Container
Container(std::string const &folder, std::string const &qname)
Definition:
Container.h:28
printsummarytable.folder
folder
Definition:
printsummarytable.py:7
hcaldqm::Container::_folder
std::string _folder
Definition:
Container.h:42
hcaldqm::Container
Definition:
Container.h:22
debug
#define debug
Definition:
HDRShower.cc:19
hcaldqm
Definition:
Constants.h:8
Logger.h
HcalCommonHeaders.h
hcaldqm::Container::Container
Container()
Definition:
Container.h:25
hcaldqm::Container::_qname
std::string _qname
Definition:
Container.h:43
Generated for CMSSW Reference Manual by
1.8.11