#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 | dqmEndRun (edm::Run const &, edm::EventSetup const &) override |
void | formSchedule (std::vector< ecaldqm::Collections > const &, edm::ParameterSet const &) |
std::shared_ptr< ecaldqm::EcalLSCache > | globalBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) const override |
void | globalEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
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::LuminosityBlockCache< ecaldqm::EcalLSCache > > | |
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 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 = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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 &) 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 &) |
template<typename FuncOnWorker > | |
void | executeOnWorkers_ (FuncOnWorker, std::string const &, std::string const &="", int=1) const |
Protected Attributes inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< ecaldqm::EcalLSCache > > | |
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 36 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, protons_cff::time, and ecaldqm::EcalDQMonitor::verbosity_.
|
inlineoverride |
Definition at line 22 of file EcalDQMonitorTask.h.
|
overrideprivatevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< ecaldqm::EcalLSCache > >.
Definition at line 150 of file EcalDQMonitorTask.cc.
References edm::SortedCollection< T, SORT >::begin(), collectionTokens_, edm::SortedCollection< T, SORT >::end(), edm::EventID::event(), ecaldqm::EcalDQMonitor::executeOnWorkers_(), first, edm::Event::getByToken(), edm::Event::getLuminosityBlock(), ecaldqm::DQWorker::getName(), edm::EventBase::id(), edm::LuminosityBlock::index(), 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, protons_cff::time, and ecaldqm::EcalDQMonitor::verbosity_.
|
overridevirtual |
Implements DQMOneEDAnalyzer< edm::LuminosityBlockCache< ecaldqm::EcalLSCache > >.
Definition at line 101 of file EcalDQMonitorTask.cc.
References ecaldqm::DQWorker::bookMEs(), ecaldqm::EcalDQMonitor::executeOnWorkers_(), and ecaldqm::DQWorker::setSetupObjects().
|
overridevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< ecaldqm::EcalLSCache > >.
Definition at line 109 of file EcalDQMonitorTask.cc.
References ecaldqm::EcalDQMonitor::ecaldqmBeginRun(), lastResetTime_, processedEvents_, and protons_cff::time.
|
overrideprivatevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< ecaldqm::EcalLSCache > >.
Definition at line 118 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::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addNode(), EcalCalibMonitorTasks_cfi::collectionTags, submitPVResolutionJobs::desc, 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().
|
overrideprivate |
Definition at line 124 of file EcalDQMonitorTask.cc.
References ecaldqm::EcalDQMonitor::ecaldqmBeginLuminosityBlock(), ecaldqm::EcalDQMonitor::executeOnWorkers_(), ecaldqm::DQWorker::getName(), and ecaldqm::EcalDQMonitor::verbosity_.
|
overrideprivate |
Definition at line 139 of file EcalDQMonitorTask.cc.
References ecaldqm::EcalDQMonitor::ecaldqmEndLuminosityBlock(), lastResetTime_, ecaldqm::EcalDQMonitor::moduleName_, resetInterval_, protons_cff::time, and ecaldqm::EcalDQMonitor::verbosity_.
|
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 49 of file EcalDQMonitorTask.h.
Referenced by runOnCollection().
|
private |
Definition at line 47 of file EcalDQMonitorTask.h.
Referenced by analyze(), formSchedule(), and runOnCollection().
|
private |
Definition at line 53 of file EcalDQMonitorTask.h.
Referenced by dqmBeginRun(), EcalDQMonitorTask(), and globalEndLuminosityBlock().
|
private |
Definition at line 50 of file EcalDQMonitorTask.h.
Referenced by analyze(), and dqmBeginRun().
|
private |
Definition at line 54 of file EcalDQMonitorTask.h.
Referenced by globalEndLuminosityBlock().
|
private |
Definition at line 48 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().