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