From c20989b2b90ed704770d9506c1c9b0da116bf3c0 Mon Sep 17 00:00:00 2001 From: cholm Date: Fri, 26 Aug 2011 12:39:25 +0000 Subject: [PATCH] Make printout of sdigits from raw conditional on debug>=5 --- FMD/AliFMD.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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(); -- 2.39.3