#include <EcalDQMonitorTask.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Private Types | |
typedef void(EcalDQMonitorTask::* | Processor )(edm::Event const &, ecaldqm::Collections) |
Private Member Functions | |
void | analyze (edm::Event const &, edm::EventSetup const &) |
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
void | beginRun (edm::Run const &, edm::EventSetup const &) |
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
void | endRun (edm::Run const &, edm::EventSetup const &) |
void | formSchedule_ (std::vector< ecaldqm::Collections > const &, std::multimap< ecaldqm::Collections, ecaldqm::Collections > const &) |
void | registerCollection (ecaldqm::Collections, edm::InputTag const &) |
template<class C > | |
void | runOnCollection (edm::Event const &, ecaldqm::Collections) |
template<> | |
void | runOnCollection (edm::Event const &_evt, ecaldqm::Collections _collection) |
Private Attributes | |
bool | allowMissingCollections_ |
edm::EDGetToken | collectionTokens_ [ecaldqm::nCollections] |
std::map < ecaldqm::DQWorkerTask *, bool > | enabled_ |
bool | evaluateTime_ |
int | ievt_ |
std::vector< std::pair < Processor, ecaldqm::Collections > > | schedule_ |
std::vector < ecaldqm::DQWorkerTask * > | taskLists_ [ecaldqm::nCollections] |
std::map < ecaldqm::DQWorkerTask *, double > | taskTimes_ |
std::vector < ecaldqm::DQWorkerTask * > | workers_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Protected Attributes inherited from EcalDQMonitor | |
bool | initialized_ |
const bool | mergeRuns_ |
std::string | moduleName_ |
const int | verbosity_ |
Definition at line 24 of file EcalDQMonitorTask.h.
|
private |
Definition at line 40 of file EcalDQMonitorTask.h.
EcalDQMonitorTask::EcalDQMonitorTask | ( | edm::ParameterSet const & | _ps | ) |
Definition at line 27 of file EcalDQMonitorTask.cc.
References ecaldqm::collectionName, collectionTokens_, gather_cfg::cout, ecaldqm::SetWorker::findFactory(), formSchedule_(), ecaldqm::DQWorkerTask::getDependencies(), ecaldqm::DQWorker::getName(), edm::ParameterSet::getUntrackedParameter(), edm::ParameterSet::getUntrackedParameterSet(), ecaldqm::kEcalRawData, EcalDQMonitor::moduleName_, ecaldqm::nCollections, registerCollection(), schedule_, edm::second(), ecaldqm::DQWorker::setVerbosity(), taskLists_, EcalDQMonitor::verbosity_, and workers_.
EcalDQMonitorTask::~EcalDQMonitorTask | ( | ) |
Definition at line 100 of file EcalDQMonitorTask.cc.
References workers_.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 182 of file EcalDQMonitorTask.cc.
References ecaldqm::DQWorkerTask::beginEvent(), ecaldqm::DQWorker::bookMEs(), collectionTokens_, gather_cfg::cout, enabled_, ecaldqm::DQWorkerTask::endEvent(), ecaldqm::DQWorkerTask::filterRunType(), first, edm::Event::getByToken(), ecaldqm::DQWorker::getName(), ievt_, ecaldqm::DQWorker::isInitialized(), ecaldqm::kEcalRawData, EcalDQMonitor::moduleName_, environment_file_cff::runType, schedule_, edm::second(), ecaldqm::DQWorker::setInitialized(), EcalDQMonitor::verbosity_, and workers_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 164 of file EcalDQMonitorTask.cc.
References ecaldqm::DQWorker::beginLuminosityBlock(), ecaldqm::DQWorker::isInitialized(), ecaldqm::kLumiSection, ecaldqm::DQWorkerTask::runsOn(), and workers_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 116 of file EcalDQMonitorTask.cc.
References ecaldqm::DQWorker::beginRun(), gather_cfg::cout, edm::EventSetup::get(), ievt_, ecaldqm::kRun, EcalDQMonitor::moduleName_, edm::ESHandle< class >::product(), ecaldqm::DQWorker::reset(), edm::RunBase::run(), ecaldqm::DQWorkerTask::runsOn(), ecaldqm::setElectronicsMap(), ecaldqm::setTrigTowerMap(), taskTimes_, EcalDQMonitor::verbosity_, and workers_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 173 of file EcalDQMonitorTask.cc.
References ecaldqm::DQWorker::endLuminosityBlock(), ecaldqm::DQWorker::isInitialized(), ecaldqm::kLumiSection, ecaldqm::DQWorkerTask::runsOn(), and workers_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 142 of file EcalDQMonitorTask.cc.
References ecaldqm::DQWorker::endRun(), evaluateTime_, ecaldqm::DQWorker::getName(), ievt_, ecaldqm::kRun, EcalDQMonitor::moduleName_, ecaldqm::DQWorkerTask::runsOn(), taskTimes_, and workers_.
|
static |
Definition at line 108 of file EcalDQMonitorTask.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 152 of file EcalDQMonitorTask2.cc.
References edm::hlt::Exception, spr::find(), ecaldqm::kBlockSizeErrors, ecaldqm::kChIdErrors, ecaldqm::kEBBasicCluster, ecaldqm::kEBDigi, ecaldqm::kEBRecHit, ecaldqm::kEBSrFlag, ecaldqm::kEBSuperCluster, ecaldqm::kEBUncalibRecHit, ecaldqm::kEcalRawData, ecaldqm::kEEBasicCluster, ecaldqm::kEEDigi, ecaldqm::kEERecHit, ecaldqm::kEESrFlag, ecaldqm::kEESuperCluster, ecaldqm::kEEUncalibRecHit, ecaldqm::kGainErrors, ecaldqm::kGainSwitchErrors, ecaldqm::kMEMBlockSizeErrors, ecaldqm::kMEMChIdErrors, ecaldqm::kMEMGainErrors, ecaldqm::kMEMTowerIdErrors, ecaldqm::kPnDiodeDigi, ecaldqm::kSource, ecaldqm::kTowerIdErrors, ecaldqm::kTrigPrimDigi, ecaldqm::kTrigPrimEmulDigi, and schedule_.
Referenced by EcalDQMonitorTask().
|
private |
Definition at line 20 of file EcalDQMonitorTask2.cc.
References collectionTokens_, edm::hlt::Exception, ecaldqm::kBlockSizeErrors, ecaldqm::kChIdErrors, ecaldqm::kEBBasicCluster, ecaldqm::kEBDigi, ecaldqm::kEBRecHit, ecaldqm::kEBSrFlag, ecaldqm::kEBSuperCluster, ecaldqm::kEBUncalibRecHit, ecaldqm::kEcalRawData, ecaldqm::kEEBasicCluster, ecaldqm::kEEDigi, ecaldqm::kEERecHit, ecaldqm::kEESrFlag, ecaldqm::kEESuperCluster, ecaldqm::kEEUncalibRecHit, ecaldqm::kGainErrors, ecaldqm::kGainSwitchErrors, ecaldqm::kMEMBlockSizeErrors, ecaldqm::kMEMChIdErrors, ecaldqm::kMEMGainErrors, ecaldqm::kMEMTowerIdErrors, ecaldqm::kPnDiodeDigi, ecaldqm::kSource, ecaldqm::kTowerIdErrors, ecaldqm::kTrigPrimDigi, and ecaldqm::kTrigPrimEmulDigi.
Referenced by EcalDQMonitorTask().
|
private |
Definition at line 82 of file EcalDQMonitorTask2.cc.
References allowMissingCollections_, ecaldqm::DQWorkerTask::analyze(), begin, ecaldqm::collectionName, collectionTokens_, enabled_, evaluateTime_, edm::hlt::Exception, edm::Event::getByToken(), edm::Handle< T >::product(), taskLists_, and taskTimes_.
|
private |
Definition at line 113 of file EcalDQMonitorTask2.cc.
References ecaldqm::DQWorkerTask::analyze(), begin, ecaldqm::collectionName, edm::hlt::Exception, and edm::EDCollection< T >::push_back().
|
private |
Definition at line 62 of file EcalDQMonitorTask.h.
Referenced by runOnCollection().
|
private |
Definition at line 51 of file EcalDQMonitorTask.h.
Referenced by analyze(), EcalDQMonitorTask(), registerCollection(), and runOnCollection().
|
private |
Definition at line 57 of file EcalDQMonitorTask.h.
Referenced by analyze(), and runOnCollection().
|
private |
Definition at line 60 of file EcalDQMonitorTask.h.
Referenced by endRun(), and runOnCollection().
|
private |
Definition at line 47 of file EcalDQMonitorTask.h.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 53 of file EcalDQMonitorTask.h.
Referenced by Config.Process::_insertPaths(), analyze(), EcalDQMonitorTask(), formSchedule_(), and Config.Process::prune().
|
private |
Definition at line 55 of file EcalDQMonitorTask.h.
Referenced by EcalDQMonitorTask(), and runOnCollection().
|
private |
Definition at line 59 of file EcalDQMonitorTask.h.
Referenced by beginRun(), endRun(), and runOnCollection().
|
private |
Definition at line 49 of file EcalDQMonitorTask.h.
Referenced by analyze(), beginLuminosityBlock(), beginRun(), EcalDQMonitorTask(), endLuminosityBlock(), endRun(), and ~EcalDQMonitorTask().