Main Page
Namespaces
Classes
Package Documentation
DQM
HcalCommon
src
ContainerSingleProf2D.cc
Go to the documentation of this file.
1
#include "
DQM/HcalCommon/interface/ContainerSingleProf2D.h
"
2
3
namespace
hcaldqm
4
{
5
ContainerSingleProf2D::ContainerSingleProf2D
()
6
{
7
_qx
=
nullptr
;
8
_qy
=
nullptr
;
9
_qz
=
nullptr
;
10
}
11
12
ContainerSingleProf2D::ContainerSingleProf2D
(
std::string
const
&
folder
,
13
Quantity
*qx,
Quantity
*qy,
Quantity
*qz):
14
ContainerSingle2D
(folder, qx, qy, qz)
15
{
16
_qx
->
setAxisType
(
quantity::fXAxis
);
17
_qy
->
setAxisType
(
quantity::fYAxis
);
18
_qz
->
setAxisType
(
quantity::fZAxis
);
19
}
20
21
/* virtual */
void
ContainerSingleProf2D::initialize
(
std::string
const
&
22
folder
,
Quantity
*qx,
Quantity
*qy,
Quantity
*qz,
23
int
debug
/*=0*/
)
24
{
25
ContainerSingle2D::initialize
(folder, qx, qy, qz, debug);
26
_qx
->
setAxisType
(
quantity::fXAxis
);
27
_qy
->
setAxisType
(
quantity::fYAxis
);
28
_qz
->
setAxisType
(
quantity::fZAxis
);
29
}
30
31
/* virtual */
void
ContainerSingleProf2D::initialize
(
std::string
const
&
32
folder
,
std::string
const
& qname,
33
Quantity
*qx,
Quantity
*qy,
Quantity
*qz,
34
int
debug
/*=0*/
)
35
{
36
ContainerSingle2D::initialize
(folder, qname, qx, qy, qz, debug);
37
_qx
->
setAxisType
(
quantity::fXAxis
);
38
_qy
->
setAxisType
(
quantity::fYAxis
);
39
_qz
->
setAxisType
(
quantity::fZAxis
);
40
}
41
42
/* virtual */
void
ContainerSingleProf2D::book
(
DQMStore::IBooker
&
ib
,
43
std::string
subsystem,
std::string
aux
)
44
{
45
ib.
setCurrentFolder
(subsystem+
"/"
+
_folder
+
"/"
+
_qname
);
46
_me
= ib.
bookProfile2D
(
_qname
+(aux==
""
?aux:
"_"
+aux),
47
_qname
+(aux==
""
?aux:
" "
+aux),
48
_qx
->
nbins
(),
_qx
->
min
(),
_qx
->
max
(),
49
_qy
->
nbins
(),
_qy
->
min
(),
_qy
->
max
(),
50
_qz
->
min
(),
_qz
->
max
());
51
customize
();
52
}
53
54
/* virtual */
void
ContainerSingleProf2D::book
(
DQMStore
*store,
55
std::string
subsystem,
std::string
aux
)
56
{
57
store->
setCurrentFolder
(subsystem+
"/"
+
_folder
+
"/"
+
_qname
);
58
_me
= store->
bookProfile2D
(
_qname
+(aux==
""
?aux:
"_"
+aux),
59
_qname
+(aux==
""
?aux:
" "
+aux),
60
_qx
->
nbins
(),
_qx
->
min
(),
_qx
->
max
(),
61
_qy
->
nbins
(),
_qy
->
min
(),
_qy
->
max
(),
62
_qz
->
min
(),
_qz
->
max
());
63
customize
();
64
}
65
}
66
67
68
hcaldqm::quantity::Quantity
Definition:
Quantity.h:36
hcaldqm::quantity::Quantity::setAxisType
virtual void setAxisType(AxisType at)
Definition:
Quantity.h:49
hcaldqm::quantity::Quantity::max
virtual double max()
Definition:
Quantity.h:76
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
hcaldqm::ContainerSingle2D::_qy
Quantity * _qy
Definition:
ContainerSingle2D.h:160
ContainerSingleProf2D.h
DQMStore
Definition:
DQMStore.h:78
hcaldqm::ContainerSingle2D::_qx
Quantity * _qx
Definition:
ContainerSingle2D.h:159
DQMStore::IBooker::bookProfile2D
MonitorElement * bookProfile2D(Args &&...args)
Definition:
DQMStore.h:166
hcaldqm::ContainerSingleProf2D::initialize
void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0) override
Definition:
ContainerSingleProf2D.cc:21
hcaldqm::quantity::fXAxis
Definition:
Quantity.h:30
printConversionInfo.aux
aux
Definition:
printConversionInfo.py:18
hcaldqm::quantity::fZAxis
Definition:
Quantity.h:32
printsummarytable.folder
folder
Definition:
printsummarytable.py:7
hcaldqm::Container::_folder
std::string _folder
Definition:
Container.h:42
debug
#define debug
Definition:
HDRShower.cc:19
DQMStore::IBooker::setCurrentFolder
void setCurrentFolder(const std::string &fullpath)
Definition:
DQMStore.cc:279
hcaldqm
Definition:
Constants.h:8
hcaldqm::ContainerSingle2D::initialize
virtual void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
Definition:
ContainerSingle2D.cc:55
hcaldqm::ContainerSingle2D
Definition:
ContainerSingle2D.h:21
hcaldqm::quantity::fYAxis
Definition:
Quantity.h:31
hcaldqm::quantity::Quantity::min
virtual double min()
Definition:
Quantity.h:75
hcaldqm::ContainerSingleProf2D::ContainerSingleProf2D
ContainerSingleProf2D()
Definition:
ContainerSingleProf2D.cc:5
hcaldqm::Container::_qname
std::string _qname
Definition:
Container.h:43
hcaldqm::ContainerSingle2D::_qz
Quantity * _qz
Definition:
ContainerSingle2D.h:161
hcaldqm::ContainerSingle2D::_me
MonitorElement * _me
Definition:
ContainerSingle2D.h:158
hcaldqm::ContainerSingle2D::customize
virtual void customize()
Definition:
ContainerSingle2D.cc:110
DQMStore::IBooker
Definition:
DQMStore.h:93
hcaldqm::ContainerSingleProf2D::book
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
Definition:
ContainerSingleProf2D.cc:42
hcaldqm::quantity::Quantity::nbins
virtual int nbins()
Definition:
Quantity.h:73
DQMStore::setCurrentFolder
void setCurrentFolder(const std::string &fullpath)
Definition:
DQMStore.cc:746
cuy.ib
ib
Definition:
cuy.py:660
DQMStore::bookProfile2D
MonitorElement * bookProfile2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ, const char *option="s")
Definition:
DQMStore.cc:1516
Generated for CMSSW Reference Manual by
1.8.11