"RapidityMesonCut", //4
"RCut", //5
"AlphaMesonCut", //6
- "Chi2MesonCut", //7
+ "SelectionWindow", //7
"SharedElectronCuts", //8
"RejectToCloseV0s", //9
"UseMCPSmearing", //10
fHistograms(NULL),
fMesonKind(0),
fMaxR(200),
- fChi2CutMeson(1000),
+ fSelectionLow(0.08),
+ fSelectionHigh(0.145),
fAlphaMinCutMeson(0),
fAlphaCutMeson(1),
fRapidityCutMeson(1),
fHistograms(NULL),
fMesonKind(ref.fMesonKind),
fMaxR(ref.fMaxR),
- fChi2CutMeson(ref.fChi2CutMeson),
+ fSelectionLow(ref.fSelectionLow),
+ fSelectionHigh(ref.fSelectionHigh),
fAlphaMinCutMeson(ref.fAlphaMinCutMeson),
fAlphaCutMeson(ref.fAlphaCutMeson),
fRapidityCutMeson(ref.fRapidityCutMeson),
UpdateCutString();
return kTRUE;
} else return kFALSE;
- case kchi2MesonCut:
- if( SetChi2MesonCut(value)) {
- fCuts[kchi2MesonCut] = value;
+ case kSelectionCut:
+ if( SetSelectionWindowCut(value)) {
+ fCuts[kSelectionCut] = value;
UpdateCutString();
return kTRUE;
} else return kFALSE;
printf("\t dca_{gamma,gamma} > %3.2f\n", fDCAGammaGammaCut);
printf("\t dca_{R, prim Vtx} > %3.2f\n", fDCARMesonPrimVtxCut);
printf("\t dca_{Z, prim Vtx} > %3.2f\n\n", fDCAZMesonPrimVtxCut);
+ printf("\t Meson selection window for further analysis %3.3f > M_{gamma,gamma} > %3.3f\n\n", fSelectionLow, fSelectionHigh);
printf("Meson BG settings \n");
if (!fDoBG){
}
///________________________________________________________________________
-Bool_t AliConversionMesonCuts::SetChi2MesonCut(Int_t chi2MesonCut){
+Bool_t AliConversionMesonCuts::SetSelectionWindowCut(Int_t selectionCut){
// Set Cut
- switch(chi2MesonCut){
- case 0: // 100.
- fChi2CutMeson = 100.;
- break;
- case 1: // 50.
- fChi2CutMeson = 50.;
- break;
- case 2: // 30.
- fChi2CutMeson = 30.;
- break;
+ switch(selectionCut){
+ case 0:
+ fSelectionLow = 0.08;
+ fSelectionHigh = 0.145;
+ break;
+ case 1:
+ fSelectionLow = 0.1;
+ fSelectionHigh = 0.145;
+ break;
+ case 2:
+ fSelectionLow = 0.11;
+ fSelectionHigh = 0.145;
+ break;
case 3:
- fChi2CutMeson = 200.;
+ fSelectionLow = 0.12;
+ fSelectionHigh = 0.145;
break;
case 4:
- fChi2CutMeson = 500.;
+ fSelectionLow = 0.1;
+ fSelectionHigh = 0.15;
break;
case 5:
- fChi2CutMeson = 1000.;
+ fSelectionLow = 0.11;
+ fSelectionHigh = 0.15;
+ break;
+ case 6:
+ fSelectionLow = 0.12;
+ fSelectionHigh = 0.15;
break;
+
default:
- cout<<"Warning: Chi2MesonCut not defined "<<chi2MesonCut<<endl;
+ cout<<"Warning: SelectionCut not defined "<<selectionCut<<endl;
return kFALSE;
}
return kTRUE;