modified centrality classes in AddTask, changed MC centrality binning for MC
authorfbock <friederike.bock@cern.ch>
Wed, 2 Apr 2014 11:38:37 +0000 (13:38 +0200)
committerfbock <friederike.bock@cern.ch>
Wed, 2 Apr 2014 11:38:37 +0000 (13:38 +0200)
PWGGA/GammaConv/AliConversionCuts.cxx
PWGGA/GammaConv/macros/AddTask_GammaConvV1_PbPb.C

index 064bc31..e6d12b5 100644 (file)
@@ -3218,11 +3218,11 @@ Bool_t AliConversionCuts::IsCentralitySelected(AliVEvent *event, AliVEvent *fMCE
    Int_t PrimaryTracks10[10][2] =
       {
          {9999,9999}, //  0
-         {1210,2150}, // 10
-         { 817,1435}, // 20
-         { 536, 930}, // 30
-         { 337, 570}, // 40
-         { 197, 327}, // 50
+         {1210,2067}, // 10
+         { 817,1450}, // 20
+         { 536, 921}, // 30
+         { 337, 572}, // 40
+         { 197, 332}, // 50
          { 106, 173}, // 60
          {  51,  81}, // 70
          {  21,  34}, // 80
@@ -3231,14 +3231,14 @@ Bool_t AliConversionCuts::IsCentralitySelected(AliVEvent *event, AliVEvent *fMCE
    Int_t PrimaryTracks5a[10][2] =
       {
          {9999,9999}, // 0
-         {1485,2640}, // 5
-         {1210,2150}, // 10
+         {1485,2562}, // 5
+         {1210,2067}, // 10
          { 995,1760}, // 15
-         { 817,1435}, // 20
+         { 817,1450}, // 20
          { 666,1160}, // 25
-         { 536, 930}, // 30
+         { 536, 921}, // 30
          { 428, 731}, // 35
-         { 337, 570}, // 40
+         { 337, 572}, // 40
          { 260, 436}  // 45
       };
    Int_t PrimaryTracks5b[10][2] =
index 47e7f20..08e0d52 100644 (file)
@@ -463,7 +463,31 @@ void AddTask_GammaConvV1_PbPb(  Int_t trainConfig = 1,  //change different set o
       cutarray[ 2] = "5450002002092970028250400000"; mesonCutArray[ 2] = "01525065009000"; // 40-50% 
       cutarray[ 3] = "5560002002092970028250400000"; mesonCutArray[ 3] = "01525065009000"; // 50-60% 
       cutarray[ 4] = "5670002002092970028250400000"; mesonCutArray[ 4] = "01525065009000"; // 60-70%                   
-   } else {
+   } else if ( trainConfig == 62){ // cleaner cuts
+      cutarray[ 0] = "6230001002092970028250400000"; mesonCutArray[ 0] = "01525065009000"; // 0-5%
+      cutarray[ 1] = "6340001002092970028250400000"; mesonCutArray[ 1] = "01525065009000"; // 5-10%
+      cutarray[ 2] = "6450001002092970028250400000"; mesonCutArray[ 2] = "01525065009000"; // 0-10%
+      cutarray[ 3] = "6560001002092970028250400000"; mesonCutArray[ 3] = "01525065009000"; // 10-20%
+      cutarray[ 4] = "6670001002092970028250400000"; mesonCutArray[ 4] = "01525065009000"; // 0-20%
+   } else if ( trainConfig == 63){ // cleaner cuts
+      cutarray[ 0] = "6780001002092970028250400000"; mesonCutArray[ 0] = "01525065009000"; // 0-5%
+      cutarray[ 1] = "6890001002092970028250400000"; mesonCutArray[ 1] = "01525065009000"; // 5-10%
+      cutarray[ 2] = "5670001002092970028250400000"; mesonCutArray[ 2] = "01525065009000"; // 0-10%
+      cutarray[ 3] = "5780001002092970028250400000"; mesonCutArray[ 3] = "01525065009000"; // 10-20%
+      cutarray[ 4] = "5890001002092970028250400000"; mesonCutArray[ 4] = "01525065009000"; // 0-20%
+   } else if ( trainConfig == 64){ // cleaner cuts
+      cutarray[ 0] = "7010001002092970028250400000"; mesonCutArray[ 0] = "01525065009000"; // 0-5%
+      cutarray[ 1] = "7120001002092970028250400000"; mesonCutArray[ 1] = "01525065009000"; // 5-10%
+      cutarray[ 2] = "7230001002092970028250400000"; mesonCutArray[ 2] = "01525065009000"; // 0-10%
+      cutarray[ 3] = "7340001002092970028250400000"; mesonCutArray[ 3] = "01525065009000"; // 10-20%
+      cutarray[ 4] = "7450001002092970028250400000"; mesonCutArray[ 4] = "01525065009000"; // 0-20%
+   } else if ( trainConfig == 65){ // cleaner cuts
+      cutarray[ 0] = "7560001002092970028250400000"; mesonCutArray[ 0] = "01525065009000"; // 0-5%
+      cutarray[ 1] = "7670001002092970028250400000"; mesonCutArray[ 1] = "01525065009000"; // 5-10%
+      cutarray[ 2] = "7780001002092970028250400000"; mesonCutArray[ 2] = "01525065009000"; // 0-10%
+      cutarray[ 3] = "7890001002092970028250400000"; mesonCutArray[ 3] = "01525065009000"; // 10-20%
+      cutarray[ 4] = "7090001002092970028250400000"; mesonCutArray[ 4] = "01525065009000"; // 0-20%      
+       } else {
       Error(Form("GammaConvV1_%i",trainConfig), "wrong trainConfig variable no cuts have been specified for the configuration");
       return;
    }