Main Page
Namespaces
Classes
Package Documentation
DQM
HcalCommon
interface
ContainerSingle1D.h
Go to the documentation of this file.
1
#ifndef ContainerSingle1D_h
2
#define ContainerSingle1D_h
3
4
/*
5
* file: ContainerSignle1D.h
6
* Author: Viktor Khristenko
7
*
8
* Description:
9
* Container to hold a single ME - for convenience of initialization
10
*/
11
12
#include "
DQM/HcalCommon/interface/Container.h
"
13
#include "
DQM/HcalCommon/interface/ValueQuantity.h
"
14
15
#include <string>
16
17
namespace
hcaldqm
18
{
19
using namespace
quantity
;
20
class
ContainerSingle1D
:
public
Container
21
{
22
public
:
23
ContainerSingle1D
();
24
ContainerSingle1D
(
std::string
const
&
folder
,
25
Quantity
*,
26
Quantity
*qy =
new
ValueQuantity
(
quantity::fN
));
27
ContainerSingle1D
(
std::string
const
& folder,
28
std::string
const
&,
29
Quantity
*,
30
Quantity
*qy =
new
ValueQuantity
(
quantity::fN
));
31
ContainerSingle1D
(
ContainerSingle1D
const
&);
32
~
ContainerSingle1D
()
override
;
33
34
virtual
void
initialize
(
std::string
const
& folder,
35
Quantity
*,
36
Quantity
*qy =
new
ValueQuantity
(
quantity::fN
),
37
int
debug
=0);
38
39
virtual
void
initialize
(
std::string
const
& folder,
40
std::string
const
&,
41
Quantity
*,
42
Quantity
*qy =
new
ValueQuantity
(
quantity::fN
),
43
int
debug
=0);
44
using
Container::initialize
;
45
// booking
46
virtual
void
book(
DQMStore::IBooker
&,
47
std::string
subsystem=
"Hcal"
,
std::string
aux
=
""
);
48
virtual
void
book(
DQMStore
*,
49
std::string
subsystem=
"Hcal"
,
std::string
aux
=
""
);
50
51
// filling
52
virtual
void
fill
(
int
);
53
virtual
void
fill
(
double
);
54
virtual
void
fill
(
int
,
int
);
55
virtual
void
fill
(
int
,
double
);
56
virtual
void
fill
(
double
,
int
);
57
virtual
void
fill
(
double
,
double
);
58
59
virtual
double
getBinContent(
int
) ;
60
virtual
double
getBinContent(
double
);
61
virtual
double
getBinEntries(
int
);
62
virtual
double
getBinEntries(
double
);
63
64
virtual
void
setBinContent(
int
,
int
);
65
virtual
void
setBinContent(
int
,
double
);
66
virtual
void
setBinContent(
double
,
int
);
67
virtual
void
setBinContent(
double
,
double
);
68
69
virtual
void
fill
(
HcalDetId
const
&);
70
virtual
void
fill
(
HcalDetId
const
&,
double
);
71
virtual
void
fill
(
HcalDetId
const
&,
double
,
double
);
72
73
virtual
double
getBinContent(
HcalDetId
const
&);
74
virtual
double
getBinEntries(
HcalDetId
const
&);
75
76
virtual
void
setBinContent(
HcalDetId
const
&,
int
);
77
virtual
void
setBinContent(
HcalDetId
const
&,
double
);
78
79
virtual
void
fill
(
HcalElectronicsId
const
&);
80
virtual
void
fill
(
HcalElectronicsId
const
&,
double
);
81
virtual
void
fill
(
HcalElectronicsId
const
&,
double
,
double
);
82
83
virtual
double
getBinContent(
HcalElectronicsId
const
&);
84
virtual
double
getBinEntries(
HcalElectronicsId
const
&);
85
86
virtual
void
setBinContent(
HcalElectronicsId
const
&,
int
);
87
virtual
void
setBinContent(
HcalElectronicsId
const
&,
double
);
88
89
virtual
void
fill
(
HcalTrigTowerDetId
const
&);
90
virtual
void
fill
(
HcalTrigTowerDetId
const
&,
double
);
91
virtual
void
fill
(
HcalTrigTowerDetId
const
&,
double
,
double
);
92
93
virtual
double
getBinContent(
HcalTrigTowerDetId
const
&);
94
virtual
double
getBinEntries(
HcalTrigTowerDetId
const
&);
95
96
virtual
void
setBinContent(
HcalTrigTowerDetId
const
&,
int
);
97
virtual
void
setBinContent(
HcalTrigTowerDetId
const
&,
double
);
98
99
virtual
void
reset
() {_me->Reset();}
100
virtual
void
print
() {
std::cout
<< _qname << std::endl;}
101
102
virtual
void
extendAxisRange(
int
);
103
104
protected
:
105
MonitorElement
*
_me
;
106
Quantity
*
_qx
;
107
Quantity
*
_qy
;
108
109
virtual
void
customize
();
110
};
111
}
112
113
#endif
initialize
static AlgebraicMatrix initialize()
Definition:
BeamSpotTransientTrackingRecHit.cc:27
hcaldqm::quantity::Quantity
Definition:
Quantity.h:36
customizeDeltaBetaWeights_cfi.customize
def customize(process)
Definition:
customizeDeltaBetaWeights_cfi.py:7
hcaldqm::Container::initialize
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition:
Container.h:33
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ValueQuantity.h
lumiContext.fill
fill
Definition:
lumiContext.py:319
hcaldqm::ContainerSingle1D
Definition:
ContainerSingle1D.h:20
DQMStore
Definition:
DQMStore.h:75
HcalDetId
Definition:
HcalDetId.h:12
hcaldqm::ContainerSingle1D::_me
MonitorElement * _me
Definition:
ContainerSingle1D.h:105
hcaldqm::quantity::fN
Definition:
ValueQuantity.h:15
printConversionInfo.aux
aux
Definition:
printConversionInfo.py:18
printsummarytable.folder
folder
Definition:
printsummarytable.py:7
MonitorElement
Definition:
MonitorElement.h:37
hcaldqm::Container
Definition:
Container.h:22
hcaldqm::ContainerSingle1D::print
virtual void print()
Definition:
ContainerSingle1D.h:100
debug
#define debug
Definition:
HDRShower.cc:19
hcaldqm
Definition:
Constants.h:8
hcaldqm::ContainerSingle1D::_qy
Quantity * _qy
Definition:
ContainerSingle1D.h:107
tauVariables_cff.quantity
quantity
Definition:
tauVariables_cff.py:10
Container.h
gather_cfg.cout
cout
Definition:
gather_cfg.py:145
hcaldqm::ContainerSingle1D::reset
virtual void reset()
Definition:
ContainerSingle1D.h:99
HcalTrigTowerDetId
Definition:
HcalTrigTowerDetId.h:14
hcaldqm::ContainerSingle1D::_qx
Quantity * _qx
Definition:
ContainerSingle1D.h:106
DQMStore::IBooker
Definition:
DQMStore.h:90
HcalElectronicsId
Readout chain identification for Hcal.
Definition:
HcalElectronicsId.h:32
hcaldqm::quantity::ValueQuantity
Definition:
ValueQuantity.h:269
Generated for CMSSW Reference Manual by
1.8.11