Add the connected pad info to the simulation (Raphaelle)
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 28 May 2010 14:48:29 +0000 (14:48 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 28 May 2010 14:48:29 +0000 (14:48 +0000)
TRD/AliTRDdigitizer.cxx

index 15966ea..48fa7cc 100644 (file)
@@ -1246,7 +1246,7 @@ Bool_t AliTRDdigitizer::Signal2ADC(Int_t det, AliTRDarraySignal *signals)
 
       // Check whether pad is masked
       // Bridged pads are not considered yet!!!
-      if (calibration->IsPadMasked(det,col,row)) {
+      if (calibration->IsPadMasked(det,col,row) || calibration->IsPadNotConnected(det,col,row)) {
         continue;
       }
 
@@ -1953,3 +1953,4 @@ void AliTRDdigitizer::RunDigitalProcessing(Int_t det)
   delete mcmfast;
 
 }
+