CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
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::PNDiodeTask ecaldqm::PresampleTask ecaldqm::RawDataTask ecaldqm::RecoSummaryTask ecaldqm::SelectiveReadoutTask ecaldqm::TestPulseTask ecaldqm::TimingTask ecaldqm::TrigPrimTask

Public Types

typedef EcalDCCHeaderBlock::EcalDCCEventSettings EventSettings
 

Public Member Functions

virtual void addDependencies (DependencySet &)
 
virtual bool analyze (void const *, Collections)
 
virtual void beginEvent (edm::Event const &, edm::EventSetup const &, bool const &, bool &)
 
 DQWorkerTask ()
 
virtual void endEvent (edm::Event const &, edm::EventSetup const &)
 
virtual bool filterRunType (short const *)
 
virtual bool filterTrigger (edm::TriggerResultsByName const &)
 
virtual void setTokens (edm::ConsumesCollector &)
 
 ~DQWorkerTask () override
 
- Public Member Functions inherited from ecaldqm::DQWorker
virtual void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void beginRun (edm::Run const &, edm::EventSetup const &)
 
virtual void bookMEs (DQMStore::IBooker &)
 
 DQWorker ()
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void endRun (edm::Run const &, edm::EventSetup const &)
 
const EcalDQMSetupObjects getEcalDQMSetupObjects ()
 
const EcalElectronicsMappingGetElectronicsMap ()
 
const CaloGeometryGetGeometry ()
 
const std::string & getName () const
 
const CaloTopologyGetTopology ()
 
const EcalTrigTowerConstituentsMapGetTrigTowerMap ()
 
bool onlineMode () const
 
virtual void releaseMEs ()
 
void setEventNumber (edm::EventNumber_t _e)
 
void setLumiNumber (edm::LuminosityBlockNumber_t _l)
 
void setRunNumber (edm::RunNumber_t _r)
 
void setSetupObjects (edm::EventSetup const &)
 
void setTime (time_t _t)
 
virtual ~DQWorker () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ParameterSetDescription &)
 
- Static Public Member Functions inherited from ecaldqm::DQWorker
static void fillDescriptions (edm::ParameterSetDescription &_desc)
 

Protected Member Functions

void setME (edm::ParameterSet const &) final
 
- Protected Member Functions inherited from ecaldqm::DQWorker
void initialize (std::string const &_name, edm::ParameterSet const &)
 
void print_ (std::string const &, int=0) const
 
virtual void setParams (edm::ParameterSet const &)
 
virtual void setSource (edm::ParameterSet const &)
 
void setVerbosity (int _verbosity)
 

Additional Inherited Members

- Protected Types inherited from ecaldqm::DQWorker
typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 
- Protected Attributes inherited from ecaldqm::DQWorker
bool booked_
 
MESetCollection MEs_
 
std::string name_
 
bool onlineMode_
 
Timestamp timestamp_
 
int verbosity_
 
bool willConvertToEDM_
 

Detailed Description

Definition at line 71 of file DQWorkerTask.h.

Member Typedef Documentation

◆ EventSettings

Definition at line 73 of file DQWorkerTask.h.

Constructor & Destructor Documentation

◆ DQWorkerTask()

ecaldqm::DQWorkerTask::DQWorkerTask ( )

Definition at line 8 of file DQWorkerTask.cc.

8 : DQWorker() {}

◆ ~DQWorkerTask()

ecaldqm::DQWorkerTask::~DQWorkerTask ( )
inlineoverride

Definition at line 76 of file DQWorkerTask.h.

76 {}

Member Function Documentation

◆ addDependencies()

virtual void ecaldqm::DQWorkerTask::addDependencies ( DependencySet )
inlinevirtual

◆ analyze()

virtual bool ecaldqm::DQWorkerTask::analyze ( void const *  ,
Collections   
)
inlinevirtual

◆ beginEvent()

virtual void ecaldqm::DQWorkerTask::beginEvent ( edm::Event const &  ,
edm::EventSetup const &  ,
bool const &  ,
bool &   
)
inlinevirtual

◆ endEvent()

virtual void ecaldqm::DQWorkerTask::endEvent ( edm::Event const &  ,
edm::EventSetup const &   
)
inlinevirtual

Reimplemented in ecaldqm::ClusterTask, and ecaldqm::RecoSummaryTask.

Definition at line 81 of file DQWorkerTask.h.

81 {}

◆ fillDescriptions()

void ecaldqm::DQWorkerTask::fillDescriptions ( edm::ParameterSetDescription _desc)
static

◆ filterRunType()

virtual bool ecaldqm::DQWorkerTask::filterRunType ( short const *  )
inlinevirtual

◆ filterTrigger()

virtual bool ecaldqm::DQWorkerTask::filterTrigger ( edm::TriggerResultsByName const &  )
inlinevirtual

Definition at line 84 of file DQWorkerTask.h.

84 { return true; };

◆ setME()

void ecaldqm::DQWorkerTask::setME ( edm::ParameterSet const &  _ps)
finalprotectedvirtual

Reimplemented from ecaldqm::DQWorker.

Definition at line 13 of file DQWorkerTask.cc.

13  {
14  DQWorker::setME(_ps);
15 
16  for (MESetCollection::iterator mItr(MEs_.begin()); mItr != MEs_.end(); ++mItr) {
18  mItr->second->setBatchMode();
19  }
20  }

References ecaldqm::MESetCollection::begin(), ecaldqm::MESetCollection::end(), ecaldqm::DQWorker::MEs_, ecaldqm::DQWorker::setME(), and ecaldqm::DQWorker::willConvertToEDM_.

◆ setTokens()

virtual void ecaldqm::DQWorkerTask::setTokens ( edm::ConsumesCollector )
inlinevirtual
ecaldqm::MESetCollection::end
auto end() const
Definition: MESet.h:393
ecaldqm::DQWorker::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &_desc)
Definition: DQWorker.cc:31
ecaldqm::DQWorker::MEs_
MESetCollection MEs_
Definition: DQWorker.h:104
ecaldqm::MESetCollection::begin
auto begin()
Definition: MESet.h:392
ecaldqm::DQWorker::willConvertToEDM_
bool willConvertToEDM_
Definition: DQWorker.h:112
ecaldqm::DQWorker::setME
virtual void setME(edm::ParameterSet const &)
Definition: DQWorker.cc:53
ecaldqm::MESetCollection::iterator
MESetColletionType::iterator iterator
Definition: MESet.h:384
ecaldqm::DQWorker::DQWorker
DQWorker()
Definition: DQWorker.cc:18