]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- corrected check for max number of channels per mcm
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Jun 2010 15:46:32 +0000 (15:46 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Jun 2010 15:46:32 +0000 (15:46 +0000)
- corrected verbosity level

TRD/AliTRDrawStream.cxx

index 5d834fe8c72d8930d13073ea98fe3bc94a82e29e..d9e9b6b27ec7fecf91e52b35e4a093658622168c 100644 (file)
@@ -879,9 +879,9 @@ Int_t AliTRDrawStream::ReadZSData()
     
     // ----- reading marked ADC channels -----
     while (channelcount < channelcountExp && *(fPayloadCurr) != fgkDataEndmarker) {
-      if (channelno < 21)
+      if (channelno < 20)
        channelno++;
-      while (channelno < 21 && (channelmask & 1 << channelno) == 0)
+      while (channelno < 20 && (channelmask & 1 << channelno) == 0)
        channelno++;
       
       if (fCurrNtimebins > 30) {
@@ -1043,7 +1043,7 @@ Int_t AliTRDrawStream::ReadNonZSData()
     // ----- reading marked ADC channels -----
     while (channelcount < channelcountExp && 
           *(fPayloadCurr) != fgkDataEndmarker) {
-      if (channelno < 21)
+      if (channelno < 20)
        channelno++;
       
       currentTimebin = 0;
@@ -1191,7 +1191,7 @@ TString AliTRDrawStream::StackError(ErrorCode_t err, TString msg, ...)
   fErrors->Fill();
 
   va_list ap;
-  if (fgErrorDebugLevel[err] > 10) 
+  if (fgErrorDebugLevel[err] > 0) 
     AliDebug(fgErrorDebugLevel[err], 
             Form("Event %6i: Eq. %2d S %i - %s : %s", 
                  fRawReader->GetEventIndex(), fCurrEquipmentId, fCurrSlot, fgErrorMessages[err],
@@ -1219,7 +1219,7 @@ TString AliTRDrawStream::LinkError(ErrorCode_t err, TString msg, ...)
   fErrors->Fill();
 
   va_list ap;
-  if (fgErrorDebugLevel[err] > 10)
+  if (fgErrorDebugLevel[err] > 0)
     AliDebug(fgErrorDebugLevel[err], 
             Form("Event %6i: Eq. %2d S %i l %2i - %s : %s", 
                  fRawReader->GetEventIndex(), fCurrEquipmentId, fCurrSlot, fCurrLink, fgErrorMessages[err],
@@ -1247,7 +1247,7 @@ TString AliTRDrawStream::ROBError(ErrorCode_t err, TString msg, ...)
   fErrors->Fill();
 
   va_list ap;
-  if (fgErrorDebugLevel[err] > 10) 
+  if (fgErrorDebugLevel[err] > 0) 
     AliDebug(fgErrorDebugLevel[err], 
             Form("Event %6i: Eq. %2d S %i l %2i ROB %i - %s : %s", 
                  fRawReader->GetEventIndex(), fCurrEquipmentId, fCurrSlot, fCurrLink, fCurrRobPos, fgErrorMessages[err],
@@ -1275,7 +1275,7 @@ TString AliTRDrawStream::MCMError(ErrorCode_t err, TString msg, ...)
   fErrors->Fill();
 
   va_list ap;
-  if (fgErrorDebugLevel[err] > 10) 
+  if (fgErrorDebugLevel[err] > 0) 
     AliDebug(fgErrorDebugLevel[err], 
             Form("Event %6i: Eq. %2d S %i l %2i ROB %i MCM %2i - %s : %s",
                  fRawReader->GetEventIndex(), fCurrEquipmentId, fCurrSlot, fCurrLink, fCurrRobPos, fCurrMcmPos, fgErrorMessages[err],