00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef StHiStuff_H
00027 #define StHiStuff_H
00028
00029
00030 #include "StHiBaseAnalysis.h"
00031
00032 class StHiStuff : public StHiBaseAnalysis{
00033 public:
00034 StHiStuff(const char* inputDir="./",
00035 const char* outRootName="hianalysis.hist.root");
00036 virtual ~StHiStuff();
00037
00038 protected:
00039
00040 void initHistograms();
00041 Int_t initMore();
00042 void fillEventHistograms();
00043 void finishHistograms();
00044
00045 Bool_t acceptEvent(StHiMicroEvent*);
00046
00047 void trackLoop();
00048
00049 Int_t findSector(Float_t phi, Int_t firstSector);
00050
00051 static Float_t mMinPt;
00052
00053
00054
00055 struct PlusMinus{
00056
00057 TH3D* h3PhiGlDcaXYGlVertexZ;
00058 TH3D* h3PhiPrDcaXYGlVertexZ;
00059
00060
00061
00062 TH1D* h1PhiGlReality;
00063
00064 TH3D* h3PhiPrDcaXYGlPtPr;
00065 TH3D* h3PhiGlDcaXYGlPtGl;
00066
00067 TH3D* h3SectorDcaXYGlPtPr;
00068 TH3D* h3SectorDcaXYGlPtGl;
00069
00070 TH3D* h3SectorVertexZPtPr;
00071 TH3D* h3SectorVertexZPtGl;
00072
00073 TH3D* h3PhiPrVertexZPtPr;
00074 TH3D* h3PhiGlVertexZPtGl;
00075
00076 TH3D* h3PhiPrEtaPrMidZ;
00077 TH3D* h3PhiGlEtaPrMidZ;
00078
00079 TH1D* h1PhiPrHighPtCut;
00080 TH1D* h1PhiPrLowPtCut;
00081
00082
00083 TH3D* h3PhiPrNFitHitPtPr;
00084 TH3D* h3PhiPrNAllHitPtPr;
00085 TH3D* h3PhiPrFracHitPtPr;
00086
00087 TH3D* h3PhiPrSmallNFitHitPtPr;
00088 TH3D* h3PhiPrSmallNAllHitPtPr;
00089 TH3D* h3PhiPrSmallFracHitPtPr;
00090
00091 TH3D* h3PhiGlNFitHitPtPr;
00092 TH3D* h3PhiGlNAllHitPtPr;
00093 TH3D* h3PhiGlFracHitPtPr;
00094
00095
00096
00097 TH3D* h3VtxZEtaPrPtPrCut;
00098 TH3D* h3VtxZEtaGlPtGlCut;
00099
00100 TH3D* h3ResPtDcaXYGlPtGlEastCut;
00101 TH3D* h3ResPtDcaXYGlPtGlWestCut;
00102
00103 TH3D* h3ResPtDcaXYGlPtPrEastCut;
00104 TH3D* h3ResPtDcaXYGlPtPrWestCut;
00105
00106 TH3D* h3PhiGlPtPrPtGlEastCut;
00107 TH3D* h3PhiGlPtPrPtGlWestCut;
00108
00109 TH2D* h2VtxZLastZ;
00110
00111
00112 };
00113
00114 struct EastWest {
00115 PlusMinus pm[3];
00116 };
00117
00118 EastWest ew[3];
00119
00120 ClassDef(StHiStuff,1)
00121 };
00122
00123 #endif