Main Page
Namespaces
Classes
Package Documentation
DQM
HcalCommon
src
ContainerSingleProf1D.cc
Go to the documentation of this file.
1
#include "
DQM/HcalCommon/interface/ContainerSingleProf1D.h
"
2
3
namespace
hcaldqm
4
{
5
ContainerSingleProf1D::ContainerSingleProf1D
()
6
{
7
_qx
=
NULL
;
8
_qy
=
NULL
;
9
}
10
11
ContainerSingleProf1D::ContainerSingleProf1D
(
std::string
const
&
folder
,
12
Quantity
*qx,
Quantity
*qy):
13
ContainerSingle1D
(folder, qx, qy)
14
{
15
_qx
->
setAxisType
(
quantity::fXAxis
);
16
_qy
->
setAxisType
(
quantity::fYAxis
);
17
}
18
19
/* virtual */
void
ContainerSingleProf1D::initialize
(
std::string
const
&
20
folder
,
Quantity
*qx,
Quantity
*qy,
21
int
debug
/*=0*/
)
22
{
23
ContainerSingle1D::initialize
(folder, qx, qy, debug);
24
_qx
->
setAxisType
(
quantity::fXAxis
);
25
_qy
->
setAxisType
(
quantity::fYAxis
);
26
}
27
28
/* virtual */
void
ContainerSingleProf1D::initialize
(
std::string
const
&
29
folder
,
std::string
const
& qname,
30
Quantity
*qx,
Quantity
*qy,
31
int
debug
/*=0*/
)
32
{
33
ContainerSingle1D::initialize
(folder, qname, qx, qy, debug);
34
_qx
->
setAxisType
(
quantity::fXAxis
);
35
_qy
->
setAxisType
(
quantity::fYAxis
);
36
}
37
38
/* virtual */
void
ContainerSingleProf1D::book
(
DQMStore::IBooker
&
ib
,
39
std::string
subsystem,
std::string
aux
)
40
{
41
ib.
setCurrentFolder
(subsystem+
"/"
+
_folder
+
"/"
+
_qname
);
42
_me
= ib.
bookProfile
(
_qname
+(aux==
""
?aux:
"_"
+aux),
43
_qname
+(aux==
""
?aux:
" "
+aux),
44
_qx
->
nbins
(),
_qx
->
min
(),
_qx
->
max
(),
45
_qy
->
min
(),
_qy
->
max
());
46
customize
();
47
}
48
49
/* virtual */
void
ContainerSingleProf1D::book
(
DQMStore
*store,
50
std::string
subsystem,
std::string
aux
)
51
{
52
store->
setCurrentFolder
(subsystem+
"/"
+
_folder
+
"/"
+
_qname
);
53
_me
= store->
bookProfile
(
_qname
+(aux==
""
?aux:
"_"
+aux),
54
_qname
+(aux==
""
?aux:
" "
+aux),
55
_qx
->
nbins
(),
_qx
->
min
(),
_qx
->
max
(),
56
_qy
->
min
(),
_qy
->
max
());
57
customize
();
58
}
59
}
60
61
62
hcaldqm::quantity::Quantity
Definition:
Quantity.h:36
hcaldqm::ContainerSingleProf1D::initialize
virtual void initialize(std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
Definition:
ContainerSingleProf1D.cc:19
hcaldqm::quantity::Quantity::setAxisType
virtual void setAxisType(AxisType at)
Definition:
Quantity.h:49
DQMStore::IBooker::bookProfile
MonitorElement * bookProfile(Args &&...args)
Definition:
DQMStore.h:157
hcaldqm::quantity::Quantity::max
virtual double max()
Definition:
Quantity.h:76
hcaldqm::ContainerSingle1D::initialize
virtual void initialize(std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
Definition:
ContainerSingle1D.cc:47
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
NULL
#define NULL
Definition:
scimark2.h:8
hcaldqm::ContainerSingle1D
Definition:
ContainerSingle1D.h:20
hcaldqm::ContainerSingleProf1D::ContainerSingleProf1D
ContainerSingleProf1D()
Definition:
ContainerSingleProf1D.cc:5
DQMStore
Definition:
DQMStore.h:75
hcaldqm::ContainerSingle1D::_me
MonitorElement * _me
Definition:
ContainerSingle1D.h:105
hcaldqm::quantity::fXAxis
Definition:
Quantity.h:30
DQMStore::bookProfile
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition:
DQMStore.cc:1345
printConversionInfo.aux
aux
Definition:
printConversionInfo.py:18
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:277
hcaldqm
Definition:
Constants.h:8
hcaldqm::quantity::fYAxis
Definition:
Quantity.h:31
hcaldqm::ContainerSingle1D::_qy
Quantity * _qy
Definition:
ContainerSingle1D.h:107
hcaldqm::quantity::Quantity::min
virtual double min()
Definition:
Quantity.h:75
ContainerSingleProf1D.h
hcaldqm::Container::_qname
std::string _qname
Definition:
Container.h:43
hcaldqm::ContainerSingle1D::customize
virtual void customize()
Definition:
ContainerSingle1D.cc:88
hcaldqm::ContainerSingle1D::_qx
Quantity * _qx
Definition:
ContainerSingle1D.h:106
hcaldqm::ContainerSingleProf1D::book
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
Definition:
ContainerSingleProf1D.cc:38
DQMStore::IBooker
Definition:
DQMStore.h:90
hcaldqm::quantity::Quantity::nbins
virtual int nbins()
Definition:
Quantity.h:73
DQMStore::setCurrentFolder
void setCurrentFolder(const std::string &fullpath)
Definition:
DQMStore.cc:737
cuy.ib
ib
Definition:
cuy.py:660
PFMuonValidation_cff.folder
folder
Definition:
PFMuonValidation_cff.py:12
Generated for CMSSW Reference Manual by
1.8.11