Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
G4gsdet.cc File Reference
#include "globals.hh"
#include "G3toG4.hh"

Go to the source code of this file.

Functions

void PG4gsdet (G4String *tokens)
 
void G4gsdet (G4String chset, G4String chdet, G4int, G4String *, G4int *, G4int idtyp, G4int nwhi, G4int nwdi)
 

Function Documentation

void G4gsdet ( G4String  chset,
G4String  chdet,
G4int  ,
G4String ,
G4int ,
G4int  idtyp,
G4int  nwhi,
G4int  nwdi 
)

Definition at line 51 of file G4gsdet.cc.

References G4gsdetv().

Referenced by PG4gsdet().

53 {
54  G4gsdetv(chset, chdet, idtyp, nwhi, nwdi);
55 }
void G4gsdetv(G4String chset, G4String chdet, G4int idtyp, G4int nwhi, G4int nwdi)
Definition: G4gsdetv.cc:51
void PG4gsdet ( G4String tokens)

Definition at line 32 of file G4gsdet.cc.

References G3fillParams(), G4gsdet(), Ipar, PTgsdet, and Spar.

Referenced by G3CLEval().

33 {
34  // fill the parameter containers
35  G3fillParams(tokens,PTgsdet);
36 
37  // interpret the parameters
38  G4String chset = Spar[0];
39  G4String chdet = Spar[1];
40  G4int nv = Ipar[0];
41  G4String chnmsv[100];
42  for (G4int i=0; i<=nv; i++ ) chnmsv[i] = Spar[2+i].data();
43  G4int *nbits = &Ipar[1];
44  G4int idtyp = Ipar[1+nv];
45  G4int nwhi = Ipar[2+nv];
46  G4int nwdi = Ipar[3+nv];
47 
48  G4gsdet(chset,chdet,nv,chnmsv,nbits,idtyp,nwhi,nwdi);
49 }
void G3fillParams(G4String *tokens, const char *ptypes)
Definition: clparse.cc:219
int G4int
Definition: G4Types.hh:78
G3G4DLL_API G4String Spar[1000]
Definition: clparse.cc:68
G3G4DLL_API G4int Ipar[1000]
Definition: clparse.cc:66
#define PTgsdet
Definition: G3toG4.hh:69
const XML_Char const XML_Char * data
void G4gsdet(G4String chset, G4String chdet, G4int, G4String *, G4int *, G4int idtyp, G4int nwhi, G4int nwdi)
Definition: G4gsdet.cc:51