]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
The TPC simulated with all channels
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Aug 2008 09:39:25 +0000 (09:39 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Aug 2008 09:39:25 +0000 (09:39 +0000)
The dead map applied only in the reconstruction

(Marian)

TPC/AliTPCDigitizer.cxx

index 44193bbdf9762d494315a60463ba4347805e5cb5..5cd678f75398b6e31f0bad3885802b48b7c28407 100644 (file)
@@ -288,15 +288,14 @@ void AliTPCDigitizer::ExecFast(Option_t* option)
          }
         q/=16.;  //conversion factor
        Float_t gain = gainROC->GetValue(row,elem/nrows);  // get gain for given - pad-row pad
-       if (gain<0.5){
-         printf("problem\n");
-       }
+       //if (gain<0.5){
+         //printf("problem\n");
+       //}
        q*= gain;
        Float_t noisePad = noiseROC->GetValue(row,elem/nrows);
         //       Float_t noise  = gRandom->Gaus(0,param->GetNoise()*param->GetNoiseNormFac());  
         Float_t noise  = pTPC->GetNoise();
         q+=noise*noisePad;
-       if (noisePad<0.001) q=0;   // dead channels identified - 0 noise
         q=TMath::Nint(q);
         if (q > zerosup)
          { 
@@ -479,7 +478,6 @@ void AliTPCDigitizer::ExecSave(Option_t* option)
 
        Float_t noise  = pTPC->GetNoise();
        q+=noise*noisePad;
-       if (noisePad<0.00001) q=0;   // dead channels identified - 0 noise  
 
         q=TMath::Nint(q);
         if (q > zerosup){