]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TFluka/eedraw.cxx
Correct flukaid for positron.
[u/mrichter/AliRoot.git] / TFluka / eedraw.cxx
index d2c7dac8e5f5c9d13f7f76b46295c59f0f2488ef..0dcb3b75e1e054a63467ed77c8b9dbedeab967f4 100644 (file)
@@ -1,6 +1,8 @@
 #include <Riostream.h>
 #include "TVirtualMCApplication.h"
+
 #include "TFluka.h"
+
 #ifndef WIN32
 # define eedraw eedraw_
 #else
@@ -9,10 +11,8 @@
 extern "C" {
 void eedraw(Int_t& icode)
 {
+  ((TFluka*) gMC)->SetCaller(2);
   ((TFluka*) gMC)->SetIcode(icode);
-  cout << endl << " !!! I am in eedraw - calling Stepping()" << endl;
-  ((TFluka*) gMC)->FutoTest();
-  (TVirtualMCApplication::Instance())->Stepping();
 } // end of eedraw
 } // end of extern "C"