Using TGeo to retrieve the mean material budget between two points (M.Ivanov)
[u/mrichter/AliRoot.git] / Flugg / WrapDN.cxx
CommitLineData
26911512 1
2// Flugg tag
3
4///////////////////////////////////////////////////////////////////
5//
6// WrapDN.hh - Sara Vanini - 17/XI/98
7//
8// Wrapper for setting DNEAR option on fluka side. Must return 0
9// if user doesn't want Fluka to use DNEAR to compute the
10// step (the same effect is obtained with the GLOBAL (WHAT(3)=-1)
11// card in fluka input), returns 1 if user wants Fluka always to
12// use DNEAR (in this case, be sure that GEANT4 DNEAR is unique,
13// coming from all directions!!!).
14//
15// modified 24.10.01: by I. Hrivnacova
16// functions declarations separated from implementation
17// (moved to Wrappers.hh);
18//
19///////////////////////////////////////////////////////////////////
20
21//#ifndef idnrwr
22//#define idnrwr idnrwr_
23
24#include "Wrappers.hh"
25#include "globals.hh"
26
27G4int idnrwr(const G4int & nreg, const G4int & mlat)
28
29{
30//flag
31#ifdef G4GEOMETRY_DEBUG
32 G4cout<<"================== IDNRWR ================="<<G4endl;
33#endif
34
35// returns 0 if user doesn't want Fluka to use DNEAR to compute the
36// step (the same effect is obtained with the GLOBAL (WHAT(3)=-1)
37// card in fluka input), returns 1 if (be sure that GEANT4 DNEAR is unique,
38// coming from all directions!!!) user wants Fluka always to use DNEAR.
39
40return 0;
41}
42//#endif