DQM
HcalCommon
src
ContainerSingleProf1D.cc
Go to the documentation of this file.
1
#include "
DQM/HcalCommon/interface/ContainerSingleProf1D.h
"
2
3
namespace
hcaldqm
{
4
using namespace
quantity
;
5
using namespace
constants
;
6
ContainerSingleProf1D::ContainerSingleProf1D
() {
7
_qx =
nullptr
;
8
_qy =
nullptr
;
9
}
10
11
ContainerSingleProf1D::ContainerSingleProf1D
(
std::string
const
&
folder
,
Quantity
*qx,
Quantity
*qy)
12
:
ContainerSingle1D
(
folder
, qx, qy) {
13
_qx
->
setAxisType
(
quantity::fXAxis
);
14
_qy
->
setAxisType
(
quantity::fYAxis
);
15
}
16
17
/* virtual */
void
ContainerSingleProf1D::initialize
(
std::string
const
&
folder
,
18
Quantity
*qx,
19
Quantity
*qy,
20
int
debug
/*=0*/
) {
21
ContainerSingle1D::initialize
(
folder
, qx, qy,
debug
);
22
_qx
->
setAxisType
(
quantity::fXAxis
);
23
_qy
->
setAxisType
(
quantity::fYAxis
);
24
}
25
26
/* virtual */
void
ContainerSingleProf1D::initialize
(
27
std::string
const
&
folder
,
std::string
const
&qname,
Quantity
*qx,
Quantity
*qy,
int
debug
/*=0*/
) {
28
ContainerSingle1D::initialize
(
folder
, qname, qx, qy,
debug
);
29
_qx
->
setAxisType
(
quantity::fXAxis
);
30
_qy
->
setAxisType
(
quantity::fYAxis
);
31
}
32
33
/* virtual */
void
ContainerSingleProf1D::book
(
DQMStore::IBooker
&
ib
,
std::string
subsystem
,
std::string
aux
) {
34
ib
.setCurrentFolder(
subsystem
+
"/"
+
_folder
+
"/"
+
_qname
);
35
_me
=
ib
.bookProfile(
_qname
+ (
aux
.empty() ?
aux
:
"_"
+
aux
),
36
_qname
+ (
aux
.empty() ?
aux
:
" "
+
aux
),
37
_qx
->
nbins
(),
38
_qx
->
min
(),
39
_qx
->
max
(),
40
_qy
->
min
(),
41
_qy
->
max
());
42
customize
();
43
}
44
}
// namespace hcaldqm
hcaldqm::quantity::Quantity
Definition:
Quantity.h:27
hcaldqm::quantity::Quantity::setAxisType
virtual void setAxisType(AxisType at)
Definition:
Quantity.h:36
hcaldqm::ContainerSingle1D::_qx
quantity::Quantity * _qx
Definition:
ContainerSingle1D.h:103
printsummarytable.folder
folder
Definition:
printsummarytable.py:7
hcaldqm::quantity::Quantity::max
virtual double max()
Definition:
Quantity.h:60
hcaldqm::ContainerSingle1D::_qy
quantity::Quantity * _qy
Definition:
ContainerSingle1D.h:104
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:17
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
hcaldqm::ContainerSingle1D
Definition:
ContainerSingle1D.h:19
dqm::implementation::IBooker
Definition:
DQMStore.h:43
hcaldqm::ContainerSingleProf1D::ContainerSingleProf1D
ContainerSingleProf1D()
Definition:
ContainerSingleProf1D.cc:6
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:37
hcaldqm::ContainerSingle1D::_me
MonitorElement * _me
Definition:
ContainerSingle1D.h:102
hcaldqm::quantity::fXAxis
Definition:
Quantity.h:25
printConversionInfo.aux
aux
Definition:
printConversionInfo.py:19
hcaldqm::Container::_folder
std::string _folder
Definition:
Container.h:37
debug
#define debug
Definition:
HDRShower.cc:19
hcaldqm
Definition:
Constants.h:8
constants
hcaldqm::ContainerSingleProf1D::book
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
Definition:
ContainerSingleProf1D.cc:33
hcaldqm::quantity::fYAxis
Definition:
Quantity.h:25
hcaldqm::quantity::Quantity::min
virtual double min()
Definition:
Quantity.h:59
MjjMonitor_cfi.quantity
quantity
Definition:
MjjMonitor_cfi.py:10
ContainerSingleProf1D.h
hcaldqm::Container::_qname
std::string _qname
Definition:
Container.h:38
hcaldqm::ContainerSingle1D::customize
virtual void customize()
Definition:
ContainerSingle1D.cc:67
hcaldqm::quantity::Quantity::nbins
virtual int nbins()
Definition:
Quantity.h:57
hcal_dqm_sourceclient-live_cfg.subsystem
subsystem
Definition:
hcal_dqm_sourceclient-live_cfg.py:16
cuy.ib
ib
Definition:
cuy.py:661
Generated for CMSSW Reference Manual by
1.8.14