Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
virtual
~
ContainerSingle1D
();
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
hcaldqm::Container::initialize
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition:
Container.h:33
lumiContext.fill
string fill
Definition:
lumiContext.py:319
customizeDeltaBetaWeights_cfi.customize
def customize
Definition:
customizeDeltaBetaWeights_cfi.py:7
hcal2_dqm_sourceclient-live_cfg.subsystem
string subsystem
Definition:
hcal2_dqm_sourceclient-live_cfg.py:16
ValueQuantity.h
printConversionInfo.aux
tuple aux
Definition:
printConversionInfo.py:18
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
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
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::ContainerSingle1D::_qy
Quantity * _qy
Definition:
ContainerSingle1D.h:107
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:145
Container.h
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:88
hlt_dqm_clientPB-live_cfg.folder
tuple folder
Histograms Source for live online DQM in P5
Definition:
hlt_dqm_clientPB-live_cfg.py:33
Generated for CMSSW Reference Manual by
1.8.5