Main Page
Namespaces
Classes
Package Documentation
DQM
HcalCommon
interface
ContainerSingle2D.h
Go to the documentation of this file.
1
#ifndef ContainerSingle2D_h
2
#define ContainerSingle2D_h
3
4
/*
5
* file: ContainerSignle2D.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/Quantity.h
"
14
#include "
DQM/HcalCommon/interface/ValueQuantity.h
"
15
16
#include <string>
17
18
namespace
hcaldqm
19
{
20
using namespace
quantity
;
21
class
ContainerSingle2D
:
public
Container
22
{
23
public
:
24
ContainerSingle2D
();
25
ContainerSingle2D
(
std::string
const
&
folder
,
26
Quantity
*,
Quantity
*,
27
Quantity
*qz =
new
ValueQuantity
(
quantity::fN
));
28
ContainerSingle2D
(
std::string
const
& folder,
29
std::string
const
&,
30
Quantity
*,
Quantity
*,
31
Quantity
*qz =
new
ValueQuantity
(
quantity::fN
),
32
int
debug
=0);
33
ContainerSingle2D
(
ContainerSingle2D
const
&);
34
virtual
~
ContainerSingle2D
();
35
36
virtual
void
initialize
(
std::string
const
& folder,
37
Quantity
*,
Quantity
*,
38
Quantity
*qz =
new
ValueQuantity
(
quantity::fN
),
39
int
debug
=0);
40
41
virtual
void
initialize
(
std::string
const
& folder,
42
std::string
const
&,
43
Quantity
*,
Quantity
*,
44
Quantity
*qz =
new
ValueQuantity
(
quantity::fN
),
45
int
debug
=0);
46
using
Container::initialize
;
47
// booking
48
virtual
void
book(
DQMStore::IBooker
&,
49
std::string
subsystem=
"Hcal"
,
std::string
aux
=
""
);
50
virtual
void
book(
DQMStore
*,
51
std::string
subsystem=
"Hcal"
,
std::string
aux
=
""
);
52
53
54
// filling
55
virtual
void
fill
(
int
,
int
);
56
virtual
void
fill
(
int
,
double
);
57
virtual
void
fill
(
int
,
double
,
double
);
58
virtual
void
fill
(
int
,
int
,
int
);
59
virtual
void
fill
(
int
,
int
,
double
);
60
virtual
void
fill
(
double
,
int
);
61
virtual
void
fill
(
double
,
double
);
62
virtual
void
fill
(
double
,
double
,
double
);
63
64
virtual
double
getBinContent(
int
,
int
);
65
virtual
double
getBinContent(
int
,
double
);
66
virtual
double
getBinContent(
double
,
int
);
67
virtual
double
getBinContent(
double
,
double
);
68
virtual
double
getBinEntries(
int
,
int
);
69
virtual
double
getBinEntries(
int
,
double
);
70
virtual
double
getBinEntries(
double
,
int
);
71
virtual
double
getBinEntries(
double
,
double
);
72
73
virtual
void
setBinContent(
int
,
int
,
int
);
74
virtual
void
setBinContent(
int
,
double
,
int
);
75
virtual
void
setBinContent(
double
,
int
,
int
);
76
virtual
void
setBinContent(
double
,
double
,
int
);
77
virtual
void
setBinContent(
int
,
int
,
double
);
78
virtual
void
setBinContent(
int
,
double
,
double
);
79
virtual
void
setBinContent(
double
,
int
,
double
);
80
virtual
void
setBinContent(
double
,
double
,
double
);
81
82
virtual
void
fill
(
HcalDetId
const
&);
83
virtual
void
fill
(
HcalDetId
const
&,
int
);
84
virtual
void
fill
(
HcalDetId
const
&,
double
);
85
virtual
void
fill
(
HcalDetId
const
&,
int
,
int
);
86
virtual
void
fill
(
HcalDetId
const
&,
int
,
double
);
87
virtual
void
fill
(
HcalDetId
const
&,
double
,
double
);
88
89
virtual
double
getBinContent(
HcalDetId
const
&);
90
virtual
double
getBinContent(
HcalDetId
const
&,
int
);
91
virtual
double
getBinContent(
HcalDetId
const
&,
double
);
92
virtual
double
getBinEntries(
HcalDetId
const
&);
93
virtual
double
getBinEntries(
HcalDetId
const
&,
int
);
94
virtual
double
getBinEntries(
HcalDetId
const
&,
double
);
95
96
virtual
void
setBinContent(
HcalDetId
const
&,
int
);
97
virtual
void
setBinContent(
HcalDetId
const
&,
double
);
98
virtual
void
setBinContent(
HcalDetId
const
&,
int
,
int
);
99
virtual
void
setBinContent(
HcalDetId
const
&,
int
,
double
);
100
virtual
void
setBinContent(
HcalDetId
const
&,
double
,
int
);
101
virtual
void
setBinContent(
HcalDetId
const
&,
double
,
double
);
102
103
virtual
void
fill
(
HcalElectronicsId
const
&);
104
virtual
void
fill
(
HcalElectronicsId
const
&,
int
);
105
virtual
void
fill
(
HcalElectronicsId
const
&,
double
);
106
virtual
void
fill
(
HcalElectronicsId
const
&,
int
,
int
);
107
virtual
void
fill
(
HcalElectronicsId
const
&,
int
,
double
);
108
virtual
void
fill
(
HcalElectronicsId
const
&,
double
,
double
);
109
110
virtual
void
fill
(
HcalDetId
const
&,
HcalElectronicsId
const
&);
111
virtual
void
fill
(
HcalDetId
const
&,
HcalElectronicsId
const
&,
112
double
);
113
114
virtual
double
getBinContent(
HcalElectronicsId
const
&);
115
virtual
double
getBinContent(
HcalElectronicsId
const
&,
int
);
116
virtual
double
getBinContent(
HcalElectronicsId
const
&,
double
);
117
virtual
double
getBinEntries(
HcalElectronicsId
const
&);
118
virtual
double
getBinEntries(
HcalElectronicsId
const
&,
int
);
119
virtual
double
getBinEntries(
HcalElectronicsId
const
&,
double
);
120
121
virtual
void
setBinContent(
HcalElectronicsId
const
&,
int
);
122
virtual
void
setBinContent(
HcalElectronicsId
const
&,
double
);
123
virtual
void
setBinContent(
HcalElectronicsId
const
&,
int
,
int
);
124
virtual
void
setBinContent(
HcalElectronicsId
const
&,
int
,
double
);
125
virtual
void
setBinContent(
HcalElectronicsId
const
&,
double
,
int
);
126
virtual
void
setBinContent(
HcalElectronicsId
const
&,
double
,
double
);
127
128
virtual
void
fill
(
HcalTrigTowerDetId
const
&);
129
virtual
void
fill
(
HcalTrigTowerDetId
const
&,
int
);
130
virtual
void
fill
(
HcalTrigTowerDetId
const
&,
double
);
131
virtual
void
fill
(
HcalTrigTowerDetId
const
&,
int
,
int
);
132
virtual
void
fill
(
HcalTrigTowerDetId
const
&,
int
,
double
);
133
virtual
void
fill
(
HcalTrigTowerDetId
const
&,
double
,
double
);
134
135
virtual
double
getBinContent(
HcalTrigTowerDetId
const
&);
136
virtual
double
getBinContent(
HcalTrigTowerDetId
const
&,
int
);
137
virtual
double
getBinContent(
HcalTrigTowerDetId
const
&,
double
);
138
virtual
double
getBinEntries(
HcalTrigTowerDetId
const
&);
139
virtual
double
getBinEntries(
HcalTrigTowerDetId
const
&,
int
);
140
virtual
double
getBinEntries(
HcalTrigTowerDetId
const
&,
double
);
141
142
virtual
void
setBinContent(
HcalTrigTowerDetId
const
&,
int
);
143
virtual
void
setBinContent(
HcalTrigTowerDetId
const
&,
double
);
144
virtual
void
setBinContent(
HcalTrigTowerDetId
const
&,
int
,
int
);
145
virtual
void
setBinContent(
HcalTrigTowerDetId
const
&,
int
,
double
);
146
virtual
void
setBinContent(
HcalTrigTowerDetId
const
&,
double
,
int
);
147
virtual
void
setBinContent(
HcalTrigTowerDetId
const
&,
double
,
double
);
148
149
virtual
void
reset
() {_me->Reset();}
150
virtual
void
print
() {
std::cout
<< _qname << std::endl;}
151
152
virtual
void
load
(
DQMStore::IGetter
&,
std::string
subsystem=
"Hcal"
,
153
std::string
aux
=
""
);
154
155
virtual
void
extendAxisRange(
int
);
156
157
protected
:
158
MonitorElement
*
_me
;
159
Quantity
*
_qx
;
160
Quantity
*
_qy
;
161
Quantity
*
_qz
;
162
163
virtual
void
customize
();
164
};
165
}
166
167
#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
hcaldqm::ContainerSingle2D::print
virtual void print()
Definition:
ContainerSingle2D.h:150
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
hcaldqm::ContainerSingle2D::_qy
Quantity * _qy
Definition:
ContainerSingle2D.h:160
ValueQuantity.h
lumiContext.fill
fill
Definition:
lumiContext.py:319
DQMStore::IGetter
Definition:
DQMStore.h:190
DQMStore
Definition:
DQMStore.h:75
hcaldqm::ContainerSingle2D::_qx
Quantity * _qx
Definition:
ContainerSingle2D.h:159
HcalDetId
Definition:
HcalDetId.h:12
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
debug
#define debug
Definition:
HDRShower.cc:19
hcaldqm
Definition:
Constants.h:8
svgfig.load
def load(fileName)
Definition:
svgfig.py:546
hcaldqm::ContainerSingle2D
Definition:
ContainerSingle2D.h:21
tauVariables_cff.quantity
quantity
Definition:
tauVariables_cff.py:10
Quantity.h
hcaldqm::ContainerSingle2D::_qz
Quantity * _qz
Definition:
ContainerSingle2D.h:161
hcaldqm::ContainerSingle2D::_me
MonitorElement * _me
Definition:
ContainerSingle2D.h:158
Container.h
gather_cfg.cout
cout
Definition:
gather_cfg.py:145
HcalTrigTowerDetId
Definition:
HcalTrigTowerDetId.h:14
DQMStore::IBooker
Definition:
DQMStore.h:90
HcalElectronicsId
Readout chain identification for Hcal.
Definition:
HcalElectronicsId.h:32
hcaldqm::quantity::ValueQuantity
Definition:
ValueQuantity.h:260
hcaldqm::ContainerSingle2D::reset
virtual void reset()
Definition:
ContainerSingle2D.h:149
Generated for CMSSW Reference Manual by
1.8.11