DQM
EcalCommon
interface
MESetChannel.h
Go to the documentation of this file.
1
// Class removed until concurrency issue is finalized
2
#if 0
3
4
#ifndef MESetChannel_H
5
#define MESetChannel_H
6
7
#include <map>
8
9
#include "
MESet.h
"
10
11
namespace
ecaldqm
12
{
13
14
/* class MESetChannel
15
MonitorElement wrapper for single-bin plots (TH1F, TProfile)
16
One-to-one correspondence between id <-> histogram
17
*/
18
19
class
MESetChannel :
public
MESet
20
{
21
public :
22
MESetChannel(
std::string
const
&,
binning::ObjectType
,
binning::BinningType
,
MonitorElement::Kind
);
23
MESetChannel(MESetChannel
const
&);
24
~MESetChannel();
25
26
MESet& operator=(MESet
const
& _rhs)
override
;
27
28
MESet*
clone
(
std::string
const
& =
""
)
const override
;
29
30
void
book(
DQMStore::IBooker
&)
override
;
31
bool
retrieve(
DQMStore::IGetter
&,
std::string
* = 0)
const override
;
32
void
clear
()
const override
;
33
34
void
fill
(
DetId
const
&,
double
= 1.,
double
= 0.,
double
= 0.)
override
;
35
void
fill
(
EcalElectronicsId
const
&,
double
= 1.,
double
= 0.,
double
= 0.)
override
;
36
37
void
setBinContent(
DetId
const
&,
double
)
override
;
38
void
setBinContent(
EcalElectronicsId
const
&,
double
)
override
;
39
40
void
setBinError(
DetId
const
&,
double
)
override
;
41
void
setBinError(
EcalElectronicsId
const
&,
double
)
override
;
42
43
void
setBinEntries(
DetId
const
&,
double
)
override
;
44
void
setBinEntries(
EcalElectronicsId
const
&,
double
)
override
;
45
46
double
getBinContent(
DetId
const
&,
int
= 0)
const override
;
47
double
getBinContent(
EcalElectronicsId
const
&,
int
= 0)
const override
;
48
49
double
getBinError(
DetId
const
&,
int
= 0)
const override
;
50
double
getBinError(
EcalElectronicsId
const
&,
int
= 0)
const override
;
51
52
double
getBinEntries(
DetId
const
&,
int
= 0)
const override
;
53
double
getBinEntries(
EcalElectronicsId
const
&,
int
= 0)
const override
;
54
55
void
reset
(
double
= 0.,
double
= 0.,
double
= 0.)
override
;
56
57
void
checkDirectory()
const
;
58
59
private :
60
unsigned
preparePlot_(uint32_t)
const
;
61
unsigned
findPlot_(uint32_t)
const
;
62
uint32_t getIndex_(
DetId
const
&)
const
;
63
uint32_t getIndex_(
EcalElectronicsId
const
&)
const
;
64
65
mutable
std::map<uint32_t, unsigned> meTable_;
66
};
67
}
68
69
#endif
70
71
#endif
ecaldqm
Definition:
DQWorker.h:29
MESet.h
DetId
Definition:
DetId.h:17
clone
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition:
eve_macros.cc:135
EcalElectronicsId
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
Definition:
EcalElectronicsId.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ntuplemaker.fill
fill
Definition:
ntuplemaker.py:304
clear
void clear(HadCaloObj &c)
Definition:
data.h:124
ecaldqm::binning::ObjectType
ObjectType
Definition:
MESetBinningUtils.h:18
MonitorElementData::Kind
Kind
Definition:
MonitorElementCollection.h:129
dqm::implementation::IGetter
Definition:
DQMStore.h:484
dqm::implementation::IBooker
Definition:
DQMStore.h:43
reset
void reset(double vett[256])
Definition:
TPedValues.cc:11
ecaldqm::binning::BinningType
BinningType
Definition:
MESetBinningUtils.h:41
Generated for CMSSW Reference Manual by
1.8.16