#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<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
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) |
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 () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Private Attributes | |
MonitorElement * | nEventMonitor |
int | nEvents |
int | nEventsInLS |
edm::EDGetTokenT< LumiScalersCollection > | scalerToken_ |
edm::ParameterSet | theParams |
std::map< std::string, DTTimeEvolutionHisto * > | trendHistos |
Friends | |
class | DTMonitorModule |
Definition at line 34 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 35 of file DTScalerInfoTask.h.
|
private |
Definition at line 69 of file DTScalerInfoTask.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 61 of file DTScalerInfoTask.h.
Referenced by analyze(), looper.Looper::loop(), and ~DTScalerInfoTask().
|
private |
Definition at line 62 of file DTScalerInfoTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 66 of file DTScalerInfoTask.h.
Referenced by analyze(), and DTScalerInfoTask().
|
private |
Definition at line 64 of file DTScalerInfoTask.h.
Referenced by DTScalerInfoTask().
|
private |
Definition at line 68 of file DTScalerInfoTask.h.
Referenced by analyze(), bookHistograms(), and endLuminosityBlock().