Main Page
Namespaces
Classes
Package Documentation
GIT Directory
WorkBook
Offline Guide
Release schedule
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DQM
EcalMonitorTasks
interface
TimingTask.h
Go to the documentation of this file.
1
#ifndef TimingTask_H
2
#define TimingTask_H
3
4
#include "
DQWorkerTask.h
"
5
6
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
7
8
namespace
ecaldqm {
9
10
class
TimingTask
:
public
DQWorkerTask
{
11
public
:
12
TimingTask
();
13
~TimingTask
() {}
14
15
bool
filterRunType
(
short
const
*)
override
;
16
17
bool
analyze
(
void
const
*,
Collections
)
override
;
18
19
void
runOnRecHits
(
EcalRecHitCollection
const
&,
Collections
);
20
21
private
:
22
void
setParams
(
edm::ParameterSet
const
&)
override
;
23
24
float
energyThresholdEB_
;
25
float
energyThresholdEE_
;
26
};
27
28
inline
bool
TimingTask::analyze
(
void
const
* _p,
Collections
_collection){
29
switch
(_collection){
30
case
kEBRecHit
:
31
case
kEERecHit
:
32
if
(_p)
runOnRecHits
(*static_cast<EcalRecHitCollection const*>(_p), _collection);
33
return
true
;
34
break
;
35
default
:
36
break
;
37
}
38
return
false
;
39
}
40
41
}
42
43
#endif
44
edm::SortedCollection< EcalRecHit >
DQWorkerTask.h
EcalRecHitCollections.h
ecaldqm::TimingTask
Definition:
TimingTask.h:10
ecaldqm::TimingTask::setParams
void setParams(edm::ParameterSet const &) override
Definition:
TimingTask.cc:19
ecaldqm::TimingTask::runOnRecHits
void runOnRecHits(EcalRecHitCollection const &, Collections)
Definition:
TimingTask.cc:41
ecaldqm::kEBRecHit
Definition:
Collections.h:34
ecaldqm::DQWorkerTask
Definition:
DQWorkerTask.h:74
ecaldqm::TimingTask::TimingTask
TimingTask()
Definition:
TimingTask.cc:11
ecaldqm::TimingTask::energyThresholdEE_
float energyThresholdEE_
Definition:
TimingTask.h:25
ecaldqm::Collections
Collections
Definition:
Collections.h:6
ecaldqm::TimingTask::energyThresholdEB_
float energyThresholdEB_
Definition:
TimingTask.h:24
ecaldqm::TimingTask::analyze
bool analyze(void const *, Collections) override
Definition:
TimingTask.h:28
ecaldqm::kEERecHit
Definition:
Collections.h:35
edm::ParameterSet
Definition:
ParameterSet.h:35
ecaldqm::TimingTask::filterRunType
bool filterRunType(short const *) override
Definition:
TimingTask.cc:26
ecaldqm::TimingTask::~TimingTask
~TimingTask()
Definition:
TimingTask.h:13
Generated for CMSSW Reference Manual by
1.8.5