#include <EcalDQMonitorTask.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 | dqmBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | dqmEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | dqmEndRun (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 DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... > | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... > | |
virtual void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)=0 |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (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 DQMOneLumiEDAnalyzer<> | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
Protected Attributes inherited from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Protected Attributes inherited from ecaldqm::EcalDQMonitor | |
const std::string | moduleName_ |
const int | verbosity_ |
std::vector< DQWorker * > | workers_ |
Definition at line 18 of file EcalDQMonitorTask.h.
|
private |
Definition at line 34 of file EcalDQMonitorTask.h.
EcalDQMonitorTask::EcalDQMonitorTask | ( | edm::ParameterSet const & | _ps | ) |
Definition at line 27 of file EcalDQMonitorTask.cc.
References ecaldqm::collectionName, EcalCalibMonitorTasks_cfi::collectionTags, edm::EDConsumerBase::consumesCollector(), symbols::dependencies, Exception, ecaldqm::EcalDQMonitor::executeOnWorkers_(), formSchedule(), ecaldqm::DQWorker::getName(), edm::ParameterSet::getParameterSet(), edm::ParameterSet::getUntrackedParameterSet(), ecaldqm::kEcalRawData, lastResetTime_, ecaldqm::EcalDQMonitor::moduleName_, ecaldqm::nCollections, schedule_, edm::second(), contentValuesCheck::ss, TrackValidation_cff::task, ntuplemaker::time, and ecaldqm::EcalDQMonitor::verbosity_.
|
inlineoverride |
Definition at line 21 of file EcalDQMonitorTask.h.
|
overrideprivatevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >.
Definition at line 137 of file EcalDQMonitorTask.cc.
References edm::SortedCollection< T, SORT >::begin(), collectionTokens_, edm::SortedCollection< T, SORT >::end(), edm::EventID::event(), ecaldqm::EcalDQMonitor::executeOnWorkers_(), dqmdumpme::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(), EcalCondDBWriter_cfi::runType, schedule_, edm::second(), ecaldqm::DQWorker::setEventNumber(), ecaldqm::DQWorker::setTime(), contentValuesCheck::ss, ntuplemaker::time, and ecaldqm::EcalDQMonitor::verbosity_.
|
override |
Definition at line 101 of file EcalDQMonitorTask.cc.
References ecaldqm::DQWorker::bookMEs(), ecaldqm::EcalDQMonitor::ecaldqmGetSetupObjects(), and ecaldqm::EcalDQMonitor::executeOnWorkers_().
|
overrideprivatevirtual |
Reimplemented from DQMOneLumiEDAnalyzer<>.
Definition at line 122 of file EcalDQMonitorTask.cc.
References ecaldqm::EcalDQMonitor::ecaldqmBeginLuminosityBlock().
|
overridevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >.
Definition at line 107 of file EcalDQMonitorTask.cc.
References ecaldqm::EcalDQMonitor::ecaldqmBeginRun(), lastResetTime_, processedEvents_, and ntuplemaker::time.
|
overrideprivatevirtual |
Reimplemented from DQMOneLumiEDAnalyzer<>.
Definition at line 126 of file EcalDQMonitorTask.cc.
References ecaldqm::EcalDQMonitor::ecaldqmEndLuminosityBlock(), lastResetTime_, ecaldqm::EcalDQMonitor::moduleName_, resetInterval_, ntuplemaker::time, and ecaldqm::EcalDQMonitor::verbosity_.
|
overrideprivatevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >.
Definition at line 116 of file EcalDQMonitorTask.cc.
References ecaldqm::EcalDQMonitor::ecaldqmEndRun(), ecaldqm::EcalDQMonitor::executeOnWorkers_(), and ecaldqm::DQWorker::releaseMEs().
|
static |
Definition at line 80 of file EcalDQMonitorTask.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addNode(), edm::ParameterSetDescription::addUntracked(), EcalCalibMonitorTasks_cfi::collectionTags, ecaldqm::EcalDQMonitor::fillDescriptions(), ecaldqm::DQWorkerTask::fillDescriptions(), and edm::RequireZeroOrMore.
|
private |
Definition at line 46 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 20 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 47 of file EcalDQMonitorTask.h.
Referenced by runOnCollection().
|
private |
Definition at line 45 of file EcalDQMonitorTask.h.
Referenced by analyze(), formSchedule(), and runOnCollection().
|
private |
Definition at line 51 of file EcalDQMonitorTask.h.
Referenced by dqmBeginRun(), dqmEndLuminosityBlock(), and EcalDQMonitorTask().
|
private |
Definition at line 48 of file EcalDQMonitorTask.h.
Referenced by analyze(), and dqmBeginRun().
|
private |
Definition at line 52 of file EcalDQMonitorTask.h.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 46 of file EcalDQMonitorTask.h.
Referenced by Config.Process::_insertPaths(), Config.Process::_replaceInSchedule(), analyze(), Config.Process::dumpPython(), EcalDQMonitorTask(), formSchedule(), Config.Process::prune(), Config.Process::resolve(), and Config.Process::splitPython().