CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TimingTask.h
Go to the documentation of this file.
1 #ifndef TimingTask_H
2 #define TimingTask_H
3 
5 
7 
8 namespace ecaldqm {
9 
10  class TimingTask : public DQWorkerTask {
11  public:
13  ~TimingTask();
14 
15  bool filterRunType(const std::vector<short>&);
16 
17  void analyze(const void*, Collections);
18 
20 
21  enum MESets {
28  };
29 
30  static void setMEData(std::vector<MEData>&);
31 
32  private:
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 
static void setMEData(std::vector< MEData > &)
Definition: TimingTask.cc:69
void analyze(const void *, Collections)
Definition: TimingTask.h:37
TimingTask(const edm::ParameterSet &, const edm::ParameterSet &)
Definition: TimingTask.cc:7
bool filterRunType(const std::vector< short > &)
Definition: TimingTask.cc:27
float energyThresholdEE_
Definition: TimingTask.h:34
float energyThresholdEB_
Definition: TimingTask.h:33
void runOnRecHits(const EcalRecHitCollection &, Collections)
Definition: TimingTask.cc:42