#include <EcalDQMonitorTask.h>
Private Types | |
typedef void(EcalDQMonitorTask::* | Processor )(edm::Event const &, ecaldqm::Collections, std::set< ecaldqm::DQWorker * > const &) |
Private Member Functions | |
void | analyze (edm::Event const &, edm::EventSetup const &) override |
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
void | formSchedule (std::vector< ecaldqm::Collections > const &, edm::ParameterSet const &) |
template<typename CollectionClass > | |
void | runOnCollection (edm::Event const &, ecaldqm::Collections, std::set< ecaldqm::DQWorker * > const &) |
Private Attributes | |
bool | allowMissingCollections_ |
edm::EDGetToken | collectionTokens_ [ecaldqm::nCollections] |
time_t | lastResetTime_ |
int | processedEvents_ |
float | resetInterval_ |
std::vector< std::pair < Processor, ecaldqm::Collections > > | schedule_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 Member Functions inherited from ecaldqm::EcalDQMonitor | |
void | ecaldqmBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
void | ecaldqmBeginRun (edm::Run const &, edm::EventSetup const &) |
void | ecaldqmEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
void | ecaldqmEndRun (edm::Run const &, edm::EventSetup const &) |
void | ecaldqmGetSetupObjects (edm::EventSetup const &) |
template<typename FuncOnWorker > | |
void | executeOnWorkers_ (FuncOnWorker, std::string const &, std::string const &="", int=1) |
Protected Attributes inherited from ecaldqm::EcalDQMonitor | |
std::string const | moduleName_ |
int const | verbosity_ |
std::vector< DQWorker * > | workers_ |
Definition at line 19 of file EcalDQMonitorTask.h.
|
private |
Definition at line 35 of file EcalDQMonitorTask.h.
EcalDQMonitorTask::EcalDQMonitorTask | ( | edm::ParameterSet const & | _ps | ) |
Definition at line 27 of file EcalDQMonitorTask.cc.
References ecaldqm::DQWorkerTask::addDependencies(), ecaldqm::DQWorkerTask::analyze(), ecaldqm::collectionName, edm::EDConsumerBase::consumesCollector(), symbols::dependencies, Exception, ecaldqm::EcalDQMonitor::executeOnWorkers_(), formSchedule(), ecaldqm::DependencySet::formSequence(), ecaldqm::DQWorker::getName(), edm::ParameterSet::getUntrackedParameterSet(), ecaldqm::kEcalRawData, lastResetTime_, ecaldqm::EcalDQMonitor::moduleName_, ecaldqm::nCollections, ecaldqm::DependencySet::push_back(), schedule_, edm::second(), ecaldqm::DQWorkerTask::setTokens(), contentValuesCheck::ss, and ecaldqm::EcalDQMonitor::verbosity_.
|
inline |
Definition at line 22 of file EcalDQMonitorTask.h.
|
overrideprivatevirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 158 of file EcalDQMonitorTask.cc.
References collectionTokens_, edm::EventID::event(), ecaldqm::EcalDQMonitor::executeOnWorkers_(), plotBeamSpotDB::first, edm::Event::getByToken(), ecaldqm::DQWorker::getName(), edm::EventBase::id(), ecaldqm::kEcalRawData, edm::EventID::luminosityBlock(), ecaldqm::EcalDQMonitor::moduleName_, ecaldqm::nDCC, ecaldqm::DQWorker::onlineMode(), processedEvents_, processEvent(), edm::EventID::run(), runPedHist::runType, schedule_, edm::second(), ecaldqm::DQWorker::setEventNumber(), ecaldqm::DQWorker::setTime(), contentValuesCheck::ss, and ecaldqm::EcalDQMonitor::verbosity_.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 137 of file EcalDQMonitorTask.cc.
References ecaldqm::EcalDQMonitor::ecaldqmBeginLuminosityBlock().
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 102 of file EcalDQMonitorTask.cc.
References ecaldqm::DQWorker::bookMEs(), ecaldqm::EcalDQMonitor::ecaldqmGetSetupObjects(), and ecaldqm::EcalDQMonitor::executeOnWorkers_().
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 112 of file EcalDQMonitorTask.cc.
References ecaldqm::EcalDQMonitor::ecaldqmBeginRun(), lastResetTime_, and processedEvents_.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 143 of file EcalDQMonitorTask.cc.
References ecaldqm::EcalDQMonitor::ecaldqmEndLuminosityBlock(), ecaldqm::EcalDQMonitor::executeOnWorkers_(), lastResetTime_, ecaldqm::EcalDQMonitor::moduleName_, resetInterval_, and ecaldqm::EcalDQMonitor::verbosity_.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 122 of file EcalDQMonitorTask.cc.
References ecaldqm::EcalDQMonitor::ecaldqmEndRun(), ecaldqm::EcalDQMonitor::executeOnWorkers_(), lastResetTime_, and ecaldqm::DQWorker::releaseMEs().
|
static |
Definition at line 80 of file EcalDQMonitorTask.cc.
References edm::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addNode(), edm::ParameterSetDescription::addUntracked(), edm::ParameterSetDescription::addWildcardUntracked(), ecaldqm::EcalDQMonitor::fillDescriptions(), ecaldqm::DQWorkerTask::fillDescriptions(), and edm::RequireZeroOrMore.
|
private |
Definition at line 42 of file EcalDQMonitorTask2.cc.
References ecaldqm::collectionName, collectionTokens_, edm::EDConsumerBase::consumes(), Exception, edm::ParameterSet::getUntrackedParameter(), ecaldqm::kBlockSizeErrors, ecaldqm::kEBBasicCluster, ecaldqm::kEBChIdErrors, ecaldqm::kEBDigi, ecaldqm::kEBGainErrors, ecaldqm::kEBGainSwitchErrors, ecaldqm::kEBLaserLedUncalibRecHit, ecaldqm::kEBRecHit, ecaldqm::kEBReducedRecHit, ecaldqm::kEBSrFlag, ecaldqm::kEBSuperCluster, ecaldqm::kEBTestPulseUncalibRecHit, ecaldqm::kEBUncalibRecHit, ecaldqm::kEcalRawData, ecaldqm::kEEBasicCluster, ecaldqm::kEEChIdErrors, ecaldqm::kEEDigi, ecaldqm::kEEGainErrors, ecaldqm::kEEGainSwitchErrors, ecaldqm::kEELaserLedUncalibRecHit, ecaldqm::kEERecHit, ecaldqm::kEEReducedRecHit, ecaldqm::kEESrFlag, ecaldqm::kEESuperCluster, ecaldqm::kEETestPulseUncalibRecHit, ecaldqm::kEEUncalibRecHit, ecaldqm::kMEMBlockSizeErrors, ecaldqm::kMEMChIdErrors, ecaldqm::kMEMGainErrors, ecaldqm::kMEMTowerIdErrors, ecaldqm::kPnDiodeDigi, ecaldqm::kSource, ecaldqm::kTowerIdErrors, ecaldqm::kTrigPrimDigi, ecaldqm::kTrigPrimEmulDigi, schedule_, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by EcalDQMonitorTask().
|
private |
Definition at line 21 of file EcalDQMonitorTask2.cc.
References allowMissingCollections_, universalConfigTemplate::collection, ecaldqm::collectionName, collectionTokens_, Exception, ecaldqm::EcalDQMonitor::executeOnWorkers_(), edm::Event::getByToken(), ecaldqm::EcalDQMonitor::moduleName_, edm::Handle< T >::product(), and ecaldqm::EcalDQMonitor::verbosity_.
|
private |
Definition at line 45 of file EcalDQMonitorTask.h.
Referenced by runOnCollection().
|
private |
Definition at line 43 of file EcalDQMonitorTask.h.
Referenced by analyze(), formSchedule(), and runOnCollection().
|
private |
Definition at line 49 of file EcalDQMonitorTask.h.
Referenced by dqmBeginRun(), EcalDQMonitorTask(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 46 of file EcalDQMonitorTask.h.
Referenced by analyze(), and dqmBeginRun().
|
private |
Definition at line 50 of file EcalDQMonitorTask.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 44 of file EcalDQMonitorTask.h.
Referenced by Config.Process::_insertPaths(), analyze(), EcalDQMonitorTask(), formSchedule(), and Config.Process::prune().