]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliLegoGeneratorXYZ.cxx
Modified plots and made jet finder use SDigits
[u/mrichter/AliRoot.git] / STEER / AliLegoGeneratorXYZ.cxx
index 3f407fea606dd8f44dd244d337fc65658ae84933..740c56c09204276577c57cf5a26a4b60fd2fe018 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.2  2000/11/30 07:12:49  alibrary
-Introducing new Rndm and QA classes
+/* $Id$ */
 
-Revision 1.1  2000/10/26 14:18:05  morsch
-Add new AliLegoGenerator classes:
-AliLegoGeneratorXYZ: carthesian binning
-AliLegoGeneratorEta: eta-phi binning
-
-*/
+//-------------------------------------------------------------------------
+//      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"
 #include "AliRun.h"
+#include "AliMC.h"
 
 ClassImp(AliLegoGeneratorXYZ)
 
@@ -131,7 +129,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->GetMCApp()->PushTrack(1, -1, kMpart, pmom, orig, polar, 0, kPPrimary, ntr);
    
 }