00001 #ifndef Cut_H
00002 #define Cut_H
00003
00004 #include "TObject.h"
00005 #include "Centrality.h"
00006 #include "TMath.h"
00007
00008
00009
00010
00011
00012 #ifndef ST_NO_NAMESPACES
00013 using namespace std;
00014 #endif
00015
00016 const float geomCut=198.;
00017
00018 class Cut {
00019 public:
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 static const char* SetCuts(const char* cutList);
00030
00031 static void DecodeCutList(const char* cutList);
00032 static void ShowCuts();
00033
00034 static void SetCentCut(const char centType);
00035 static void SetZVertexCut(const char zVtxCut);
00036 static void SetEtaCut(const char etaCut);
00037 static void SetFitPtsCut(const char fitPtsCut);
00038 static void SetDCACut(const char dcaCut);
00039 static void SetSameSectorCut(const char sameSectorCut);
00040 static void SetCrossCMCut(const char crossCMCut);
00041
00042 static void SetFlowCent(int min, int max) {
00043 mFlowCent[0] = min; mFlowCent[1] = max;
00044 }
00045
00046 static void SetZDCSum(int min, int max) {
00047 mZDCSum[0] = min; mZDCSum[1] = max;
00048 }
00049
00050 static void SetVertexZ(Float_t min,Float_t max) {
00051 mVertexZ[0] = min; mVertexZ[1] = max;
00052 }
00053
00054
00055
00056
00057
00058 static void SetEta(Float_t min,Float_t max) {
00059 mEta[0] = min; mEta[1] = max;
00060 }
00061
00062 static void SetFitPts(Int_t min, Int_t max) {
00063 mFitPts[0] = min; mFitPts[1] = max;
00064 }
00065
00066 static void SetSDcaGl(Float_t min, Float_t max) {
00067 mSDcaGl[0] = min; mSDcaGl[1] = max;
00068 }
00069
00070 static void SetDcaXYGl(Float_t min, Float_t max) {
00071 mDcaXYGl[0] = min; mDcaXYGl[1] = max;
00072 }
00073
00074
00075
00076
00077 static Int_t mFlowCent[2];
00078 static Float_t mVertexZ[2];
00079 static Float_t mZDCSum[2];
00080
00081 static Float_t mEta[2];
00082 static Int_t mFitPts[2];
00083 static Float_t mSDcaGl[2];
00084 static Float_t mDcaXYGl[2];
00085 static Float_t mCross[2];
00086 static Int_t mFirstPadrow[2];
00087 static Bool_t mSameSector;
00088 static Bool_t mCrossCM;
00089
00090 private:
00091
00092 ClassDef(Cut,1)
00093
00094 };
00095
00096 #endif