#include <DTScalerInfoTask.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
Analyze. More... | |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override |
To reset the MEs. More... | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) override |
Beginrun. More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override |
Perform trend plot operations. More... | |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
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) |
Private Attributes | |
MonitorElement * | nEventMonitor |
int | nEvents |
int | nEventsInLS |
edm::EDGetTokenT< LumiScalersCollection > | scalerToken_ |
edm::ParameterSet | theParams |
std::map< std::string, DTTimeEvolutionHisto * > | trendHistos |
Friends | |
class | DTMonitorModule |
Additional Inherited Members | |
Public Types inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
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 |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 37 of file DTScalerInfoTask.h.
DTScalerInfoTask::DTScalerInfoTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 23 of file DTScalerInfoTask.cc.
References edm::ParameterSet::getUntrackedParameter(), LogTrace, scalerToken_, and theParams.
|
override |
|
overrideprotectedvirtual |
Analyze.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 56 of file DTScalerInfoTask.cc.
References MillePedeFileConverter_cfg::e, dqm::impl::MonitorElement::Fill(), V0Monitor_cfi::lumiScalers, nEventMonitor, nEvents, nEventsInLS, scalerToken_, and trendHistos.
|
overrideprotected |
To reset the MEs.
Definition at line 38 of file DTScalerInfoTask.cc.
References LogTrace, and nEventsInLS.
|
overrideprotectedvirtual |
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 77 of file DTScalerInfoTask.cc.
References dqm::implementation::IBooker::bookFloat(), HltBtagPostValidation_cff::histoName, nEventMonitor, dqm::implementation::NavigatorBase::setCurrentFolder(), and trendHistos.
|
overrideprotectedvirtual |
Beginrun.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 34 of file DTScalerInfoTask.cc.
References LogTrace.
|
overrideprotected |
Perform trend plot operations.
Definition at line 44 of file DTScalerInfoTask.cc.
References groupFilesInBlocks::block, LogTrace, edm::LuminosityBlockBase::luminosityBlock(), nEventsInLS, and trendHistos.
|
friend |
Definition at line 38 of file DTScalerInfoTask.h.
|
private |
Definition at line 72 of file DTScalerInfoTask.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 64 of file DTScalerInfoTask.h.
Referenced by analyze(), looper.Looper::loop(), and ~DTScalerInfoTask().
|
private |
Definition at line 65 of file DTScalerInfoTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 69 of file DTScalerInfoTask.h.
Referenced by analyze(), and DTScalerInfoTask().
|
private |
Definition at line 67 of file DTScalerInfoTask.h.
Referenced by DTScalerInfoTask().
|
private |
Definition at line 71 of file DTScalerInfoTask.h.
Referenced by analyze(), bookHistograms(), and endLuminosityBlock().