DQM
EcalPreshowerMonitorModule
interface
ESDaqInfoTask.h
Go to the documentation of this file.
1
#ifndef ESDaqInfoTask_h
2
#define ESDaqInfoTask_h
3
4
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
8
#include "
Geometry/EcalMapping/interface/ESElectronicsMapper.h
"
// definition in line 75
9
#include "
DQMServices/Core/interface/DQMStore.h
"
10
11
class
ESDaqInfoTask
:
public
edm::EDAnalyzer
{
12
public
:
13
typedef
dqm::legacy::MonitorElement
MonitorElement
;
14
typedef
dqm::legacy::DQMStore
DQMStore
;
15
17
ESDaqInfoTask
(
const
edm::ParameterSet
& ps);
18
20
~ESDaqInfoTask
()
override
;
21
22
protected
:
24
void
analyze
(
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
25
27
void
beginJob
(
void
)
override
;
28
30
void
endJob
(
void
)
override
;
31
33
void
beginLuminosityBlock
(
const
edm::LuminosityBlock
& lumiBlock,
const
edm::EventSetup
& iSetup)
override
;
34
36
void
reset
(
void
);
37
38
private
:
39
DQMStore
*
dqmStore_
;
40
41
std::string
prefixME_
;
42
43
bool
mergeRuns_
;
44
45
MonitorElement
*
meESDaqFraction_
;
46
MonitorElement
*
meESDaqActive_
[56];
47
MonitorElement
*
meESDaqActiveMap_
;
48
49
MonitorElement
*
meESDaqError_
;
50
51
int
ESFedRangeMin_
;
52
int
ESFedRangeMax_
;
53
54
ESElectronicsMapper
*
es_mapping_
;
55
56
bool
ESOnFed_
[56];
57
58
int
getFEDNumber
(
const
int
x
,
const
int
y
) {
59
int
iz = (
x
< 40) ? 1 : 2;
60
int
ip = (
y
>= 40) ? 1 : 2;
61
int
ix = (
x
< 40) ?
x
:
x
- 40;
62
int
iy = (
y
< 40) ?
y
:
y
- 40;
63
return
(*es_mapping_).getFED(iz, ip, ix + 1, iy + 1);
64
}
65
};
66
67
#endif
ESElectronicsMapper.h
ESDaqInfoTask::meESDaqError_
MonitorElement * meESDaqError_
Definition:
ESDaqInfoTask.h:49
DDAxes::y
ESDaqInfoTask::~ESDaqInfoTask
~ESDaqInfoTask() override
Destructor.
Definition:
ESDaqInfoTask.cc:56
ESDaqInfoTask::meESDaqActive_
MonitorElement * meESDaqActive_[56]
Definition:
ESDaqInfoTask.h:46
edm::LuminosityBlock
Definition:
LuminosityBlock.h:50
ESDaqInfoTask::beginJob
void beginJob(void) override
BeginJob.
Definition:
ESDaqInfoTask.cc:58
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:462
ESDaqInfoTask::beginLuminosityBlock
void beginLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup) override
BeginLuminosityBlock.
Definition:
ESDaqInfoTask.cc:102
EDAnalyzer.h
DDAxes::x
ESDaqInfoTask::dqmStore_
DQMStore * dqmStore_
Definition:
ESDaqInfoTask.h:39
ESDaqInfoTask::meESDaqFraction_
MonitorElement * meESDaqFraction_
Definition:
ESDaqInfoTask.h:45
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
ESElectronicsMapper
Definition:
ESElectronicsMapper.h:14
dqm::legacy::DQMStore
Definition:
DQMStore.h:727
ESDaqInfoTask::ESDaqInfoTask
ESDaqInfoTask(const edm::ParameterSet &ps)
Constructor.
Definition:
ESDaqInfoTask.cc:29
ESDaqInfoTask::mergeRuns_
bool mergeRuns_
Definition:
ESDaqInfoTask.h:43
ESDaqInfoTask::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
Definition:
ESDaqInfoTask.cc:181
ESDaqInfoTask::es_mapping_
ESElectronicsMapper * es_mapping_
Definition:
ESDaqInfoTask.h:54
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ESDaqInfoTask::ESFedRangeMax_
int ESFedRangeMax_
Definition:
ESDaqInfoTask.h:52
ESDaqInfoTask::endJob
void endJob(void) override
EndJob.
Definition:
ESDaqInfoTask.cc:100
ESDaqInfoTask::meESDaqActiveMap_
MonitorElement * meESDaqActiveMap_
Definition:
ESDaqInfoTask.h:47
ESDaqInfoTask::DQMStore
dqm::legacy::DQMStore DQMStore
Definition:
ESDaqInfoTask.h:14
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
ESDaqInfoTask::ESFedRangeMin_
int ESFedRangeMin_
Definition:
ESDaqInfoTask.h:51
ESDaqInfoTask::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition:
ESDaqInfoTask.h:13
ESDaqInfoTask::reset
void reset(void)
Reset.
Definition:
ESDaqInfoTask.cc:165
ESDaqInfoTask::prefixME_
std::string prefixME_
Definition:
ESDaqInfoTask.h:41
ESDaqInfoTask::getFEDNumber
int getFEDNumber(const int x, const int y)
Definition:
ESDaqInfoTask.h:58
edm::EventSetup
Definition:
EventSetup.h:58
ESDaqInfoTask::ESOnFed_
bool ESOnFed_[56]
Definition:
ESDaqInfoTask.h:56
ESDaqInfoTask
Definition:
ESDaqInfoTask.h:11
ParameterSet.h
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:46
edm::Event
Definition:
Event.h:73
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16