Removed some dead code.
[u/mrichter/AliRoot.git] / FMD / AliFMDv2.cxx
index 4dc378483882d84c177cc85ab8bf89b53a054451..3bb51ac95bf1f00174964bf242634757ff5fe3de 100644 (file)
@@ -88,8 +88,7 @@ void AliFMDv2::CreateGeometry()
    
   Int_t ifmd;
   Int_t idrotm[999];
-  Float_t zFMD,par[3],ppcon[5];
-    //ppcon1[15],ppcon2[15],ppcon3[15],ppcon4[15],ppcon5[15];
+  Float_t zFMD,par[3],ppcon[15];
   Float_t z[5]={62.8, 75.2, -83.4, -75.2, -340.};
   Float_t NylonTube[3]={0.2,0.6,0.45};
   Float_t zPCB=0.12; Float_t zHoneyComb=0.5; 
@@ -413,7 +412,7 @@ void AliFMDv2::StepManager()
          gMC->IsTrackStop())
         {
             hits[6]=de+1000.*gMC->Edep();
-      new(lhits[fNhits++]) AliFMDhit(fIshunt,gAlice->CurrentTrack(),vol,hits);
+      new(lhits[fNhits++]) AliFMDhit(fIshunt,gAlice->GetCurrentTrackNumber(),vol,hits);
         } // IsTrackExiting()
      }
   }