]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Corrected calling sequence.
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 Sep 2010 14:13:31 +0000 (14:13 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 Sep 2010 14:13:31 +0000 (14:13 +0000)
ANALYSIS/Tender/AliTender.cxx

index 8ee8dc5a1aad61fb4526a858c72e70a1bf64bf15..62b75a05df0689e54de2d13538768512d37b2026 100644 (file)
@@ -140,7 +140,6 @@ void AliTender::UserExec(Option_t* /*option*/)
     Printf("AliTender::Exec() %s ==> processing event %lld\n", fESDhandler->GetTree()->GetCurrentFile()->GetName(),entry);
   }  
   fESD = fESDhandler->GetEvent();
-  if (TObject::TestBit(kCheckEventSelection)) fESDhandler->CheckSelectionMask();
 
 // Call the user analysis
   // Unlock CDB
@@ -155,6 +154,9 @@ void AliTender::UserExec(Option_t* /*option*/)
   AliTenderSupply *supply;
   while ((supply=(AliTenderSupply*)next())) supply->ProcessEvent();
   fRunChanged = kFALSE;
+
+  if (TObject::TestBit(kCheckEventSelection)) fESDhandler->CheckSelectionMask();
+
   // Lock CDB
   fCDBkey = fCDB->SetLock(kTRUE, fCDBkey);
   PostData(1, fESD);