31 LogTrace(
"DTDQM|DTMonitorModule|DTScalerInfoTask")
32 <<
"[DTScalerInfoTask]: Constructor"<<endl;
43 LogTrace(
"DTDQM|DTMonitorModule|DTScalerInfoTask")
44 <<
"[DTScalerInfoTask]: analyzed " <<
nEvents <<
" events" << endl;
51 LogTrace(
"DTDQM|DTMonitorModule|DTScalerInfoTask")
52 <<
"[DTScalerInfoTask]: BeginJob" << endl;
59 LogTrace(
"DTDQM|DTMonitorModule|DTScalerInfoTask")
60 <<
"[DTScalerInfoTask]: BeginRun" << endl;
71 LogTrace(
"DTDQM|DTMonitorModule|DTScalerInfoTask")
72 <<
"[DTScalerInfoTask]: Begin of LS transition" << endl;
78 LogTrace(
"DTDQM|DTMonitorModule|DTScalerInfoTask")
79 <<
"[DTScalerInfoTask]: End of LS transition" << endl;
84 map<string,DTTimeEvolutionHisto* >::const_iterator histoIt =
trendHistos.begin();
85 map<string,DTTimeEvolutionHisto* >::const_iterator histoEnd =
trendHistos.end();
86 for(;histoIt!=histoEnd;++histoIt) {
87 histoIt->second->updateTimeSlot(block,
nEventsInLS);
95 LogVerbatim(
"DTDQM|DTMonitorModule|DTScalerInfoTask")
96 <<
"[DTScalerInfoTask]: analyzed " <<
nEvents <<
" events" << endl;
110 LumiScalersCollection::const_iterator lumiIt = lumiScalers->begin();
111 trendHistos[
"AvgLumivsLumiSec"]->accumulateValueTimeSlot(lumiIt->instantLumi());
123 string histoName =
"AvgLumivsLumiSec";
124 string histoTitle =
"Average Lumi vs LumiSec";
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * nEventMonitor
DTScalerInfoTask(const edm::ParameterSet &ps)
Constructor.
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
To reset the MEs.
MonitorElement * bookFloat(const char *name)
Book float.
virtual ~DTScalerInfoTask()
Destructor.
LuminosityBlockNumber_t luminosityBlock() const
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
Perform trend plot operations.
void beginRun(const edm::Run &, const edm::EventSetup &)
Beginrun.
void bookHistos()
Book the histograms.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::map< std::string,DTTimeEvolutionHisto * > trendHistos
edm::InputTag theScalerTag
void setCurrentFolder(const std::string &fullpath)
edm::ParameterSet theParams