Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
cuy.ib
int ib
Definition:
cuy.py:661
hcaldqm::ContainerSingle1D::_qx
quantity::Quantity * _qx
Definition:
ContainerSingle1D.h:103
printsummarytable.folder
list folder
Definition:
printsummarytable.py:7
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition:
DQMStore.cc:32
hcaldqm::quantity::Quantity::max
virtual double max()
Definition:
Quantity.h:60
hcaldqm::ContainerSingle1D::_qy
quantity::Quantity * _qy
Definition:
ContainerSingle1D.h:104
printConversionInfo.aux
tuple aux
Definition:
printConversionInfo.py:19
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
hcal_dqm_sourceclient-live_cfg.subsystem
string subsystem
Definition:
hcal_dqm_sourceclient-live_cfg.py:16
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
dqm::implementation::IBooker::bookProfile
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
Definition:
DQMStore.h:399
hcaldqm::ContainerSingle1D::_me
MonitorElement * _me
Definition:
ContainerSingle1D.h:102
hcaldqm::quantity::fXAxis
Definition:
Quantity.h:25
hcaldqm::Container::_folder
std::string _folder
Definition:
Container.h:37
debug
#define debug
Definition:
HDRShower.cc:19
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
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
Generated for CMSSW Reference Manual by
1.8.5