]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
added noise to the digit can be negative, may affect to the observed discrepancy...
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Apr 2012 12:00:38 +0000 (12:00 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Apr 2012 12:00:38 +0000 (12:00 +0000)
EMCAL/AliEMCALDigitizer.cxx

index e5243a5113c5e16772a0647c42e017d023d0589b..89d0715368c8d59557b0552b6f4e223ffbc05e64 100644 (file)
@@ -487,7 +487,7 @@ void AliEMCALDigitizer::Digitize(Int_t event)
           
        // add the noise now, no need for embedded events with real data
        if(!embed)
-         energy += TMath::Abs(gRandom->Gaus(0., fPinNoise)) ;
+         energy += gRandom->Gaus(0., fPinNoise) ;
           
 
        // JLK 26-June-2008