]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGPP/pid/AddTaskLambdaBayes.C
Added the possibility to the user to manage own PID
[u/mrichter/AliRoot.git] / PWGPP / pid / AddTaskLambdaBayes.C
index 289bbaf7e60903a44e33175d73d3fcfea4fa87b3..32f9f6c3f5f47bbc5eadd9144244ea285201b38b 100644 (file)
@@ -23,6 +23,9 @@ AliAnalysisTask *AddTaskLambdaBayes(Bool_t ismc=kFALSE,Bool_t qa=kTRUE,Int_t fil
   task->SetFilterBit(filterbit);
   task->SetTypeCollisions(typeCol);
 
+  AliPIDmaxProb *userCut = new AliPIDmaxProb("maxProbProton");
+  task->SetPIDuserCut(userCut);
+
   mgr->AddTask(task);
 
   //Attach input to my tasks