From 56fff13039dd541779fb991d8bc3da2a8c5c15f7 Mon Sep 17 00:00:00 2001 From: hristov Date: Thu, 22 Mar 2001 11:01:30 +0000 Subject: [PATCH 1/1] Loop variables declared once --- ITS/AliITSClusterFinderSDD.cxx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/ITS/AliITSClusterFinderSDD.cxx b/ITS/AliITSClusterFinderSDD.cxx index 84930077d3f..6c296c25073 100644 --- a/ITS/AliITSClusterFinderSDD.cxx +++ b/ITS/AliITSClusterFinderSDD.cxx @@ -407,6 +407,7 @@ Int_t AliITSClusterFinderSDD::SearchPeak( Float_t *spect, Int_t xdim, Int_t zdim Int_t *peakX, Int_t *peakZ, Float_t *peakAmp, Float_t minpeak ) { Int_t npeak = 0; // # peaks + Int_t i,j; // search peaks for( Int_t z=1; z 0 ) continue; @@ -451,11 +452,11 @@ Int_t AliITSClusterFinderSDD::SearchPeak( Float_t *spect, Int_t xdim, Int_t zdim } // make average of peak groups - for( Int_t i=0; iGetModule( "ITS" ); // get number of clusters for this module Int_t nofClusters = fClusters->GetEntriesFast(); @@ -921,7 +924,7 @@ void AliITSClusterFinderSDD::ResolveClustersE() // Initial paramiters in cell dimentions Int_t k1 = 1; - for( Int_t i=0; i