]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliCollisionNormalizationTask.cxx
Changes needed to be compliant with the updates in the physics selection
[u/mrichter/AliRoot.git] / ANALYSIS / AliCollisionNormalizationTask.cxx
index bab6897bf2a8adced0c48d51e7e7bd1f3b55ed9b..0d6a27695a67bb56ba2184ad9703f69332ec20fc 100644 (file)
@@ -125,7 +125,8 @@ void AliCollisionNormalizationTask::UserExec(Option_t*)
   // NB never call IsEventSelected more than once per event
   // (statistics histogram would be altered)
 
-  Bool_t isSelected = ((AliInputEventHandler*)(AliAnalysisManager::GetAnalysisManager()->GetInputEventHandler()))->IsEventSelected();
+  // FIXME: using only MB events, foresee more events?
+  Bool_t isSelected = (((AliInputEventHandler*)(AliAnalysisManager::GetAnalysisManager()->GetInputEventHandler()))->IsEventSelected() & AliVEvent::kMB);
 
   // Get the Multiplicity cut
   const AliMultiplicity* mult = aESD->GetMultiplicity();