]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- correction of error message
authorjklein <jklein@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Oct 2011 06:33:58 +0000 (06:33 +0000)
committerjklein <jklein@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Oct 2011 06:33:58 +0000 (06:33 +0000)
TRD/AliTRDmcmSim.cxx

index e6cbfc1830834124382af135d7ec27bef424e9b5..11318c2e78d89837f38ef605d6427953eea88bc9 100644 (file)
@@ -559,7 +559,7 @@ void AliTRDmcmSim::SetData(AliTRDarrayADC* const adcArray, AliTRDdigitsManager *
 
       // If there is no data, set dictionary to zero to avoid crashes
       if (fDict[iDict]->GetDim() == 0)  {
-        AliError(Form("Dictionary %i of det. %i has dim. 0", fDetector, iDict));
+        AliError(Form("Dictionary %i of det. %i has dim. 0", iDict, fDetector));
         fDict[iDict] = 0x0;
       }
     }
@@ -616,7 +616,7 @@ void AliTRDmcmSim::SetDataByPad(AliTRDarrayADC* const adcArray, AliTRDdigitsMana
 
       // If there is no data, set dictionary to zero to avoid crashes
       if (fDict[iDict]->GetDim() == 0)  {
-        AliError(Form("Dictionary %i of det. %i has dim. 0", fDetector, iDict));
+        AliError(Form("Dictionary %i of det. %i has dim. 0", iDict, fDetector));
         fDict[iDict] = 0x0;
       }
     }