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
using namespace
quantity
;
6
using namespace
constants
;
7
ContainerSingleProf1D::ContainerSingleProf1D
()
8
{
9
_qx =
nullptr
;
10
_qy =
nullptr
;
11
}
12
13
ContainerSingleProf1D::ContainerSingleProf1D
(
std::string
const
&
folder
,
14
Quantity
*qx,
Quantity
*qy):
15
ContainerSingle1D
(folder, qx, qy)
16
{
17
_qx
->
setAxisType
(
quantity::fXAxis
);
18
_qy
->
setAxisType
(
quantity::fYAxis
);
19
}
20
21
/* virtual */
void
ContainerSingleProf1D::initialize
(
std::string
const
&
22
folder
,
Quantity
*qx,
Quantity
*qy,
23
int
debug
/*=0*/
)
24
{
25
ContainerSingle1D::initialize
(folder, qx, qy, debug);
26
_qx
->
setAxisType
(
quantity::fXAxis
);
27
_qy
->
setAxisType
(
quantity::fYAxis
);
28
}
29
30
/* virtual */
void
ContainerSingleProf1D::initialize
(
std::string
const
&
31
folder
,
std::string
const
& qname,
32
Quantity
*qx,
Quantity
*qy,
33
int
debug
/*=0*/
)
34
{
35
ContainerSingle1D::initialize
(folder, qname, qx, qy, debug);
36
_qx
->
setAxisType
(
quantity::fXAxis
);
37
_qy
->
setAxisType
(
quantity::fYAxis
);
38
}
39
40
/* virtual */
void
ContainerSingleProf1D::book
(
DQMStore::IBooker
&
ib
,
41
std::string
subsystem,
std::string
aux
)
42
{
43
ib.
setCurrentFolder
(subsystem+
"/"
+
_folder
+
"/"
+
_qname
);
44
_me
= ib.
bookProfile
(
_qname
+(aux.empty()?aux:
"_"
+
aux
),
45
_qname
+(aux.empty()?aux:
" "
+
aux
),
46
_qx
->
nbins
(),
_qx
->
min
(),
_qx
->
max
(),
47
_qy
->
min
(),
_qy
->
max
());
48
customize
();
49
}
50
51
/* virtual */
void
ContainerSingleProf1D::book
(
DQMStore
*store,
52
std::string
subsystem,
std::string
aux
)
53
{
54
store->
setCurrentFolder
(subsystem+
"/"
+
_folder
+
"/"
+
_qname
);
55
_me
= store->
bookProfile
(
_qname
+(aux.empty()?aux:
"_"
+
aux
),
56
_qname
+(aux.empty()?aux:
" "
+
aux
),
57
_qx
->
nbins
(),
_qx
->
min
(),
_qx
->
max
(),
58
_qy
->
min
(),
_qy
->
max
());
59
customize
();
60
}
61
}
62
63
64
hcaldqm::quantity::Quantity
Definition:
Quantity.h:36
hcaldqm::quantity::Quantity::setAxisType
virtual void setAxisType(AxisType at)
Definition:
Quantity.h:49
hcaldqm::ContainerSingle1D::_qx
quantity::Quantity * _qx
Definition:
ContainerSingle1D.h:108
DQMStore::IBooker::bookProfile
MonitorElement * bookProfile(Args &&...args)
Definition:
DQMStore.h:160
hcaldqm::quantity::Quantity::max
virtual double max()
Definition:
Quantity.h:76
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
hcaldqm::ContainerSingle1D::_qy
quantity::Quantity * _qy
Definition:
ContainerSingle1D.h:109
hcaldqm::ContainerSingleProf1D::initialize
void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0) override
Definition:
ContainerSingleProf1D.cc:21
hcaldqm::ContainerSingle1D
Definition:
ContainerSingle1D.h:19
hcaldqm::ContainerSingleProf1D::ContainerSingleProf1D
ContainerSingleProf1D()
Definition:
ContainerSingleProf1D.cc:7
DQMStore
Definition:
DQMStore.h:78
hcaldqm::ContainerSingle1D::initialize
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition:
ContainerSingle1D.cc:48
hcaldqm::ContainerSingle1D::_me
MonitorElement * _me
Definition:
ContainerSingle1D.h:107
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:1170
printConversionInfo.aux
aux
Definition:
printConversionInfo.py:18
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:274
hcaldqm
Definition:
Constants.h:8
constants
hcaldqm::ContainerSingleProf1D::book
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
Definition:
ContainerSingleProf1D.cc:40
hcaldqm::quantity::fYAxis
Definition:
Quantity.h:31
hcaldqm::quantity::Quantity::min
virtual double min()
Definition:
Quantity.h:75
tauVariables_cff.quantity
quantity
Definition:
tauVariables_cff.py:10
ContainerSingleProf1D.h
hcaldqm::Container::_qname
std::string _qname
Definition:
Container.h:43
hcaldqm::ContainerSingle1D::customize
virtual void customize()
Definition:
ContainerSingle1D.cc:89
DQMStore::IBooker
Definition:
DQMStore.h:93
hcaldqm::quantity::Quantity::nbins
virtual int nbins()
Definition:
Quantity.h:73
DQMStore::setCurrentFolder
void setCurrentFolder(const std::string &fullpath)
Definition:
DQMStore.cc:545
cuy.ib
ib
Definition:
cuy.py:661
Generated for CMSSW Reference Manual by
1.8.11