Geant4-11
Functions
G4gsdet.cc File Reference
#include "globals.hh"
#include "G3toG4.hh"

Go to the source code of this file.

Functions

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

Function Documentation

◆ G4gsdet()

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

Definition at line 50 of file G4gsdet.cc.

52{
53 G4gsdetv(chset, chdet, idtyp, nwhi, nwdi);
54}
void G4gsdetv(G4String chset, G4String chdet, G4int idtyp, G4int nwhi, G4int nwdi)
Definition: G4gsdetv.cc:50

References G4gsdetv().

Referenced by PG4gsdet().

◆ PG4gsdet()

void PG4gsdet ( G4String tokens)

Definition at line 31 of file G4gsdet.cc.

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

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

Referenced by G3CLEval().