User stepping methods added (E. Futo)
[u/mrichter/AliRoot.git] / TFluka / bxdraw.cxx
CommitLineData
fa3d1cc7 1#include <Riostream.h>
2#include "AliRun.h"
3#include "TFluka.h"
4#ifndef WIN32
5# define bxdraw bxdraw_
6#else
7# define bxdraw BXDRAW
8#endif
9extern "C" {
10void bxdraw(Int_t& icode, Int_t& mreg, Int_t& newreg,
11 Double_t& xsco, Double_t& ysco, Double_t& zsco)
12{
13 ((TFluka*) gMC)->SetIcode(icode);
14 ((TFluka*) gMC)->SetMreg(mreg);
15 ((TFluka*) gMC)->SetNewreg(newreg);
16 ((TFluka*) gMC)->SetXsco(xsco);
17 ((TFluka*) gMC)->SetYsco(ysco);
18 ((TFluka*) gMC)->SetZsco(zsco);
19 cout << endl << " !!! I am in bxdraw - calling gAlice->Stepping()" << endl;
20 ((TFluka*) gMC)->FutoTest();
21// gAlice->Stepping();
22} // end of bxdraw
23} // end of extern "C"
24