143 histo =
"Average of " +
histTitles_[
i] +
" Vs 5Minutes";
146 histo =
"Average of " +
histTitles_[
i] +
" / 5 minutes";
179 if ( !
init_ )
return;
232 long int minuteBinDiff = -1;
233 long int minuteDiff = -1;
237 if(minuteBinDiff <= 0)
return;
239 long int hourBinDiff = -1;
240 long int hourDiff = -1;
279 std::cout <<
"EBTrendClient mean["<<i<<
"] = " <<
mean_[
i] <<
", \t rms["<<i<<
"] = " <<
rms_[
i] << std::endl;
TObject * previousHist_[nHists_]
T getUntrackedParameter(std::string const &, T const &) const
TProfile * getTProfile(std::string name, std::string process, std::string rootfolder, DQMStore *dbe_, bool verb, bool clone)
std::string histTitles_[nHists_]
void rmdir(const std::string &fullpath)
void endRun(const edm::Run &r, const edm::EventSetup &c)
MonitorElement * sigmaHourly_[nHists_]
TObject * currentHist_[nHists_]
MonitorElement * sigmaMinutely_[nHists_]
void analyze(const edm::Event &e, const edm::EventSetup &c)
void removeElement(const std::string &name)
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
Ecal Monitor Utils for Client.
EBTrendClient(const edm::ParameterSet &ps)
Ecal Monitor Utility functions.
MonitorElement * meanHourly_[nHists_]
void beginRun(const edm::Run &r, const edm::EventSetup &c)
TObject * cloneIt(MonitorElement *me, std::string histo)
std::string moduleNames_[nHists_]
void calcBins(int binWidth, int divisor, long int start_time, long int last_time, long int current_time, long int &binDiff, long int &diff)
void shift2Right(TH1 *h, int bins)
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void Reset(void)
reset ME (ie. contents, errors, etc)
MonitorElement * meanMinutely_[nHists_]
void setCurrentFolder(const std::string &fullpath)
void getMeanRms(TObject *pre, TObject *cur, double &mean, double &rms)