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 e5243a5..89d0715 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