]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixed message format and debug level
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 20 Jun 2005 00:27:09 +0000 (00:27 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 20 Jun 2005 00:27:09 +0000 (00:27 +0000)
ITS/AliITSsimulationSPD.cxx

index ad340be05105cdfdfdb7349f378650f3368859fb..53163acda8d51ed2cfb201111df50a903f01baa0 100644 (file)
@@ -937,9 +937,9 @@ void AliITSsimulationSPD::WriteSDigits(AliITSpList *pList){
     for(i=0;i<ni;i++)for(j=0;j<nj;j++){
         if(pList->GetSignalOnly(i,j)>0.0){
             aliITS->AddSumDigit(*(pList->GetpListItem(i,j)));
-            if(AliDebugLevel()){
+            if(AliDebugLevel()>0){
                 cout << "pListSPD: " << *(pList->GetpListItem(i,j)) << endl;
-                AliDebug(1,Form("mod=%s r,c=%d %d sig=%f noise=%f",
+                AliDebug(1,Form("mod=%d r,c=%d %d sig=%f noise=%f",
                                fModule,i,j,fpList->GetSignalOnly(i,j),fpList->GetNoise(i,j)))
             } //  end if GetDebug
         } // end if