adapt to new bitmask from PhysicsSelection instead of bool
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 29 Jul 2010 08:22:47 +0000 (08:22 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 29 Jul 2010 08:22:47 +0000 (08:22 +0000)
PWG4/JetTasks/AliAnalysisTaskJetServices.cxx

index 28b9912..fe0623d 100644 (file)
@@ -354,7 +354,7 @@ void AliAnalysisTaskJetServices::UserExec(Option_t */*option*/)
 
   Bool_t aodEventSelected = IsEventSelectedAOD(aod);
 
-  Bool_t physicsSelection = fInputHandler->IsEventSelected();
+  Bool_t physicsSelection = ((fInputHandler->IsEventSelected())&AliVEvent::kMB);
 
   if(esdEventSelected) fSelectionInfoESD |=  AliAnalysisHelperJetTasks::kVertexIn;
   if(esdEventPileUp)   fSelectionInfoESD |=  AliAnalysisHelperJetTasks::kIsPileUp;