src
DQM
HcalCommon
interface
ContainerS.h
Go to the documentation of this file.
1
#ifndef ContainerS_h
2
#define ContainerS_h
3
4
#include "
DQM/HcalCommon/interface/Constants.h
"
5
#include "
DQM/HcalCommon/interface/Container.h
"
6
7
namespace
hcaldqm
{
8
class
ContainerS
:
public
Container
{
9
public
:
10
ContainerS
() :
Container
() {}
11
ContainerS
(
std::string
const
&
folder
,
std::string
const
&
name
) :
Container
(
folder
,
name
) {}
12
~ContainerS
()
override
{}
13
14
void
initialize
(
std::string
const
&
folder
,
std::string
const
&
name
,
int
debug
= 0)
override
{
15
_folder
=
folder
;
16
_qname
=
name
;
17
_logger
.
set
(
_qname
,
debug
);
18
}
19
20
virtual
void
fill
(
std::string
const
&x) {
_me
->
Fill
((
std::string
&)
x
); }
21
22
virtual
void
book
(
DQMStore::IBooker
&
ib
,
std::string
subsystem
=
"Hcal"
,
std::string
aux
=
""
) {
23
ib
.setCurrentFolder(
subsystem
+
"/"
+
_folder
+
aux
);
24
_me
=
ib
.bookString(
_qname
,
"NameToStart"
);
25
}
26
27
protected
:
28
MonitorElement
*
_me
;
29
};
30
}
// namespace hcaldqm
31
32
#endif
printsummarytable.folder
folder
Definition:
printsummarytable.py:7
hcaldqm::Container::_logger
Logger _logger
Definition:
Container.h:39
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
hcaldqm::ContainerS::ContainerS
ContainerS()
Definition:
ContainerS.h:10
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition:
MonitorElement.h:292
dqm::implementation::IBooker
Definition:
DQMStore.h:43
Logger::set
void set(std::string const &name, int debug=0)
Definition:
Logger.h:29
hcaldqm::ContainerS::fill
virtual void fill(std::string const &x)
Definition:
ContainerS.h:20
hcaldqm::ContainerS::_me
MonitorElement * _me
Definition:
ContainerS.h:28
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:466
DigiTask_cfi.subsystem
subsystem
Definition:
DigiTask_cfi.py:18
printConversionInfo.aux
aux
Definition:
printConversionInfo.py:19
hcaldqm::ContainerS::book
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
Definition:
ContainerS.h:22
hcaldqm::Container::_folder
std::string _folder
Definition:
Container.h:37
hcaldqm::Container
Definition:
Container.h:21
hcaldqm::ContainerS::~ContainerS
~ContainerS() override
Definition:
ContainerS.h:12
debug
#define debug
Definition:
HDRShower.cc:19
hcaldqm
Definition:
Constants.h:8
hcaldqm::ContainerS::ContainerS
ContainerS(std::string const &folder, std::string const &name)
Definition:
ContainerS.h:11
hcaldqm::ContainerS::initialize
void initialize(std::string const &folder, std::string const &name, int debug=0) override
Definition:
ContainerS.h:14
hcaldqm::ContainerS
Definition:
ContainerS.h:8
hcaldqm::Container::_qname
std::string _qname
Definition:
Container.h:38
x
float x
Definition:
beamSpotDipStandalone.cc:55
Container.h
Constants.h
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
cuy.ib
ib
Definition:
cuy.py:661
Generated for CMSSW Reference Manual by
1.8.14