00001
00002
00003
00004
00005
00006 #ifndef STAR_St2009pubJSMaker
00007 #define STAR_St2009pubJSMaker
00008
00022 #ifndef StMaker_H
00023 #include "StMaker.h"
00024 #endif
00025 #include <TH2.h>
00026 #include <TVector3.h>
00027 class St2009WMaker;
00028
00029 class St2009pubJSMaker : public StMaker {
00030 private:
00031
00032
00033 float par_highEtow;
00034 int par_awayNTrCut;
00035
00036 float par_countTrPt,par_countTowEt,par_awayTotET;
00037
00038 St2009WMaker *wMK;
00039
00040
00041 TObjArray *HList;
00042 enum {mxHA=50}; TH1 * hA[mxHA];
00043 enum {mxHB=32}; TH2 * hB[mxHB];
00044
00045 void initHistos();
00046 void doWanalysis();
00047 void doMCanalysis();
00048 void etowQA(int whichCut, float zVert);
00049
00050 TVector3 mWP;
00051 TVector3 mNeutrinoP;
00052 TVector3 mLeptonP;
00053
00054 public:
00055 St2009pubJSMaker(const char *name="2009pubJS");
00056 virtual ~St2009pubJSMaker();
00057 virtual Int_t Init();
00058 virtual Int_t Make();
00059 void setHList(TObjArray * x){HList=x;}
00060
00061 void attachWalgoMaker(St2009WMaker *mk) { wMK=mk;}
00062
00063 virtual Int_t InitRun (int runumber){return 0;};
00064 virtual Int_t FinishRun(int runumber){return 0;};
00065
00066
00067
00069 virtual const char *GetCVS() const {
00070 static const char cvs[]="Tag $Name: $ $Id: St2009pubJSMaker.h,v 1.1 2009/11/23 23:00:18 balewski Exp $ built "__DATE__" "__TIME__ ;
00071 return cvs;
00072 }
00073
00074 ClassDef(St2009pubJSMaker,0)
00075 };
00076
00077 #endif
00078
00079
00080
00081
00082
00083
00084
00085
00086