The dead map applied only in the reconstruction
(Marian)
}
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)
{
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){