From bc1854bf44e119f73b9b410ac719e20210c47434 Mon Sep 17 00:00:00 2001 From: gconesab Date: Fri, 15 Oct 2010 13:12:15 +0000 Subject: [PATCH] bug in loop, wrong varialble in increment --- EMCAL/AliEMCALTriggerRawDigitMaker.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EMCAL/AliEMCALTriggerRawDigitMaker.cxx b/EMCAL/AliEMCALTriggerRawDigitMaker.cxx index ce0ebe95115..5cda590ce82 100644 --- a/EMCAL/AliEMCALTriggerRawDigitMaker.cxx +++ b/EMCAL/AliEMCALTriggerRawDigitMaker.cxx @@ -64,7 +64,7 @@ fTriggerData(0x0) // def ctor AliRunLoader* rl = AliRunLoader::Instance(); - if (rl && rl->GetAliRun() && rl->GetAliRun()->GetDetector("EMCAL")) + if (rl && rl->GetAliRun() && dynamic_cast(rl->GetAliRun()->GetDetector("EMCAL"))) fGeometry = dynamic_cast(rl->GetAliRun()->GetDetector("EMCAL"))->GetGeometry(); else { @@ -365,7 +365,7 @@ void AliEMCALTriggerRawDigitMaker::PostProcess() Int_t* idFastOR = new Int_t[sizePatchL0]; - for (Int_t j = 0; j < sizePatchL0; i++) idFastOR[j] = -1; + for (Int_t j = 0; j < sizePatchL0; j++) idFastOR[j] = -1; if (fGeometry->GetFastORIndexFromL0Index(iTRU, x, idFastOR, sizePatchL0)) { -- 2.43.0