4 ///////////////////////////////////////////////////////////////////
6 // Interface for Flugg Wrappers
8 ///////////////////////////////////////////////////////////////////
15 #define idnrwr idnrwr_
17 #define g1rtwr g1rtwr_
18 #define conhwr conhwr_
19 #define inihwr inihwr_
20 #define jomiwr jomiwr_
21 #define lkdbwr lkdbwr_
22 #define lkfxwr lkfxwr_
23 #define lkmgwr lkmgwr_
25 #define magfld magfld_
26 #define nrmlwr nrmlwr_
27 #define rgrpwr rgrpwr_
28 #define isvhwr isvhwr_
31 #define G4GEOMETRY_DEBUG 1
35 extern "C" G4int idnrwr(const G4int & nreg, const G4int & mlat);
39 extern "C" void g1wr(G4double& pSx, G4double& pSy, G4double& pSz, G4double* pV,
40 G4int& oldReg, const G4int& oldLttc, G4double& propStep,
41 G4int& nascFlag, G4double& retStep, G4int& newReg,
42 G4double& saf, G4int& newLttc, G4int& LttcFlag,
43 G4double* sLt, G4int* jrLt);
47 extern "C" void g1rtwr(void);
51 extern "C" void conhwr(G4int& intHist, G4int* incrCount);
55 extern "C" void inihwr(G4int& intHist);
59 extern "C" void jomiwr(const G4int & nge, const G4int& lin, const G4int& lou,
64 extern "C" void lkdbwr(G4double& pSx, G4double& pSy, G4double& pSz,
65 G4double* pV, const G4int& oldReg, const G4int& oldLttc,
66 G4int& newReg, G4int& flagErr, G4int& newLttc);
70 extern "C" void lkfxwr(G4double& pSx, G4double& pSy, G4double& pSz,
71 G4double* pV, const G4int& oldReg, const G4int& oldLttc,
72 G4int& newReg, G4int& flagErr, G4int& newLttc);
76 extern "C" void lkmgwr(G4double& pSx, G4double& pSy, G4double& pSz,
77 G4double* pV, const G4int& oldReg, const G4int& oldLttc,
78 G4int& flagErr, G4int& newReg, G4int& newLttc);
82 extern "C" void lkwr(G4double& pSx, G4double& pSy, G4double& pSz,
83 G4double* pV, const G4int& oldReg, const G4int& oldLttc,
84 G4int& newReg, G4int& flagErr, G4int& newLttc);
88 extern "C" void magfld(const G4double& pX, const G4double& pY, const G4double& pZ,
89 G4double& cosBx, G4double& cosBy, G4double& cosBz,
90 G4double& Bmag, G4int& reg, G4int& idiscflag);
94 extern "C" void nrmlwr(G4double& pSx, G4double& pSy, G4double& pSz,
95 G4double& pVx, G4double& pVy, G4double& pVz,
96 G4double* norml, const G4int& oldReg,
97 const G4int& newReg, G4int& flagErr);
101 extern "C" void rgrpwr(const G4int& flukaReg, const G4int& ptrLttc, G4int& g4Reg,
102 G4int* indMother, G4int* repMother, G4int& depthFluka);
106 extern "C" G4int isvhwr(const G4int& fCheck, const G4int& intHist);