]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fMapA2->Clear() added before FillMapFrompList() in SDigitToDigits() to avoid double...
authorbarbera <barbera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Nov 2001 06:11:13 +0000 (06:11 +0000)
committerbarbera <barbera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Nov 2001 06:11:13 +0000 (06:11 +0000)
ITS/AliITSsimulationSSD.cxx

index 4a203869040abf1d5fe96c58205553322ebacf60..de123324e6221c8f4dd02494c6bf1d9c94766c40 100644 (file)
@@ -135,8 +135,8 @@ void AliITSsimulationSSD::SDigitiseModule(AliITSmodule *mod,Int_t dummy0,
 void AliITSsimulationSSD::SDigitToDigit(Int_t module,AliITSpList *pList){
     // Takes the pList and finishes the digitization.
 
-    //FillMapFrompList(pList);  // commented out to avoid double counting of
-                                // the charge 
+    fMapA2->Clear();          // added to avoid double counting of the charge                                
+    FillMapFrompList(pList);  
 
     ApplyNoise(pList,module);
     ApplyCoupling(pList,module);