User stepping methods added (E. Futo)
[u/mrichter/AliRoot.git] / TFluka / endraw.cxx
CommitLineData
fa3d1cc7 1#include <Riostream.h>
2#include "AliRun.h"
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);
13 ((TFluka*) gMC)->SetMreg(mreg);
14 ((TFluka*) gMC)->SetRull(rull);
15 ((TFluka*) gMC)->SetXsco(xsco);
16 ((TFluka*) gMC)->SetYsco(ysco);
17 ((TFluka*) gMC)->SetZsco(zsco);
18 cout << endl << " !!! I am in endraw - calling gAlice->Stepping()" << endl;
19 ((TFluka*) gMC)->FutoTest();
20// gAlice->Stepping();
21} // end of endraw
22} // end of extern "C"
23