updated for train
authorssakai <ssakai@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 May 2012 18:33:37 +0000 (18:33 +0000)
committerssakai <ssakai@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 May 2012 18:33:37 +0000 (18:33 +0000)
PWGHF/hfe/macros/configs/PbPb/ConfigHFECal.C
PWGHF/hfe/macros/configs/PbPb/ConfigHFECalstandard_PbPb.C

index ed60576..da80dae 100644 (file)
@@ -28,10 +28,6 @@ AliAnalysisTaskHFECal* ConfigHFECal(Bool_t useMC){
   if(useMC) pid->SetHasMCData(kTRUE);\r
   pid->AddDetector("TPC", 0);\r
   pid->AddDetector("EMCAL", 1);\r
-  // change E/p cuts\r
-  AliHFEpidEMCAL *emcpid = pid->AliHFEpid::GetDetPID(AliHFEpid::kEMCALpid);\r
-  emcpid->SetEoPMax(1.3);\r
-  emcpid->SetEoPMim(0.9);\r
 \r
   Double_t params[4];\r
   char *cutmodel;\r
@@ -53,6 +49,11 @@ AliAnalysisTaskHFECal* ConfigHFECal(Bool_t useMC){
   }\r
   pid->ConfigureTPCdefaultCut(cutmodel, params,3.0); \r
 \r
+  // change E/p cuts\r
+  AliHFEpidEMCAL *emcpid = pid->AliHFEpid::GetDetPID(AliHFEpid::kEMCALpid);\r
+  emcpid->SetEoPMax(1.3);\r
+  emcpid->SetEoPMim(0.9);\r
+\r
   printf("*************************************\n");\r
   printf("Configuring standard Task:\n");\r
 //  task->PrintStatus();\r
index 9185244..d0dc4d0 100644 (file)
@@ -94,11 +94,11 @@ AliAnalysisTaskHFE* ConfigHFECalstandard_PbPb(Bool_t useMC, int TPCclust){
       //params_centr_10_20[0]=0.29;
       //params_centr_20_30[0]=0.38;
       //params_centr_per[0]=0.44;
-      params_centr_0_5[0]=-1.5;  // cut tuned for 0-10%
-      params_centr_5_10[0]=-1.5; // cut tuned for 0-10%
-      params_centr_10_20[0]=-1.5;
-      params_centr_20_30[0]=-1.5;
-      params_centr_per[0]=-1.5;
+      params_centr_0_5[0] = -1.0;  // cut tuned for 0-10%
+      params_centr_5_10[0] = -1.0; // cut tuned for 0-10%
+      params_centr_10_20[0] = -1.0;
+      params_centr_20_30[0] = -1.0;
+      params_centr_per[0] = -1.0;
       char *cutmodel;
       cutmodel="pol0";
 
@@ -140,7 +140,7 @@ AliAnalysisTaskHFE* ConfigHFECalstandard_PbPb(Bool_t useMC, int TPCclust){
   
   // change E/p cuts
   AliHFEpidEMCAL *emcpid = pid->AliHFEpid::GetDetPID(AliHFEpid::kEMCALpid);
-  emcpid->SetEoPMax(1.2);
+  emcpid->SetEoPMax(1.3);
   emcpid->SetEoPMim(0.9);
 
   // QA