]>
Commit | Line | Data |
---|---|---|
1 | #include <Riostream.h> | |
2 | #include "TVirtualMCApplication.h" | |
3 | ||
4 | #ifndef WITH_ROOT | |
5 | #include "TFluka.h" | |
6 | #else | |
7 | #include "TFlukaGeo.h" | |
8 | #endif | |
9 | ||
10 | #ifndef WIN32 | |
11 | # define sodraw sodraw_ | |
12 | #else | |
13 | # define sodraw SODRAW | |
14 | #endif | |
15 | extern "C" { | |
16 | void sodraw() | |
17 | { | |
18 | ((TFluka*) gMC)->SetCaller(5); | |
19 | ((TFluka*) gMC)->SetIcode(0); | |
20 | } // end of sodraw | |
21 | } // end of extern "C" | |
22 |