#include <EcalDQMonitorTask.h>
Public Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) override |
EcalDQMonitorTask (edm::ParameterSet const &) | |
~EcalDQMonitorTask () | |
Public Member Functions inherited from one::DQMEDAnalyzer< one::DQMLuminosityBlockElements > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
Public Member Functions inherited from ecaldqm::EcalDQMonitor | |
EcalDQMonitor (edm::ParameterSet const &) | |
virtual | ~EcalDQMonitor ()(false) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from ecaldqm::EcalDQMonitor | |
static void | fillDescriptions (edm::ParameterSetDescription &) |
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 | |
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, 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(), TrackValidation_cff::task, protons_cff::time, and ecaldqm::EcalDQMonitor::verbosity_.
|
inline |
Definition at line 22 of file EcalDQMonitorTask.h.
References analyze(), bookHistograms(), Ecal2004TBTDCRanges_v1_cff::endRun, and fillDescriptions().
|
overrideprivate |
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(), protons_cff::time, and ecaldqm::EcalDQMonitor::verbosity_.
|
overrideprivate |
Definition at line 137 of file EcalDQMonitorTask.cc.
References ecaldqm::EcalDQMonitor::ecaldqmBeginLuminosityBlock().
|
override |
Definition at line 102 of file EcalDQMonitorTask.cc.
References ecaldqm::DQWorker::bookMEs(), ecaldqm::EcalDQMonitor::ecaldqmGetSetupObjects(), and ecaldqm::EcalDQMonitor::executeOnWorkers_().
|
override |
Definition at line 112 of file EcalDQMonitorTask.cc.
References ecaldqm::EcalDQMonitor::ecaldqmBeginRun(), lastResetTime_, processedEvents_, and protons_cff::time.
|
overrideprivate |
Definition at line 143 of file EcalDQMonitorTask.cc.
References ecaldqm::EcalDQMonitor::ecaldqmEndLuminosityBlock(), ecaldqm::EcalDQMonitor::executeOnWorkers_(), lastResetTime_, ecaldqm::EcalDQMonitor::moduleName_, resetInterval_, protons_cff::time, and ecaldqm::EcalDQMonitor::verbosity_.
|
overrideprivate |
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_, 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(), Config.Process::_replaceInSchedule(), analyze(), Config.Process::dumpPython(), EcalDQMonitorTask(), formSchedule(), Config.Process::prune(), and Config.Process::resolve().