]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Make printout of sdigits from raw conditional on debug>=5
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 Aug 2011 12:39:25 +0000 (12:39 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 Aug 2011 12:39:25 +0000 (12:39 +0000)
FMD/AliFMD.cxx

index 65444460de914065815ae8ba46282bc1fa463de2..0e35d5f753d6fb08374c10529fd2ab77d5789b72 100644 (file)
@@ -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();