correct bug in dcs trigger ocdb access, bad index used
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Nov 2010 17:06:55 +0000 (17:06 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Nov 2010 17:06:55 +0000 (17:06 +0000)
EMCAL/AliEMCALTriggerRawDigitMaker.cxx

index dfc8b5a3c1f2696dcc3add10b9d89f44578d58fe..964be5da5b9169b2ebf963835be65371a4c1a361 100644 (file)
@@ -364,7 +364,7 @@ void AliEMCALTriggerRawDigitMaker::PostProcess()
                        
                        if (AliDebugLevel()) printf("| STU => Found L0 patch id: %2d in TRU# %2d\n", x, iTRU);
                        
-                       const Int_t sizePatchL0 = fDCSConfig->GetTRUSegmentation(i) * fDCSConfig->GetTRUSegmentation(i);
+                       const Int_t sizePatchL0 = fDCSConfig->GetTRUSegmentation(iTRU) * fDCSConfig->GetTRUSegmentation(iTRU);
                        
                        Int_t* idFastOR = new Int_t[sizePatchL0];