New header files.
[u/mrichter/AliRoot.git] / TFluka / usdraw.cxx
CommitLineData
fa3d1cc7 1#include <Riostream.h>
a1f42b9c 2#include "AliRun.h"
fa3d1cc7 3#include "TFluka.h"
a1f42b9c 4#include "Fdimpar.h" //(DIMPAR) fluka include
5#include "Ftrackr.h" //(TRACKR) fluka common
fa3d1cc7 6#ifndef WIN32
7# define usdraw usdraw_
8#else
9# define usdraw USDRAW
10#endif
11extern "C" {
12void usdraw(Int_t& icode, Int_t& mreg,
13 Double_t& xsco, Double_t& ysco, Double_t& zsco)
14{
a1f42b9c 15 ((TFluka*) gMC)->SetCaller(6);
fa3d1cc7 16 ((TFluka*) gMC)->SetIcode(icode);
17 ((TFluka*) gMC)->SetMreg(mreg);
18 ((TFluka*) gMC)->SetXsco(xsco);
19 ((TFluka*) gMC)->SetYsco(ysco);
20 ((TFluka*) gMC)->SetZsco(zsco);
a1f42b9c 21 (TVirtualMCApplication::Instance())->Stepping();
fa3d1cc7 22} // end of usdraw
23} // end of extern "C"
24