00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00017
00018
00019
00021
00022 #ifndef STAR_StQAH
00023 #define STAR_StQAH
00024
00025 #include "TString.h"
00026 #include "TH1.h"
00027 #include "TH2.h"
00028 #include "TH3.h"
00029 class StMaker;
00030
00031 class QAH {
00032
00033
00034 public:
00035
00036 QAH() {}
00037 virtual ~QAH() {}
00038 static StMaker* maker;
00039 static TString preString;
00040
00041
00042 static TH1F* H1F(const Text_t* name, const Text_t* title,
00043 Int_t nbinsx, Axis_t xlow, Axis_t xup);
00044 static TH1F* H1F(const Text_t* name, const Text_t* title,
00045 Int_t nbinsx, const Double_t* xbins);
00046
00047
00048 static TH2F* H2F(const Text_t* name, const Text_t* title,
00049 Int_t nbinsx, Axis_t xlow, Axis_t xup,
00050 Int_t nbinsy, Axis_t ylow, Axis_t yup);
00051 static TH2F* H2F(const Text_t* name, const Text_t* title,
00052 Int_t nbinsx, const Double_t* xbins,
00053 Int_t nbinsy, Axis_t ylow, Axis_t yup);
00054
00055
00056 static TH2F* MH1F(const Text_t* name, const Text_t* title,
00057 Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t nbinsy);
00058
00059 static void MMH1F(TH2F** histp, Int_t nhist, const Text_t* name, const Text_t* title,
00060 Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t nbinsy, Int_t first=0);
00061
00062 static TH3F* MH2F(const Text_t* name, const Text_t* title,
00063 Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t nbinsy, Axis_t ylow, Axis_t yup,
00064 Int_t nbinsz);
00065
00066
00067
00068 virtual const char *GetCVS() const
00069 {static const char cvs[]="Tag $Name: $ $Id: QAH.h,v 2.4 2007/03/13 18:44:07 genevb Exp $ built "__DATE__" "__TIME__ ; return cvs;}
00070
00071
00072 protected:
00073 static TString QAHistName;
00074 static TString QAHistTitle;
00075 static const char* NameIt(const char* name);
00076 static const char* TitleIt(const char* name);
00077
00078 ClassDef(QAH,0)
00079 };
00080
00081
00082 #endif
00083
00084
00085
00086
00087
00088
00089
00090