gAlice replaced by TVirtualMCApplication::Instance()
[u/mrichter/AliRoot.git] / TFluka / usdraw.cxx
CommitLineData
fa3d1cc7 1#include <Riostream.h>
fa3d1cc7 2#include "TFluka.h"
3#ifndef WIN32
4# define usdraw usdraw_
5#else
6# define usdraw USDRAW
7#endif
8extern "C" {
9void usdraw(Int_t& icode, Int_t& mreg,
10 Double_t& xsco, Double_t& ysco, Double_t& zsco)
11{
12 ((TFluka*) gMC)->SetIcode(icode);
13 ((TFluka*) gMC)->SetMreg(mreg);
14 ((TFluka*) gMC)->SetXsco(xsco);
15 ((TFluka*) gMC)->SetYsco(ysco);
16 ((TFluka*) gMC)->SetZsco(zsco);
8fd1d27e 17 cout << endl << " !!! I am in usdraw" << endl;
fa3d1cc7 18 ((TFluka*) gMC)->FutoTest();
fa3d1cc7 19} // end of usdraw
20} // end of extern "C"
21