00001 #ifndef ANACUTS_H
00002 #define ANACUTS_H
00003
00004 #include <TArrayI.h>
00005 #include <TArrayD.h>
00006 #include <TObject.h>
00007 #include <TVector3.h>
00008
00009 class MyEvent;
00010 class MyPoint;
00011
00012 class AnaCuts : public TObject{
00013
00014 public:
00015
00016 Float_t vertexxCUT;
00017 Float_t vertexyCUT;
00018 Float_t vertexzCUT;
00019
00020 Float_t neutralCUT;
00021 Float_t photonCUT;
00022
00023 Int_t etaHitsCUT;
00024 Int_t phiHitsCUT;
00025 Float_t energyRatioCUT;
00026
00027 Float_t etaMinCUT;
00028 Float_t etaMaxCUT;
00029
00030 Float_t rapidityMinCUT;
00031 Float_t rapidityMaxCUT;
00032
00033 Float_t rapPionMinCUT;
00034 Float_t rapPionMaxCUT;
00035
00036 Float_t softTrigHT1;
00037 Float_t softTrigHT2;
00038
00039 Float_t ratioCUT;
00040
00041
00042 TArrayI isHot;
00043
00044 Float_t asymmetryCUT;
00045 Int_t ht1AdcCUT;
00046 Int_t ht2AdcCUT;
00047
00048
00049 Int_t nPtBinsMB;
00050 TArrayD ptBinsMB;
00051 Int_t nPtBinsHT1;
00052 TArrayD ptBinsHT1;
00053 Int_t nPtBinsHT2;
00054 TArrayD ptBinsHT2;
00055 Int_t nPtBinsEffMB;
00056 TArrayD ptBinsEffMB;
00057 Int_t nPtBinsEffHT1;
00058 TArrayD ptBinsEffHT1;
00059 Int_t nPtBinsEffHT2;
00060 TArrayD ptBinsEffHT2;
00061 Int_t nMinvBinsMB;
00062 Float_t mInvLowMB;
00063 Float_t mInvHighMB;
00064 Int_t nMinvBinsHT1;
00065 Float_t mInvLowHT1;
00066 Float_t mInvHighHT1;
00067 Int_t nMinvBinsHT2;
00068 Float_t mInvLowHT2;
00069 Float_t mInvHighHT2;
00070
00071
00072 Int_t nPtBinsEff;
00073 TArrayD ptBinsEff;
00074
00075
00076 Float_t timesSigma;
00077
00078 AnaCuts(const char* flag="dAu");
00079 ~AnaCuts();
00080 void printCuts();
00081 Bool_t isPointOK(MyPoint*,TVector3);
00082 Bool_t isEventOK(MyEvent*,const char*);
00083 ClassDef(AnaCuts,1)
00084 };
00085
00086 #endif