CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
ecaldqm::DQWorkerTask Class Reference

#include <DQWorkerTask.h>

Inheritance diagram for ecaldqm::DQWorkerTask:
ecaldqm::DQWorker ecaldqm::ClusterTask ecaldqm::EnergyTask ecaldqm::IntegrityTask ecaldqm::LaserTask ecaldqm::LedTask ecaldqm::OccupancyTask ecaldqm::PedestalTask ecaldqm::PNIntegrityTask ecaldqm::PNPresampleTask ecaldqm::PresampleTask ecaldqm::RawDataTask ecaldqm::SelectiveReadoutTask ecaldqm::TestPulseTask ecaldqm::TimingTask ecaldqm::TowerStatusTask ecaldqm::TrigPrimTask

Public Member Functions

virtual void analyze (const void *, Collections)
 
virtual void beginEvent (const edm::Event &, const edm::EventSetup &)
 
 DQWorkerTask (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &)
 
virtual void endEvent (const edm::Event &, const edm::EventSetup &)
 
virtual bool filterRunType (const std::vector< short > &)
 
virtual bool filterTrigger (const edm::TriggerResultsByName &)
 
virtual const std::vector
< std::pair< Collections,
Collections > > & 
getDependencies ()
 
virtual bool runsOn (unsigned)
 
virtual ~DQWorkerTask ()
 
- Public Member Functions inherited from ecaldqm::DQWorker
virtual void beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &)
 
virtual void beginRun (const edm::Run &, const edm::EventSetup &)
 
virtual void bookMEs ()
 
 DQWorker (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &)
 
virtual void endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &)
 
virtual void endRun (const edm::Run &, const edm::EventSetup &)
 
const std::vector< MESet * > & getMEs ()
 
virtual std::string const & getName ()
 
virtual bool isInitialized ()
 
virtual void reset ()
 
virtual void setInitialized (bool _init)
 
virtual void setVerbosity (int _verbosity)
 
virtual ~DQWorker ()
 

Protected Attributes

uint32_t collectionMask_
 
std::vector< std::pair
< Collections, Collections > > 
dependencies_
 
- Protected Attributes inherited from ecaldqm::DQWorker
bool initialized_
 
std::vector< MESet * > MEs_
 
std::string name_
 
int verbosity_
 

Additional Inherited Members

- Public Types inherited from ecaldqm::DQWorker
enum  MESets { nMESets }
 
- Static Public Member Functions inherited from ecaldqm::DQWorker
static void setMEData (std::vector< MEData > &)
 
- Static Public Attributes inherited from ecaldqm::DQWorker
static std::map< std::string,
std::vector< MEData > > 
meData
 
- Protected Member Functions inherited from ecaldqm::DQWorker
MESetcreateMESet_ (std::string const &, MEData const &, bool _readOnly=false) const
 
void meSet_ (unsigned, edm::ParameterSet const &)
 

Detailed Description

Definition at line 12 of file DQWorkerTask.h.

Constructor & Destructor Documentation

ecaldqm::DQWorkerTask::DQWorkerTask ( const edm::ParameterSet _params,
const edm::ParameterSet _paths,
std::string const &  _name 
)

Definition at line 5 of file DQWorkerTask.cc.

5  :
6  DQWorker(_params, _paths, _name),
9  {
10  }
std::vector< std::pair< Collections, Collections > > dependencies_
Definition: DQWorkerTask.h:31
DQWorker(const edm::ParameterSet &, const edm::ParameterSet &, std::string const &)
Definition: DQWorker.cc:18
virtual ecaldqm::DQWorkerTask::~DQWorkerTask ( )
inlinevirtual

Definition at line 15 of file DQWorkerTask.h.

15 {}

Member Function Documentation

virtual void ecaldqm::DQWorkerTask::analyze ( const void *  ,
Collections   
)
inlinevirtual
virtual void ecaldqm::DQWorkerTask::beginEvent ( const edm::Event ,
const edm::EventSetup  
)
inlinevirtual
virtual void ecaldqm::DQWorkerTask::endEvent ( const edm::Event ,
const edm::EventSetup  
)
inlinevirtual

Reimplemented in ecaldqm::LaserTask, ecaldqm::LedTask, ecaldqm::TestPulseTask, and ecaldqm::PNPresampleTask.

Definition at line 18 of file DQWorkerTask.h.

Referenced by EcalDQMonitorTask::analyze().

18 {}
bool ecaldqm::DQWorkerTask::filterRunType ( const std::vector< short > &  )
virtual
bool ecaldqm::DQWorkerTask::filterTrigger ( const edm::TriggerResultsByName )
virtual

Definition at line 32 of file DQWorkerTask.cc.

33  {
34  return true;
35  }
const std::vector< std::pair< Collections, Collections > > & ecaldqm::DQWorkerTask::getDependencies ( )
virtual

Definition at line 13 of file DQWorkerTask.cc.

References dependencies_.

Referenced by EcalDQMonitorTask::EcalDQMonitorTask().

14  {
15  return dependencies_;
16  }
std::vector< std::pair< Collections, Collections > > dependencies_
Definition: DQWorkerTask.h:31
bool ecaldqm::DQWorkerTask::runsOn ( unsigned  _collection)
virtual

Definition at line 19 of file DQWorkerTask.cc.

References collectionMask_, and ecaldqm::nProcessedObjects.

Referenced by EcalDQMonitorTask::beginLuminosityBlock(), EcalDQMonitorTask::beginRun(), EcalDQMonitorTask::endLuminosityBlock(), and EcalDQMonitorTask::endRun().

20  {
21  if(_collection >= nProcessedObjects) return false;
22  return (collectionMask_ >> _collection) & 0x1;
23  }

Member Data Documentation

uint32_t ecaldqm::DQWorkerTask::collectionMask_
protected
std::vector<std::pair<Collections, Collections> > ecaldqm::DQWorkerTask::dependencies_
protected