do not check filter bit on ESD analysis
authorzconesa <zconesa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 4 Nov 2013 15:34:31 +0000 (15:34 +0000)
committerzconesa <zconesa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 4 Nov 2013 15:34:31 +0000 (15:34 +0000)
PWGPP/EvTrkSelection/macros/AddSingleTrackEfficiencyTask.C

index daf9526..6ff5daf 100644 (file)
@@ -224,7 +224,8 @@ AliCFSingleTrackEfficiencyTask *AddSingleTrackEfficiencyTask(const Bool_t readAO
   printf("CREATE CF Single track task\n");
 
   AliCFSingleTrackEfficiencyTask *task = new AliCFSingleTrackEfficiencyTask("AliCFSingleTrackEfficiencyTask",QualityCuts,cuts);
-  task->SetFilterBit(kTRUE);
+  if(readAOD) task->SetFilterBit(kTRUE);
+  else task->SetFilterBit(kFALSE);
   task->SetFilterType(fBit);
   task->SelectCollisionCandidates(AliVEvent::kMB);
   task->SetCFManager(man); //here is set the CF manager