]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TFluka/endraw.cxx
gAlice replaced by TVirtualMCApplication::Instance()
[u/mrichter/AliRoot.git] / TFluka / endraw.cxx
index 0213740711e8763d0f5d3cb1e0f0a55cd0196919..68c1995c0c6e12918618a818ff7ca8adcca3be2a 100644 (file)
@@ -1,5 +1,5 @@
 #include <Riostream.h>
-#include "AliRun.h"
+#include "TVirtualMCApplication.h"
 #include "TFluka.h"
 #ifndef WIN32
 # define endraw endraw_
@@ -15,9 +15,9 @@ void endraw(Int_t& icode, Int_t& mreg, Double_t& rull, Double_t& xsco, Double_t&
   ((TFluka*) gMC)->SetXsco(xsco);
   ((TFluka*) gMC)->SetYsco(ysco);
   ((TFluka*) gMC)->SetZsco(zsco);
-  cout << endl << " !!! I am in endraw - calling gAlice->Stepping()" << endl;
+  cout << endl << " !!! I am in endraw - calling Stepping()" << endl;
   ((TFluka*) gMC)->FutoTest();
-//  gAlice->Stepping();
+  (TVirtualMCApplication::Instance())->Stepping();
 } // end of endraw
 } // end of extern "C"