]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
remove compilation warnings
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 20 Oct 2008 19:30:13 +0000 (19:30 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 20 Oct 2008 19:30:13 +0000 (19:30 +0000)
TRD/AliTRDclusterizer.cxx
TRD/AliTRDtrackerV1.cxx

index 7dc1998ead13ae9cabaf8f634050b67a3b0f7e0d..ce5f4f30e0b19a167f2849bfcbfa1bf5df2c77c9 100644 (file)
@@ -328,7 +328,7 @@ Bool_t AliTRDclusterizer::OpenOutput(TTree *clusterTree)
     AliDataLoader *dl = fRunLoader->GetLoader("TRDLoader")->GetDataLoader("tracklets");
     if (!dl) {
       AliError("Could not get the tracklets data loader!");
-      AliDataLoader *dl = new AliDataLoader("TRD.Tracklets.root","tracklets", "tracklets");
+      dl = new AliDataLoader("TRD.Tracklets.root","tracklets", "tracklets");
       fRunLoader->GetLoader("TRDLoader")->AddDataLoader(dl);
     }
     else {
index 6b0f739b313a2ddab944d675296781fb926d84a0..c507192dd55b3c883f356e53ab3fa2291b36679c 100644 (file)
@@ -1269,7 +1269,7 @@ Double_t AliTRDtrackerV1::FitRiemanTilt(AliTRDtrackV1 *track, AliTRDseedV1 *trac
   if(!track){
     for(Int_t ip = 0; ip < kNPlanes; ip++) {
       x = tracklets[ip].GetX0();
-      Double_t tmp = R*R-(x-x0)*(x-x0);  
+      tmp = R*R-(x-x0)*(x-x0);  
       if(tmp <= 0.) continue;
       tmp = TMath::Sqrt(tmp);  
 
@@ -1985,7 +1985,7 @@ Int_t AliTRDtrackerV1::Clusters2TracksStack(AliTRDtrackingChamber **stack, TClon
     if(TMath::Abs(sseed[jseed].GetYfit(1) - sseed[jseed].GetYfit(1)) >= .2) continue; // check this condition with Marian
     sseed[jseed].UseClusters();
     if(!cl){
-      Int_t ic = 0;
+      ic = 0;
       while(!(cl = sseed[jseed].GetClusters(ic))) ic++;
       clusterIndex =  sseed[jseed].GetIndexes(ic);
     }