]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSsimulationSSD.cxx
Bug fix (F. Prino and E. Fragiacomo)
[u/mrichter/AliRoot.git] / ITS / AliITSsimulationSSD.cxx
index 5c332edabfc7f4a39a237a4f58ed250a7f9e7a78..e4293e2ed887065233ca0bf282094f9a4607e0f7 100644 (file)
@@ -678,7 +678,7 @@ void AliITSsimulationSSD::ChargeToSignal(Int_t module,AliITSpList *pList) {
 
        // signal is converted in unit of ADC
        signal = res->GetSSDDEvToADC(signal);
-       if(signal>4096.) signal = 4096.;//if exceeding, accumulate last one
+       if(signal>4095.) signal = 4095.;//if exceeding, accumulate last one
 
        // threshold for zero suppression is set on the basis of the noise
        // A good value is 3*sigma_noise