changed the QA check on digits
[u/mrichter/AliRoot.git] / TFluka / endraw.cxx
CommitLineData
fa3d1cc7 1#include <Riostream.h>
8fd1d27e 2#include "TVirtualMCApplication.h"
fa3d1cc7 3#include "TFluka.h"
7dac99f1 4#include "Fdimpar.h" //(DIMPAR) fluka include
5#include "Ftrackr.h" //(TRACKR) fluka common
fa3d1cc7 6#ifndef WIN32
7# define endraw endraw_
8#else
9# define endraw ENDRAW
10#endif
11extern "C" {
12void endraw(Int_t& icode, Int_t& mreg, Double_t& rull, Double_t& xsco, Double_t& ysco, Double_t& zsco)
13{
7dac99f1 14 ((TFluka*) gMC)->SetCaller(3);
fa3d1cc7 15 ((TFluka*) gMC)->SetIcode(icode);
fa3d1cc7 16 ((TFluka*) gMC)->SetRull(rull);
17 ((TFluka*) gMC)->SetXsco(xsco);
18 ((TFluka*) gMC)->SetYsco(ysco);
19 ((TFluka*) gMC)->SetZsco(zsco);
7dac99f1 20 (TVirtualMCApplication::Instance())->Stepping();
fa3d1cc7 21} // end of endraw
22} // end of extern "C"
23