17 if (prefixME_.substr(prefixME_.size()-1,prefixME_.size())!=
"/")
18 prefixME_.append(
"/");
44 std::cout <<
"<HcalLSbyLSMonitor::setup> Setting up histograms"<<std::endl;
85 bool enoughEvents=
true;
104 if (
debug_>0)
std::cout <<
"<HcalLSbyLSMonitor> Error! Could not get histogram "<<name.c_str()<<std::endl;
113 std::cout <<
"<HcalLSbyLSMonitor> Error! Number of events "<<Nevents<<
" for histogram "<<name.c_str()<<
" is less than the required minimum of "<<
minEvents_<<std::endl;
118 TotalEvents=
std::max(TotalEvents,Nevents);
128 if (enoughEvents==
false)
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
T getUntrackedParameter(std::string const &, T const &) const
bool LumiInOrder(int lumisec)
void setBinContent(int binx, double content)
set content of bin (1-D)
HcalLSbyLSMonitor(const edm::ParameterSet &ps)
MonitorElement * ProblemsCurrentLB
#define DEFINE_FWK_MODULE(type)
std::vector< std::string > TaskList_
std::vector< int > AllowedCalibTypes_
LuminosityBlockNumber_t luminosityBlock() const
virtual void beginRun(const edm::Run &run, const edm::EventSetup &c)
void removeContents(void)
erase all monitoring elements in current directory (not including subfolders);
void beginRun(const edm::Run &run, const edm::EventSetup &c)
virtual void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
double getBinContent(int binx) const
get content of bin (1-D)
void setLumiFlag(void)
this ME is meant to be stored for each luminosity section
void Reset(void)
reset ME (ie. contents, errors, etc)
void setCurrentFolder(const std::string &fullpath)