149 histo =
"Average of " +
histTitles_[
i] +
" Vs 5Minutes";
152 histo =
"Average of " +
histTitles_[
i] +
" / 5 minutes";
185 if ( !
init_ )
return;
238 long int minuteBinDiff = -1;
239 long int minuteDiff = -1;
243 if(minuteBinDiff <= 0)
return;
245 long int hourBinDiff = -1;
246 long int hourDiff = -1;
285 std::cout <<
"EETrendClient mean["<<i<<
"] = " <<
mean_[
i] <<
", \t rms["<<i<<
"] = " <<
rms_[
i] << std::endl;
T getUntrackedParameter(std::string const &, T const &) const
void endRun(const edm::Run &r, const edm::EventSetup &c)
TProfile * getTProfile(std::string name, std::string process, std::string rootfolder, DQMStore *dbe_, bool verb, bool clone)
void rmdir(const std::string &fullpath)
void beginRun(const edm::Run &r, const edm::EventSetup &c)
TObject * previousHist_[nHists_]
void analyze(const edm::Event &e, const edm::EventSetup &c)
MonitorElement * sigmaHourly_[nHists_]
std::string moduleNames_[nHists_]
void removeElement(const std::string &name)
EETrendClient(const edm::ParameterSet &ps)
MonitorElement * meanMinutely_[nHists_]
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.
Ecal Monitor Utility functions.
TObject * currentHist_[nHists_]
TObject * cloneIt(MonitorElement *me, std::string histo)
MonitorElement * meanHourly_[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)
MonitorElement * sigmaMinutely_[nHists_]
void shift2Right(TH1 *h, int bins)
std::string histTitles_[nHists_]
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)
void setCurrentFolder(const std::string &fullpath)
void getMeanRms(TObject *pre, TObject *cur, double &mean, double &rms)