1 #ifndef DQM_HCALCLIENTUTILS_H
2 #define DQM_HCALCLIENTUTILS_H
44 ret =
dynamic_cast<T>(ob->Clone(s.c_str()));
49 ret =
dynamic_cast<T>(ob);
84 void htmlErrors(
int runNo,
std::string htmlDir,
std::string client,
std::string process,
DQMStore* dbe,
std::map<
std::string, std::vector<QReport*> > mapE,
std::map<
std::string, std::vector<QReport*> > mapW,
std::map<
std::string, std::vector<QReport*> > mapO);
93 std::vector<double> &meanX, std::vector<double> &meanY,
94 std::vector<double> &rmsX, std::vector<double> &rmsY);
96 std::vector<double> &meanX, std::vector<double> &meanY,
97 std::vector<double> &rmsX, std::vector<double> &rmsY);
const std::string & getName(void) const
get name of ME
void dumpHisto2(TH2F *hist, std::vector< std::string > &names, std::vector< double > &meanX, std::vector< double > &meanY, std::vector< double > &rmsX, std::vector< double > &rmsY)
static T getHisto(const MonitorElement *me, bool clone=false, T ret=0, int debug=0)
Returns the histogram contained by the Monitor Element.
static const HistoName names[]
void createXRangeTest(DQMStore *dbe, std::vector< std::string > ¶ms)
TH2F * getHisto2(std::string name, std::string process, DQMStore *dbe_, bool verb=false, bool clone=false)
TProfile2D * getHistoTProfile2D(std::string name, std::string process, DQMStore *dbe_, bool verb=false, bool clone=false)
void resetME(const char *name, DQMStore *dbe)
std::string getIMGTProfile(int runNo, TProfile *hist, int size, std::string htmlDir, const char *xlab, const char *ylab, std::string opts="NONE")
void histoHTML2(int runNo, TH2F *hist, const char *xlab, const char *ylab, int width, std::ofstream &htmlFile, std::string htmlDir, bool color=false)
void histoHTML(int runNo, TH1F *hist, const char *xlab, const char *ylab, int width, std::ofstream &htmlFile, std::string htmlDir)
TProfile * getHistoTProfile(std::string name, std::string process, DQMStore *dbe_, bool verb=false, bool clone=false)
void dumpHisto(TH1F *hist, std::vector< std::string > &names, std::vector< double > &meanX, std::vector< double > &meanY, std::vector< double > &rmsX, std::vector< double > &rmsY)
void htmlErrors(int runNo, std::string htmlDir, std::string client, std::string process, DQMStore *dbe, std::map< std::string, std::vector< QReport * > > mapE, std::map< std::string, std::vector< QReport * > > mapW, std::map< std::string, std::vector< QReport * > > mapO)
bool isValidGeom(std::string type, int depth)
void createMeanValueTest(DQMStore *dbe, std::vector< std::string > ¶ms)
void createYRangeTest(DQMStore *dbe, std::vector< std::string > ¶ms)
std::string getIMG2(int runNo, TH2F *hist, int size, std::string htmlDir, const char *xlab, const char *ylab, bool color=false)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
void createH2CompTest(DQMStore *dbe, std::vector< std::string > ¶ms, TH2F *ref)
void histoHTMLTProfile(int runNo, TProfile *hist, const char *xlab, const char *ylab, int width, std::ofstream &htmlFile, std::string htmlDir, std::string opts="NONE")
void createH2ContentTest(DQMStore *dbe, std::vector< std::string > ¶ms)
std::string getIMG(int runNo, TH1F *hist, int size, std::string htmlDir, const char *xlab, const char *ylab)
TH1F * getHisto(std::string name, std::string process, DQMStore *dbe_, bool verb=false, bool clone=false)
tuple size
Write out results.
TH3F * getHistoTH3F(std::string name, std::string process, DQMStore *dbe_, bool verb=false, bool clone=false)