From: hdalsgaa Date: Thu, 24 Feb 2011 11:41:04 +0000 (+0000) Subject: Fixed a DA disabling bug X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=56940d2be12b48a50555388141177d8bdecd0496;p=u%2Fmrichter%2FAliRoot.git Fixed a DA disabling bug --- diff --git a/FMD/AliFMDBaseDA.cxx b/FMD/AliFMDBaseDA.cxx index e9c14346672..b49ea411339 100644 --- a/FMD/AliFMDBaseDA.cxx +++ b/FMD/AliFMDBaseDA.cxx @@ -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"))));