]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixed a DA disabling bug
authorhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Feb 2011 11:41:04 +0000 (11:41 +0000)
committerhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Feb 2011 11:41:04 +0000 (11:41 +0000)
FMD/AliFMDBaseDA.cxx

index e9c14346672eb12527fc8bd980389f147b669aaa..b49ea41133983404c1be0f2259c0db7a357733c5 100644 (file)
@@ -205,7 +205,7 @@ void AliFMDBaseDA::Run(AliRawReader* reader)
   Bool_t sodread = kFALSE;
   
   for(Int_t i=0;i<3;i++) {
-    if (reader->NextEvent()) { 
+    if (!reader->NextEvent()) { 
       // Read Start-of-Run / Start-of-Files event
       AliWarning(Form("Failed to read the %d%s event",
                      i+1, (i == 0 ? "st" : (i == 1 ? "nd" : "rd"))));