]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TFluka/eedraw.cxx
Update on calibration classes by Raphaelle
[u/mrichter/AliRoot.git] / TFluka / eedraw.cxx
index 0dcb3b75e1e054a63467ed77c8b9dbedeab967f4..038820bead92d8aa3d5168591ec7e09df0f4589d 100644 (file)
@@ -2,6 +2,7 @@
 #include "TVirtualMCApplication.h"
 
 #include "TFluka.h"
+#include "TFlukaCodes.h"
 
 #ifndef WIN32
 # define eedraw eedraw_
@@ -11,8 +12,8 @@
 extern "C" {
 void eedraw(Int_t& icode)
 {
-  ((TFluka*) gMC)->SetCaller(2);
-  ((TFluka*) gMC)->SetIcode(icode);
+  ((TFluka*) gMC)->SetCaller(kEEDRAW);
+  ((TFluka*) gMC)->SetIcode((FlukaProcessCode_t) icode);
 } // end of eedraw
 } // end of extern "C"