]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSvFast.cxx
Erased calls to SetPrimary, because it was erased in RecFastParticle
[u/mrichter/AliRoot.git] / PHOS / AliPHOSvFast.cxx
index b46b94c9acdbe09c8243e0170aab9de3a16c38f2..20575eb9a82da8799170c975fc4b6dd8fc5c6e05 100644 (file)
@@ -480,8 +480,6 @@ void AliPHOSvFast::StepManager(void)
 {
   // Only verifies if the particle reaches PHOS and stops the tracking 
 
-  Int_t primary =  gAlice->GetPrimary( gAlice->CurrentTrack() ); 
-
   TLorentzVector lv ; 
   gMC->TrackPosition(lv) ;
   TVector3 pos = lv.Vect() ; 
@@ -502,7 +500,6 @@ void AliPHOSvFast::StepManager(void)
     TParticle * part = new TParticle(gMC->TrackPid(), 0,-1,-1,-1,-1, pTrack, lv)  ;
         
     AliPHOSFastRecParticle rp(*part) ;
-    rp.SetPrimary(primary) ; 
 
     // Adds the response of PHOS to the particle
     MakeRecParticle(modid, pos, rp) ;