]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliLegoGeneratorXYZ.cxx
Changes needed on Sun
[u/mrichter/AliRoot.git] / STEER / AliLegoGeneratorXYZ.cxx
index d3ae6bd7a3ac46ce7a10a2f689ede3cd6657fb00..80da302268791dcc820d48d380fcda04077b707e 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/* $Header$ */
+/* $Id$ */
 
 //-------------------------------------------------------------------------
-//
 //      Lego generator in x - y - z bins
-//
+//    Uses geantino rays to check the material distributions and detector's
+//    geometry
+//    Author: A.Morsch 
 //-------------------------------------------------------------------------
 
 #include "AliLegoGeneratorXYZ.h"
@@ -127,7 +128,7 @@ void AliLegoGeneratorXYZ::Generate()
    
    Float_t polar[3]={0.,0.,0.};
    Int_t ntr;
-   gAlice->SetTrack(1, -1, kMpart, pmom, orig, polar, 0, kPPrimary, ntr);
+   gAlice->PushTrack(1, -1, kMpart, pmom, orig, polar, 0, kPPrimary, ntr);
    
 }