]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Corrected bug in the StepManager
authorkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Aug 2000 10:02:30 +0000 (10:02 +0000)
committerkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Aug 2000 10:02:30 +0000 (10:02 +0000)
TPC/AliTPCv2.cxx

index 4f0e0dd5658ab9df90a5263c7d8b4968a98198be..0672615646eae60c5d9926f95abe187d86a9c3a0 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.23  2000/07/10 20:57:39  hristov
+Update of TPC code and macros by M.Kowalski
+
 Revision 1.22  2000/06/30 12:07:50  kowal2
 Updated from the TPC-PreRelease branch
 
@@ -2104,14 +2107,16 @@ void AliTPCv2::StepManager()
       hits[3]=0.; // this hit has no energy loss
       new(lhits[fNhits++]) AliTPChit(fIshunt,gAlice->CurrentTrack(),vol,hits);
 
-      gMC->TrackPosition(p);
-      hits[0]=p[0];
-      hits[1]=p[1];
-      hits[2]=p[2];
-      hits[3]=0.; // this hit has no energy loss
-      new(lhits[fNhits++]) AliTPChit(fIshunt,gAlice->CurrentTrack(),vol,hits);
+    }
 
-    } 
+     gMC->TrackPosition(p);
+     hits[0]=p[0];
+     hits[1]=p[1];
+     hits[2]=p[2];
+     hits[3]=0.; // this hit has no energy loss
+     new(lhits[fNhits++]) AliTPChit(fIshunt,gAlice->CurrentTrack(),vol,hits);
+
+    
   }
   else return;