CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PNPresampleTask.h
Go to the documentation of this file.
1 #ifndef PNPresampleTask_H
2 #define PNPresampleTask_H
3 
5 
7 
8 namespace ecaldqm {
9 
10  class PNPresampleTask : public DQWorkerTask {
11  public:
14 
15  bool filterRunType(const std::vector<short>&);
16 
17  void beginRun(const edm::Run &, const edm::EventSetup &);
18  void endEvent(const edm::Event &, const edm::EventSetup &);
19 
20  void analyze(const void*, Collections);
21 
23 
24  enum MESets {
27  };
28 
29  static void setMEData(std::vector<MEData>&);
30 
31  protected:
33  };
34 
35  inline void PNPresampleTask::analyze(const void* _p, Collections _collection){
36  switch(_collection){
37  case kPnDiodeDigi:
38  runOnPnDigis(*static_cast<const EcalPnDiodeDigiCollection*>(_p));
39  break;
40  default:
41  break;
42  }
43  }
44 
45 }
46 
47 #endif
bool filterRunType(const std::vector< short > &)
void runOnPnDigis(const EcalPnDiodeDigiCollection &)
void analyze(const void *, Collections)
static void setMEData(std::vector< MEData > &)
void endEvent(const edm::Event &, const edm::EventSetup &)
PNPresampleTask(const edm::ParameterSet &, const edm::ParameterSet &)
bool enable_[BinService::nDCC]
Definition: Run.h:33
void beginRun(const edm::Run &, const edm::EventSetup &)