Minor corrections
[u/mrichter/AliRoot.git] / ZDC / testGen.C
index 3d1cd6dc7f9260f63e9dd82f564457cdb898e160..3fe9909c4910de80349c0f2357475d75b726d899 100644 (file)
@@ -7,7 +7,7 @@ gROOT.Reset();
 AliGenZDC *gener = new AliGenZDC();
 gener->SetParticle(kProton);
 gener->SetMomentum(2760.);
-gener->SetDir(0,0,0,1);
+gener->SetDirection(0,0,0,1);
 gener->SetFermi(1);
 gener->SetDiv(0.000032,0.0001,2);
 gener->Init();