CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DQWorkerTask.cc
Go to the documentation of this file.
2 
3 namespace ecaldqm {
4 
5  DQWorkerTask::DQWorkerTask(const edm::ParameterSet& _params, const edm::ParameterSet& _paths, std::string const& _name) :
6  DQWorker(_params, _paths, _name),
7  collectionMask_(0),
8  dependencies_()
9  {
10  }
11 
12  const std::vector<std::pair<Collections, Collections> >&
14  {
15  return dependencies_;
16  }
17 
18  bool
19  DQWorkerTask::runsOn(unsigned _collection)
20  {
21  if(_collection >= nProcessedObjects) return false;
22  return (collectionMask_ >> _collection) & 0x1;
23  }
24 
25  bool
26  DQWorkerTask::filterRunType(const std::vector<short>&)
27  {
28  return true;
29  }
30 
31  bool
33  {
34  return true;
35  }
36 
37 }
38 
std::vector< std::pair< Collections, Collections > > dependencies_
Definition: DQWorkerTask.h:31
DQWorkerTask(const edm::ParameterSet &, const edm::ParameterSet &, std::string const &)
Definition: DQWorkerTask.cc:5
virtual bool runsOn(unsigned)
Definition: DQWorkerTask.cc:19
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