Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DQM
EcalBarrelMonitorTasks
interface
TimingTask.h
Go to the documentation of this file.
1
#ifndef TimingTask_H
2
#define TimingTask_H
3
4
#include "
DQM/EcalCommon/interface/DQWorkerTask.h
"
5
6
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
7
8
namespace
ecaldqm {
9
10
class
TimingTask
:
public
DQWorkerTask
{
11
public
:
12
TimingTask
(
const
edm::ParameterSet
&,
const
edm::ParameterSet
&);
13
~TimingTask
();
14
15
bool
filterRunType
(
const
std::vector<short>&)
override
;
16
17
void
analyze
(
const
void
*,
Collections
)
override
;
18
19
void
runOnRecHits
(
const
EcalRecHitCollection
&,
Collections
);
20
21
enum
MESets
{
22
kTimeMap
,
23
kTimeAmp
,
24
kTimeAll
,
25
kTimeAllMap
,
26
kTimeAmpAll
,
27
nMESets
28
};
29
30
static
void
setMEData
(std::vector<MEData>&);
31
32
private
:
33
float
energyThresholdEB_
;
34
float
energyThresholdEE_
;
35
};
36
37
inline
void
TimingTask::analyze
(
const
void
* _p,
Collections
_collection){
38
switch
(_collection){
39
case
kEBRecHit
:
40
case
kEERecHit
:
41
runOnRecHits
(*static_cast<const EcalRecHitCollection*>(_p), _collection);
42
break
;
43
default
:
44
break
;
45
}
46
}
47
48
}
49
50
#endif
51
edm::SortedCollection< EcalRecHit >
ecaldqm::TimingTask::setMEData
static void setMEData(std::vector< MEData > &)
Definition:
TimingTask.cc:69
ecaldqm::TimingTask::kTimeAll
Definition:
TimingTask.h:24
ecaldqm::TimingTask::kTimeAmp
Definition:
TimingTask.h:23
DQWorkerTask.h
EcalRecHitCollections.h
ecaldqm::TimingTask
Definition:
TimingTask.h:10
ecaldqm::TimingTask::nMESets
Definition:
TimingTask.h:27
ecaldqm::kEBRecHit
Definition:
Collections.h:27
ecaldqm::TimingTask::TimingTask
TimingTask(const edm::ParameterSet &, const edm::ParameterSet &)
Definition:
TimingTask.cc:7
ecaldqm::DQWorkerTask
Definition:
DQWorkerTask.h:12
ecaldqm::TimingTask::analyze
void analyze(const void *, Collections) override
Definition:
TimingTask.h:37
ecaldqm::TimingTask::kTimeAllMap
Definition:
TimingTask.h:25
ecaldqm::TimingTask::kTimeMap
Definition:
TimingTask.h:22
ecaldqm::TimingTask::energyThresholdEE_
float energyThresholdEE_
Definition:
TimingTask.h:34
ecaldqm::TimingTask::MESets
MESets
Definition:
TimingTask.h:21
ecaldqm::Collections
Collections
Definition:
Collections.h:6
ecaldqm::TimingTask::kTimeAmpAll
Definition:
TimingTask.h:26
ecaldqm::TimingTask::energyThresholdEB_
float energyThresholdEB_
Definition:
TimingTask.h:33
ecaldqm::kEERecHit
Definition:
Collections.h:28
edm::ParameterSet
Definition:
ParameterSet.h:35
ecaldqm::TimingTask::runOnRecHits
void runOnRecHits(const EcalRecHitCollection &, Collections)
Definition:
TimingTask.cc:42
ecaldqm::TimingTask::filterRunType
bool filterRunType(const std::vector< short > &) override
Definition:
TimingTask.cc:27
ecaldqm::TimingTask::~TimingTask
~TimingTask()
Definition:
TimingTask.cc:22
Generated for CMSSW Reference Manual by
1.8.5