#include <DTScalerInfoTask.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze. More... | |
void | beginJob () |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
To reset the MEs. More... | |
void | beginRun (const edm::Run &, const edm::EventSetup &) |
Beginrun. More... | |
void | endJob (void) |
EndJob. More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
Perform trend plot operations. More... | |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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) |
Private Member Functions | |
void | bookHistos () |
Book the histograms. More... | |
Private Attributes | |
MonitorElement * | nEventMonitor |
int | nEvents |
int | nEventsInLS |
edm::EDGetTokenT < LumiScalersCollection > | scalerToken_ |
DQMStore * | theDQMStore |
edm::ParameterSet | theParams |
std::map< std::string,DTTimeEvolutionHisto * > | trendHistos |
Friends | |
class | DTMonitorModule |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 36 of file DTScalerInfoTask.h.
DTScalerInfoTask::DTScalerInfoTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 23 of file DTScalerInfoTask.cc.
References edm::ParameterSet::getUntrackedParameter(), LogTrace, cppFunctionSkipper::operator, scalerToken_, theDQMStore, and theParams.
|
virtual |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 97 of file DTScalerInfoTask.cc.
References MonitorElement::Fill(), edm::Event::getByToken(), nEventMonitor, nEvents, nEventsInLS, scalerToken_, and trendHistos.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 45 of file DTScalerInfoTask.cc.
References LogTrace.
|
protectedvirtual |
To reset the MEs.
Reimplemented from edm::EDAnalyzer.
Definition at line 63 of file DTScalerInfoTask.cc.
References LogTrace, and nEventsInLS.
|
protectedvirtual |
Beginrun.
Reimplemented from edm::EDAnalyzer.
Definition at line 53 of file DTScalerInfoTask.cc.
References bookHistos(), and LogTrace.
|
private |
Book the histograms.
Definition at line 123 of file DTScalerInfoTask.cc.
References hltbtagharvestinganalyzer_cfi::histoName, nEventMonitor, theDQMStore, and trendHistos.
Referenced by beginRun().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 89 of file DTScalerInfoTask.cc.
References nEvents.
|
protectedvirtual |
Perform trend plot operations.
Reimplemented from edm::EDAnalyzer.
Definition at line 72 of file DTScalerInfoTask.cc.
References createPayload::block, LogTrace, edm::LuminosityBlockBase::luminosityBlock(), nEventsInLS, and trendHistos.
|
friend |
Definition at line 38 of file DTScalerInfoTask.h.
|
private |
Definition at line 82 of file DTScalerInfoTask.h.
Referenced by analyze(), and bookHistos().
|
private |
Definition at line 73 of file DTScalerInfoTask.h.
Referenced by analyze(), endJob(), looper.Looper::loop(), and ~DTScalerInfoTask().
|
private |
Definition at line 74 of file DTScalerInfoTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 79 of file DTScalerInfoTask.h.
Referenced by analyze(), and DTScalerInfoTask().
|
private |
Definition at line 76 of file DTScalerInfoTask.h.
Referenced by bookHistos(), and DTScalerInfoTask().
|
private |
Definition at line 77 of file DTScalerInfoTask.h.
Referenced by DTScalerInfoTask().
|
private |
Definition at line 81 of file DTScalerInfoTask.h.
Referenced by analyze(), bookHistos(), and endLuminosityBlock().