#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(), ntuplemaker::time, and ecaldqm::EcalDQMonitor::verbosity_.
|
inline |
Definition at line 22 of file EcalDQMonitorTask.h.
References Vispa.Share.Profiling::analyze(), bookHistograms(), and Ecal2004TBTDCRanges_v1_cff::endRun.
|
overrideprivatevirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 158 of file EcalDQMonitorTask.cc.
References edm::SortedCollection< T, SORT >::begin(), collectionTokens_, DEFINE_FWK_MODULE, edm::SortedCollection< T, SORT >::end(), 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(), schedule_, edm::second(), ecaldqm::DQWorker::setEventNumber(), ecaldqm::DQWorker::setTime(), ntuplemaker::time, 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_, processedEvents_, and ntuplemaker::time.
|
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_, ntuplemaker::time, 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_, mps_alisetup::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(), Config.Process::_replaceInSchedule(), analyze(), Config.Process::dumpPython(), EcalDQMonitorTask(), formSchedule(), Config.Process::prune(), and Config.Process::resolve().