Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DQM
EcalBarrelMonitorTasks
interface
IntegrityTask.h
Go to the documentation of this file.
1
#ifndef IntegrityTask_H
2
#define IntegrityTask_H
3
4
#include "
DQM/EcalCommon/interface/DQWorkerTask.h
"
5
6
#include "
DataFormats/DetId/interface/DetIdCollection.h
"
7
#include "
DataFormats/EcalDetId/interface/EcalDetIdCollections.h
"
8
9
namespace
ecaldqm {
10
11
class
IntegrityTask
:
public
DQWorkerTask
{
12
public
:
13
IntegrityTask
(
const
edm::ParameterSet
&,
const
edm::ParameterSet
&);
14
~IntegrityTask
();
15
16
void
bookMEs
();
17
18
void
beginLuminosityBlock
(
const
edm::LuminosityBlock
&,
const
edm::EventSetup
&);
19
20
void
analyze
(
const
void
*,
Collections
);
21
22
void
runOnErrors
(
const
DetIdCollection
&,
Collections
);
23
void
runOnErrors
(
const
EcalElectronicsIdCollection
&,
Collections
);
24
25
enum
MESets
{
26
kByLumi
,
27
kTotal
,
28
kGain
,
29
kChId
,
30
kGainSwitch
,
31
kBlockSize
,
32
kTowerId
,
33
kFEDNonFatal
,
34
nMESets
35
};
36
37
static
void
setMEData
(std::vector<MEData>&);
38
39
private
:
40
int
hltTaskMode_
;
// 0 -> Do not produce FED plots; 1 -> Only produce FED plots; 2 -> Do both
41
std::string
hltTaskFolder_
;
42
};
43
44
inline
void
IntegrityTask::analyze
(
const
void
* _p,
Collections
_collection){
45
switch
(_collection){
46
case
kGainErrors
:
47
case
kChIdErrors
:
48
case
kGainSwitchErrors
:
49
runOnErrors
(*static_cast<const DetIdCollection*>(_p), _collection);
50
break
;
51
case
kTowerIdErrors
:
52
case
kBlockSizeErrors
:
53
runOnErrors
(*static_cast<const EcalElectronicsIdCollection*>(_p), _collection);
54
break
;
55
default
:
56
break
;
57
}
58
}
59
60
}
61
62
#endif
63
ecaldqm::IntegrityTask::kChId
Definition:
IntegrityTask.h:29
ecaldqm::IntegrityTask::kTowerId
Definition:
IntegrityTask.h:32
ecaldqm::IntegrityTask
Definition:
IntegrityTask.h:11
ecaldqm::IntegrityTask::setMEData
static void setMEData(std::vector< MEData > &)
Definition:
IntegrityTask.cc:112
ecaldqm::IntegrityTask::kByLumi
Definition:
IntegrityTask.h:26
DQWorkerTask.h
edm::LuminosityBlock
Definition:
LuminosityBlock.h:41
edm::EDCollection< DetId >
ecaldqm::kBlockSizeErrors
Definition:
Collections.h:13
ecaldqm::IntegrityTask::kTotal
Definition:
IntegrityTask.h:27
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ecaldqm::IntegrityTask::kBlockSize
Definition:
IntegrityTask.h:31
ecaldqm::kChIdErrors
Definition:
Collections.h:10
ecaldqm::kGainErrors
Definition:
Collections.h:9
DetIdCollection.h
ecaldqm::IntegrityTask::beginLuminosityBlock
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
Definition:
IntegrityTask.cc:53
ecaldqm::IntegrityTask::kGain
Definition:
IntegrityTask.h:28
ecaldqm::IntegrityTask::MESets
MESets
Definition:
IntegrityTask.h:25
ecaldqm::IntegrityTask::analyze
void analyze(const void *, Collections)
Definition:
IntegrityTask.h:44
ecaldqm::kTowerIdErrors
Definition:
Collections.h:12
ecaldqm::IntegrityTask::kGainSwitch
Definition:
IntegrityTask.h:30
ecaldqm::DQWorkerTask
Definition:
DQWorkerTask.h:12
edm::EventSetup
Definition:
EventSetup.h:44
ecaldqm::IntegrityTask::IntegrityTask
IntegrityTask(const edm::ParameterSet &, const edm::ParameterSet &)
Definition:
IntegrityTask.cc:7
ecaldqm::IntegrityTask::bookMEs
void bookMEs()
Definition:
IntegrityTask.cc:42
ecaldqm::Collections
Collections
Definition:
Collections.h:6
ecaldqm::kGainSwitchErrors
Definition:
Collections.h:11
ecaldqm::IntegrityTask::kFEDNonFatal
Definition:
IntegrityTask.h:33
ecaldqm::IntegrityTask::~IntegrityTask
~IntegrityTask()
Definition:
IntegrityTask.cc:37
edm::ParameterSet
Definition:
ParameterSet.h:35
ecaldqm::IntegrityTask::nMESets
Definition:
IntegrityTask.h:34
ecaldqm::IntegrityTask::hltTaskMode_
int hltTaskMode_
Definition:
IntegrityTask.h:40
EcalDetIdCollections.h
ecaldqm::IntegrityTask::hltTaskFolder_
std::string hltTaskFolder_
Definition:
IntegrityTask.h:41
ecaldqm::IntegrityTask::runOnErrors
void runOnErrors(const DetIdCollection &, Collections)
Definition:
IntegrityTask.cc:59
Generated for CMSSW Reference Manual by
1.8.5