CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DQWorkerTask.h
Go to the documentation of this file.
1 #ifndef DQWorkerTask_H
2 #define DQWorkerTask_H
3 
4 #include <string>
5 
8 
10 
11 namespace ecaldqm {
12  class DQWorkerTask : public DQWorker {
13  public:
14  DQWorkerTask(const edm::ParameterSet&, const edm::ParameterSet&, std::string const&);
15  virtual ~DQWorkerTask() {}
16 
17  virtual void beginEvent(const edm::Event &, const edm::EventSetup &) {}
18  virtual void endEvent(const edm::Event &, const edm::EventSetup &) {}
19 
20  virtual bool runsOn(unsigned);
21  virtual const std::vector<std::pair<Collections, Collections> >& getDependencies();
22  virtual bool filterRunType(const std::vector<short>&);
23  virtual bool filterTrigger(const edm::TriggerResultsByName &);
24 
25  virtual void analyze(const void*, Collections){}
26 
27  protected:
28  uint32_t collectionMask_;
29  // list of dependencies between collections
30  // first element depends on the second
31  std::vector<std::pair<Collections, Collections> > dependencies_;
32  };
33 
34 }
35 #endif
std::vector< std::pair< Collections, Collections > > dependencies_
Definition: DQWorkerTask.h:31
virtual void endEvent(const edm::Event &, const edm::EventSetup &)
Definition: DQWorkerTask.h:18
DQWorkerTask(const edm::ParameterSet &, const edm::ParameterSet &, std::string const &)
Definition: DQWorkerTask.cc:5
virtual void analyze(const void *, Collections)
Definition: DQWorkerTask.h:25
virtual bool runsOn(unsigned)
Definition: DQWorkerTask.cc:19
virtual void beginEvent(const edm::Event &, const edm::EventSetup &)
Definition: DQWorkerTask.h:17
virtual bool filterTrigger(const edm::TriggerResultsByName &)
Definition: DQWorkerTask.cc:32
virtual bool filterRunType(const std::vector< short > &)
Definition: DQWorkerTask.cc:26
virtual const std::vector< std::pair< Collections, Collections > > & getDependencies()
Definition: DQWorkerTask.cc:13