* 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"
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);
}