Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DQM
EcalBarrelMonitorTasks
interface
PNIntegrityTask.h
Go to the documentation of this file.
1
#ifndef PNIntegrityTask_H
2
#define PNIntegrityTask_H
3
4
#include "
DQM/EcalCommon/interface/DQWorkerTask.h
"
5
6
#include "
DataFormats/EcalDetId/interface/EcalDetIdCollections.h
"
7
8
namespace
ecaldqm {
9
10
class
PNIntegrityTask
:
public
DQWorkerTask
{
11
public
:
12
PNIntegrityTask
(
const
edm::ParameterSet
&,
const
edm::ParameterSet
&);
13
~PNIntegrityTask
();
14
15
void
analyze
(
const
void
*,
Collections
);
16
17
void
runOnErrors
(
const
EcalElectronicsIdCollection
&,
Collections
);
18
19
enum
MESets
{
20
kMEMChId
,
21
kMEMGain
,
22
kMEMBlockSize
,
23
kMEMTowerId
,
24
nMESets
25
};
26
27
static
void
setMEData
(std::vector<MEData>&);
28
};
29
30
inline
void
PNIntegrityTask::analyze
(
const
void
* _p,
Collections
_collection){
31
switch
(_collection){
32
case
kMEMTowerIdErrors
:
33
case
kMEMBlockSizeErrors
:
34
case
kMEMChIdErrors
:
35
case
kMEMGainErrors
:
36
runOnErrors
(*static_cast<const EcalElectronicsIdCollection*>(_p), _collection);
37
break
;
38
default
:
39
break
;
40
}
41
}
42
43
}
44
45
#endif
46
ecaldqm::PNIntegrityTask::kMEMBlockSize
Definition:
PNIntegrityTask.h:22
ecaldqm::PNIntegrityTask::PNIntegrityTask
PNIntegrityTask(const edm::ParameterSet &, const edm::ParameterSet &)
Definition:
PNIntegrityTask.cc:7
ecaldqm::kMEMGainErrors
Definition:
Collections.h:17
DQWorkerTask.h
edm::EDCollection
Definition:
EDCollection.h:17
ecaldqm::PNIntegrityTask::runOnErrors
void runOnErrors(const EcalElectronicsIdCollection &, Collections)
Definition:
PNIntegrityTask.cc:22
ecaldqm::kMEMTowerIdErrors
Definition:
Collections.h:14
ecaldqm::PNIntegrityTask
Definition:
PNIntegrityTask.h:10
ecaldqm::kMEMChIdErrors
Definition:
Collections.h:16
ecaldqm::PNIntegrityTask::kMEMTowerId
Definition:
PNIntegrityTask.h:23
ecaldqm::PNIntegrityTask::analyze
void analyze(const void *, Collections)
Definition:
PNIntegrityTask.h:30
ecaldqm::DQWorkerTask
Definition:
DQWorkerTask.h:12
ecaldqm::PNIntegrityTask::nMESets
Definition:
PNIntegrityTask.h:24
ecaldqm::kMEMBlockSizeErrors
Definition:
Collections.h:15
ecaldqm::PNIntegrityTask::~PNIntegrityTask
~PNIntegrityTask()
Definition:
PNIntegrityTask.cc:17
ecaldqm::Collections
Collections
Definition:
Collections.h:6
ecaldqm::PNIntegrityTask::kMEMChId
Definition:
PNIntegrityTask.h:20
ecaldqm::PNIntegrityTask::setMEData
static void setMEData(std::vector< MEData > &)
Definition:
PNIntegrityTask.cc:50
edm::ParameterSet
Definition:
ParameterSet.h:35
EcalDetIdCollections.h
ecaldqm::PNIntegrityTask::MESets
MESets
Definition:
PNIntegrityTask.h:19
ecaldqm::PNIntegrityTask::kMEMGain
Definition:
PNIntegrityTask.h:21
Generated for CMSSW Reference Manual by
1.8.5