From: cholm Date: Fri, 26 Aug 2011 12:39:25 +0000 (+0000) Subject: Make printout of sdigits from raw conditional on debug>=5 X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=c20989b2b90ed704770d9506c1c9b0da116bf3c0;p=u%2Fmrichter%2FAliRoot.git Make printout of sdigits from raw conditional on debug>=5 --- diff --git a/FMD/AliFMD.cxx b/FMD/AliFMD.cxx index 65444460de9..0e35d5f753d 100644 --- a/FMD/AliFMD.cxx +++ b/FMD/AliFMD.cxx @@ -1024,9 +1024,10 @@ AliFMD::Raw2SDigits(AliRawReader* reader) // Bool_t ret = fmdReader.ReadAdcs(sdigits, kTRUE, kTRUE); // sdigits->ls(); UShort_t ns = sdigits->GetEntriesFast(); - for (UShort_t i = 0; i < ns; i++) - sdigits->At(i)->Print("pl"); - + if (AliLog::GetDebugLevel("FMD", 0) > 5) { + for (UShort_t i = 0; i < ns; i++) + sdigits->At(i)->Print("pl"); + } AliFMDDebug(1, ("Got a total of %d SDigits", ns)); fLoader->TreeS()->Fill();