]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixed a few error/warning messages.
authornilsen <nilsen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 24 Oct 2001 21:15:43 +0000 (21:15 +0000)
committernilsen <nilsen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 24 Oct 2001 21:15:43 +0000 (21:15 +0000)
ITS/AliITSsimulationSSD.cxx

index fd67d77e2577b4189bf7277236b4dd3b3ed68a8f..b26997bd9c4437b96efd5ddb79f82b504adc9501 100644 (file)
@@ -211,9 +211,8 @@ void AliITSsimulationSSD::HitToDigit(Int_t module, Double_t x0, Double_t y0,
        y = y0 + (j+0.5)*dey;
        if ( y > (GetSegmentation()->Dy()/2+10)*1.0E-4 ) {
            // check if particle is within the detector
-           cout<<"AliITSsimulationSSD::HitToDigit: Warning: hit "
-               "out of detector y0,y,dey,j ="
-               <<y0<<","<<y<<","<<dey<<","<<j<<endl;
+           Warning("HitToDigit","hit out of detector y0=%e,y=%e,dey=%e,j =%e",
+                   y0,y,dey,j);
            return;
        } // end if
        z = z0 + (j+0.5)*dez;
@@ -254,8 +253,7 @@ void AliITSsimulationSSD::HitToDigit(Int_t module, Double_t x0, Double_t y0,
            sigma[k] = TMath::Sqrt(2*GetDiffConst(k)*tdrift[k]);
            sigma[k] /= (GetStripPitch()*1.0E-4);  //units of Pitch
            if(sigma[k]==0.0) {         
-               cout<<"AliITSsimulationSSD::DigitiseModule: Error: sigma=0"
-                   <<endl; 
+               Error("HitToDigit"," sigma[%d]=0",k);
                exit(0);
            } // end if