Adapt to recent changes in EventHandler, consider the trigger mask in the event selection
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 29 Jul 2010 09:05:22 +0000 (09:05 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 29 Jul 2010 09:05:22 +0000 (09:05 +0000)
PWG4/JetTasks/AliAnalysisTaskFragmentationFunction.cxx

index 746900cc1e3c668619098ec7b0b140fd4e308ffd..a558ea437be720947d3b32c133993c6bb57234e0 100644 (file)
@@ -958,7 +958,7 @@ void AliAnalysisTaskFragmentationFunction::UserExec(Option_t *)
   \r
   AliInputEventHandler* inputHandler = (AliInputEventHandler*)\r
     ((AliAnalysisManager::GetAnalysisManager())->GetInputEventHandler());\r
-  if(inputHandler->IsEventSelected()){\r
+  if(inputHandler->IsEventSelected()&AliVEvent::kMB){\r
     if(fDebug > 1)  Printf(" Trigger Selection: event ACCEPTED ... ");\r
     fh1EvtSelection->Fill(1.);\r
   } else {\r