Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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/ValueAxis.h
"
14
#include "
DQM/HcalCommon/interface/CoordinateAxis.h
"
15
16
#include <string>
17
18
namespace
hcaldqm
19
{
20
using namespace
axis;
21
class
ContainerSingle2D
:
public
Container
22
{
23
public
:
24
ContainerSingle2D
();
25
ContainerSingle2D
(
std::string
const
& folder,
26
std::string
const
& nametitle,
27
axis::Axis
*xaxis,
28
axis::Axis
*yaxis =
new
CoordinateAxis
(
fYaxis
,
axis::fiphi
),
29
axis::Axis
*zaxis =
new
ValueAxis
(
fZaxis
,
fEntries
));
30
virtual
~
ContainerSingle2D
();
31
32
virtual
void
initialize
(
std::string
const
& folder,
33
std::string
const
& nametitle,
34
axis::Axis
*xaxis,
35
axis::Axis
*yaxis =
new
CoordinateAxis
(
fYaxis
,
axis::fiphi
),
36
axis::Axis
*zaxis =
new
ValueAxis
(
fZaxis
,
fEntries
),
37
int
debug
=0);
38
39
// booking
40
virtual
void
book(
DQMStore::IBooker
&,
41
std::string
subsystem
=
"Hcal"
,
std::string
aux
=
""
);
42
43
// filling
44
virtual
void
fill
(
int
,
int
);
45
virtual
void
fill
(
int
,
double
);
46
virtual
void
fill
(
int
,
double
,
double
);
47
virtual
void
fill
(
int
,
int
,
int
);
48
virtual
void
fill
(
int
,
int
,
double
);
49
virtual
void
fill
(
double
,
int
);
50
virtual
void
fill
(
double
,
double
);
51
virtual
void
fill
(
double
,
double
,
double
);
52
53
// any of the following 3 funcs must only be used with FEDs as
54
// X-axis and whatever coordinate as Yaxis
55
// there are no checks done on the axis!
56
virtual
void
fill
(
int
,
HcalElectronicsId
const
&);
57
virtual
void
fill
(
int
,
HcalElectronicsId
const
&,
int
);
58
virtual
void
fill
(
int
,
HcalElectronicsId
const
&,
double
);
59
60
virtual
void
fill
(
HcalDetId
const
&);
61
virtual
void
fill
(
HcalDetId
const
&,
double
);
62
virtual
void
fill
(
HcalDetId
const
&,
double
,
double
);
63
64
virtual
void
fill
(
HcalElectronicsId
const
&);
65
virtual
void
fill
(
HcalElectronicsId
const
&,
double
);
66
virtual
void
fill
(
HcalElectronicsId
const
&,
double
,
double
);
67
68
virtual
void
fill
(
HcalDetId
const
&,
HcalElectronicsId
const
&);
69
virtual
void
fill
(
HcalDetId
const
&,
HcalElectronicsId
const
&,
double
);
70
71
virtual
void
fill
(
HcalTrigTowerDetId
const
&);
72
virtual
void
fill
(
HcalTrigTowerDetId
const
&,
int
);
73
virtual
void
fill
(
HcalTrigTowerDetId
const
&,
double
);
74
virtual
void
fill
(
HcalTrigTowerDetId
const
&,
int
,
int
);
75
virtual
void
fill
(
HcalTrigTowerDetId
const
&,
int
,
double
);
76
virtual
void
fill
(
HcalTrigTowerDetId
const
&,
double
,
double
);
77
78
virtual
void
setBinContent(
int
,
int
,
double
);
79
virtual
void
setBinContent(
int
,
double
,
double
);
80
virtual
void
setBinContent(
unsigned
int
,
int
,
double
);
81
virtual
void
setBinContent(
double
,
int
,
double
);
82
virtual
void
setBinContent(
double
,
double
,
double
);
83
84
virtual
void
loadLabels(std::vector<std::string>
const
&);
85
virtual
void
reset
();
86
87
protected
:
88
MonitorElement
*
_me
;
89
Axis
*
_xaxis
;
90
Axis
*
_yaxis
;
91
Axis
*
_zaxis
;
92
};
93
}
94
95
#endif
initialize
static AlgebraicMatrix initialize()
Definition:
BeamSpotTransientTrackingRecHit.cc:27
hcaldqm::ContainerSingle2D::_xaxis
Axis * _xaxis
Definition:
ContainerSingle2D.h:89
lumiContext.fill
string fill
Definition:
lumiContext.py:319
CoordinateAxis.h
hcaldqm::ContainerSingle2D::_yaxis
Axis * _yaxis
Definition:
ContainerSingle2D.h:90
printConversionInfo.aux
tuple aux
Definition:
printConversionInfo.py:18
hcaldqm::axis::fEntries
Definition:
ValueAxis.h:23
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
hcaldqm::axis::fZaxis
Definition:
Axis.h:36
hcaldqm::axis::Axis
Definition:
Axis.h:50
Container.h
HcalDetId
Definition:
HcalDetId.h:12
hcaldqm::axis::CoordinateAxis
Definition:
CoordinateAxis.h:101
hcal_dqm_sourceclient-file_cfg.subsystem
string subsystem
Definition:
hcal_dqm_sourceclient-file_cfg.py:27
hcaldqm::axis::fYaxis
Definition:
Axis.h:35
MonitorElement
Definition:
MonitorElement.h:37
hcaldqm::Container
Definition:
Container.h:22
debug
#define debug
Definition:
HDRShower.cc:19
hcaldqm::axis::fiphi
Definition:
CoordinateAxis.h:25
hcaldqm::ContainerSingle2D
Definition:
ContainerSingle2D.h:21
hcaldqm::axis::ValueAxis
Definition:
ValueAxis.h:80
hcaldqm::ContainerSingle2D::_me
MonitorElement * _me
Definition:
ContainerSingle2D.h:88
HcalTrigTowerDetId
Definition:
HcalTrigTowerDetId.h:14
DQMStore::IBooker
Definition:
DQMStore.h:90
reset
void reset(double vett[256])
Definition:
TPedValues.cc:11
HcalElectronicsId
Readout chain identification for Hcal.
Definition:
HcalElectronicsId.h:32
hcaldqm::ContainerSingle2D::_zaxis
Axis * _zaxis
Definition:
ContainerSingle2D.h:91
ValueAxis.h
Generated for CMSSW Reference Manual by
1.8.5