24 LogTrace(
"DTDQM|DTMonitorModule|DTScalerInfoTask") <<
"[DTScalerInfoTask]: Constructor" << endl;
31 LogTrace(
"DTDQM|DTMonitorModule|DTScalerInfoTask") <<
"[DTScalerInfoTask]: analyzed " <<
nEvents <<
" events" << endl;
35 LogTrace(
"DTDQM|DTMonitorModule|DTScalerInfoTask") <<
"[DTScalerInfoTask]: BeginRun" << endl;
41 LogTrace(
"DTDQM|DTMonitorModule|DTScalerInfoTask") <<
"[DTScalerInfoTask]: Begin of LS transition" << endl;
45 LogTrace(
"DTDQM|DTMonitorModule|DTScalerInfoTask") <<
"[DTScalerInfoTask]: End of LS transition" << endl;
49 map<string, DTTimeEvolutionHisto*>::const_iterator histoIt =
trendHistos.begin();
50 map<string, DTTimeEvolutionHisto*>::const_iterator histoEnd =
trendHistos.end();
51 for (; histoIt != histoEnd; ++histoIt) {
65 LumiScalersCollection::const_iterator lumiIt =
lumiScalers->begin();
66 trendHistos[
"AvgLumivsLumiSec"]->accumulateValueTimeSlot(lumiIt->instantLumi());
68 LogVerbatim(
"DTDQM|DTMonitorModule|DTScalerInfoTask")
69 <<
"[DTScalerInfoTask]: LumiScalersCollection size == 0" << endl;
72 LogVerbatim(
"DTDQM|DTMonitorModule|DTScalerInfoTask")
73 <<
"[DTScalerInfoTask]: LumiScalersCollection getByToken call failed" << endl;
86 string histoTitle =
"Average Lumi vs LumiSec";
Log< level::Info, true > LogVerbatim
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
MonitorElement * nEventMonitor
DTScalerInfoTask(const edm::ParameterSet &ps)
Constructor.
virtual void setCurrentFolder(std::string const &fullpath)
edm::EDGetTokenT< LumiScalersCollection > scalerToken_
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override
To reset the MEs.
T getUntrackedParameter(std::string const &, T const &) const
~DTScalerInfoTask() override
Destructor.
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
std::map< std::string, DTTimeEvolutionHisto * > trendHistos
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override
Perform trend plot operations.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Beginrun.
LuminosityBlockNumber_t luminosityBlock() const
edm::ParameterSet theParams