Warnings fixed
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Mar 2010 14:34:56 +0000 (14:34 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Mar 2010 14:34:56 +0000 (14:34 +0000)
T0/AliT0CalibWalk.cxx

index f341a1e..63b9946 100644 (file)
@@ -171,7 +171,7 @@ Bool_t AliT0CalibWalk::MakeWalkCorrGraph(const char *laserFile)
                  {
                    hCFD->Rebin(2);
                    TSpectrum *s1 = new TSpectrum(2*npeaks,1);
-                   Int_t nfound = s1->Search(hCFD,sigma," ",0.1);
+                   nfound = s1->Search(hCFD,sigma," ",0.1);
                    if(nfound!=0){
                      Float_t *xpeak = s1->GetPositionX();
                      TMath::Sort(nfound, xpeak, index,down);