]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
updated
authorssakai <ssakai@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 18 Mar 2013 09:17:18 +0000 (09:17 +0000)
committerssakai <ssakai@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 18 Mar 2013 09:17:18 +0000 (09:17 +0000)
PWGHF/hfe/macros/AddTaskHFEpPb.C

index e9af1aadfed4e370f1a891fd327e22757a9623da..d9af1424005f1e26e45ee924fb2369c0dd44b8c2 100644 (file)
@@ -47,7 +47,7 @@ AliAnalysisTask *AddTaskHFEpPb(Bool_t isAOD = kFALSE){
   \r
   if(kTPC_Only){\r
     // for the moment (09.02.2013) use the same as TOF-TPC. Refine later on\r
-    RegisterTaskPID2(MCthere,kDefTPCcl,kDefTPCclPID,kDefITScl,kDefDCAr,kDefDCAz,kDefTPCs,kDefTPCu,0,0,AliHFEextraCuts::kBoth);\r
+    RegisterTaskPID2(MCthere, isAOD, kDefTPCcl,kDefTPCclPID,kDefITScl,kDefDCAr,kDefDCAz,kDefTPCs,kDefTPCu,0,0,AliHFEextraCuts::kBoth);\r
   }\r
   \r
   //------------------------------//\r
@@ -150,7 +150,7 @@ AliAnalysisTask *RegisterTask(Bool_t useMC, Bool_t isAOD, Int_t tpcCls=120, Int_
   task->SelectCollisionCandidates(AliVEvent::kINT7);\r
 \r
   TString containerName = mgr->GetCommonFileName();\r
-  containerName += ":HFEpPbcent";\r
+  containerName += ":HFEtask";\r
   containerName += appendix.Data();\r
   printf("container name: %s\n", containerName.Data());\r
  \r
@@ -199,12 +199,12 @@ AliAnalysisTask *RegisterTaskPID2(Bool_t useMC, Bool_t isAOD, Int_t tpcCls=120,
   Int_t ietacorr = 0;\r
   if(withetacorrection) ietacorr = 1;\r
   \r
-  TString appendix(TString::Format("TPCc%dTPCp%dITS%dDCAr%dz%dTPCs%dTOFs%dm%ipa%d",tpcCls,\r
+  TString appendix(TString::Format("mbTPCc%dTPCp%dITS%dDCAr%dz%dTPCs%dTOFs%dm%ipa%d",tpcCls,\r
                                   tpcClsPID,itsCls,idcaxy,idcaz,itpcs,itofs,tofm,ipixelany));\r
   printf("Add macro appendix %s\n", appendix.Data());\r
 \r
   TString containerName = mgr->GetCommonFileName();\r
-  containerName += ":HFEpPbmb";\r
+  containerName += ":HFEtask";\r
   containerName += appendix.Data();\r
   printf("container name: %s\n", containerName.Data());\r
 \r