]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixing compilation warnings
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 16 Oct 2009 14:28:50 +0000 (14:28 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 16 Oct 2009 14:28:50 +0000 (14:28 +0000)
ITS/AliITSRecPoint.h
ITS/AliITSVertexer3D.cxx

index 7d354fa856b96ae0cb8338dfc13f9361821e7e3e..496ce8bd36b50a2147ba1b7ac06f5257c5277ab9 100644 (file)
@@ -81,7 +81,7 @@ class AliITSRecPoint : public AliCluster {
   Int_t GetClusterType() const {
     if(fLayer<=1) return GetSPDclusterType();
     if(fLayer==2 || fLayer==3) return GetSDDclusterType();
-    if(fLayer==4 || fLayer==5) return GetSSDclusterType();
+    return GetSSDclusterType();
   }
  protected:
 
index bfa6a1916cea63426cf0eae01cbf4d755c9e1cae..b315aca73a98788370605d71b743af93b4e227a8 100644 (file)
@@ -115,7 +115,7 @@ AliESDVertex* AliITSVertexer3D::FindVertexForCurrentEvent(TTree *itsClusterTree)
     rc=Prepare3DVertex(0);
     if(fVert3D.GetNContributors()>0){
       fLines.Clear("C");
-      Int_t nolines = FindTracklets(itsClusterTree,1);
+      nolines = FindTracklets(itsClusterTree,1);
       if(nolines>=2){
        rc=Prepare3DVertex(1);
        if(fPileupAlgo == 2 && rc == 0) FindVertex3DIterative();