New header files.
[u/mrichter/AliRoot.git] / TFluka / endraw.cxx
CommitLineData
fa3d1cc7 1#include <Riostream.h>
8fd1d27e 2#include "TVirtualMCApplication.h"
fa3d1cc7 3#include "TFluka.h"
4#ifndef WIN32
5# define endraw endraw_
6#else
7# define endraw ENDRAW
8#endif
9extern "C" {
10void endraw(Int_t& icode, Int_t& mreg, Double_t& rull, Double_t& xsco, Double_t& ysco, Double_t& zsco)
11{
12 ((TFluka*) gMC)->SetIcode(icode);
9ad43d06 13// ((TFluka*) gMC)->SetMreg(mreg);
fa3d1cc7 14 ((TFluka*) gMC)->SetRull(rull);
15 ((TFluka*) gMC)->SetXsco(xsco);
16 ((TFluka*) gMC)->SetYsco(ysco);
17 ((TFluka*) gMC)->SetZsco(zsco);
fa3d1cc7 18 ((TFluka*) gMC)->FutoTest();
9ad43d06 19// (TVirtualMCApplication::Instance())->Stepping();
fa3d1cc7 20} // end of endraw
21} // end of extern "C"
22