2/3 border gamma patche handling
authorguernane <guernane@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Nov 2011 10:25:47 +0000 (10:25 +0000)
committerguernane <guernane@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Nov 2011 10:25:47 +0000 (10:25 +0000)
EMCAL/AliEMCALTriggerRawDigitMaker.cxx

index 916632b..8ac45bc 100644 (file)
@@ -441,7 +441,7 @@ void AliEMCALTriggerRawDigitMaker::PostProcess()
                                
                                vx = vx - sizeL1gsubr[0] * sizeL1gpatch[0] + 1;
                                
-                               if (vx >= 0) 
+                               if (vx >= 0 && vy < 63) 
                                {
                                        if (fGeometry->GetAbsFastORIndexFromPositionInEMCAL(vx, vy, idx))
                                        {