4 void printCuts(TString str){
9 Int_t goodId= s.Atoi();
11 Int_t v0FinderType= s.Atoi();
13 Int_t eProbCut= s.Atoi();
15 Int_t ededxSigmaCut= s.Atoi();
17 Int_t pidedxSigmaCut= s.Atoi();
19 Int_t piMomdedxSigmaCut= s.Atoi();
21 Int_t chi2GammaCut= s.Atoi();
23 Int_t singlePtCut= s.Atoi();
25 Int_t clsTPCCut= s.Atoi();
27 Int_t etaCut= s.Atoi();
29 /* cout<<"etaCut: "<<etaCut<<endl;
30 cout<<"clsTPCCut: "<<clsTPCCut<<endl;
31 cout<<"singlePtCut: "<<singlePtCut<<endl;
32 cout<<"chi2GammaCut: "<<chi2GammaCut<<endl;
33 cout<<"piMomdedxSigmaCut: "<<piMomdedxSigmaCut<<endl;
34 cout<<"pidedxSigmaCut: "<<pidedxSigmaCut <<endl;
35 cout<<"ededxSigmaCut: "<<ededxSigmaCut <<endl;
36 cout<<"eProbCut: "<< eProbCut<<endl;
37 cout<<"v0FinderType: "<<v0FinderType <<endl;
38 cout<<"goodId: "<<goodId <<endl;
42 cout<<"Analysis Cut Selection too short or does not start with 9"<<endl;
46 switch (v0FinderType){
47 case 0: // on fly V0 finder
48 cout<<"Using the on fly v0 finder"<<endl;
50 case 1: // offline V0 finder
51 cout<<"Using the offline v0 finder"<<endl;
58 cout<<"Prob electron is 0.000"<<endl;
59 // kGCprobElectron = 0.000;
62 cout<<"Prob electron is 0.001"<<endl;
63 // kGCprobElectron = 0.001;
66 cout<<"Prob electron is 0.01"<<endl;
67 // kGCprobElectron = 0.01;
73 switch(ededxSigmaCut){
75 cout<<"Using sigma dedx [-10,10]"<<endl;
76 // kGCPIDnSigmaBelowElectronLine=-10;
77 // kGCPIDnSigmaAboveElectronLine=10;
80 cout<<"Using sigma dedx [-5,5]"<<endl;
81 // kGCPIDnSigmaBelowElectronLine=-5;
82 // kGCPIDnSigmaAboveElectronLine=5;
85 cout<<"Using sigma dedx [-3,5]"<<endl;
86 // kGCPIDnSigmaBelowElectronLine=-3;
87 // kGCPIDnSigmaAboveElectronLine=5;
93 switch(pidedxSigmaCut){
95 cout<<"using pidedxsigmacut: -10"<<endl;
96 // kGCPIDnSigmaAbovePionLine=-10;
99 cout<<"using pidedxsigmacut: 0"<<endl;
100 // kGCPIDnSigmaAbovePionLine=0;
103 cout<<"using pidedxsigmacut: 1"<<endl;
104 // kGCPIDnSigmaAbovePionLine=1;
110 switch(piMomdedxSigmaCut){
112 cout<<"piMomdedxSigmaCut: 0.5"<<endl;
113 // kGCPIDMinPnSigmaAbovePionLine=0.5;
116 cout<<"piMomdedxSigmaCut: 1"<<endl;
117 // kGCPIDMinPnSigmaAbovePionLine=1.;
120 cout<<"piMomdedxSigmaCut: 1.5"<<endl;
121 // kGCPIDMinPnSigmaAbovePionLine=1.5;
127 switch(chi2GammaCut){
129 cout<<"chi2CutConversion = 100."<<endl;
130 // kGCchi2CutConversion = 100.;
133 cout<<"chi2CutConversion = 50."<<endl;
134 // kGCchi2CutConversion = 50.;
137 cout<<"chi2CutConversion = 30."<<endl;
138 // kGCchi2CutConversion = 30.;
146 cout<<"kGCsingleptCut = 0,050"<<endl;
147 // kGCsingleptCut = 0.050;
150 cout<<"kGCsingleptCut = 0,100"<<endl;
151 // kGCsingleptCut = 0.100;
154 cout<<"kGCsingleptCut = 0,150"<<endl;
155 // kGCsingleptCut = 0.150;
158 cout<<"kGCsingleptCut = 0,200"<<endl;
159 // kGCsingleptCut = 0.200;
167 cout<<"kGCminClsTPCCut = 0"<<endl;
168 // kGCminClsTPCCut= 0.;
171 // kGCminClsTPCCut= 70.;
172 cout<<"kGCminClsTPCCut = 70"<<endl;
175 // kGCminClsTPCCut= 80.;
176 cout<<"kGCminClsTPCCut = 80"<<endl;
179 // kGCminClsTPCCut= 100.;
180 cout<<"kGCminClsTPCCut = 100"<<endl;
188 cout<<"eta 0.9"<<endl;
190 // kGCLineCutZRSlope = tan(2*atan(exp(-kGCetaCut)));
193 cout<<"eta 1.2"<<endl;
195 // kGCLineCutZRSlope = tan(2*atan(exp(-kGCetaCut)));
198 cout<<"eta 1.4"<<endl;
200 // kGCLineCutZRSlope = tan(2*atan(exp(-kGCetaCut)));