Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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

◆ G4gsdet()

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

Definition at line 51 of file G4gsdet.cc.

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

Referenced by PG4gsdet().

◆ PG4gsdet()

void PG4gsdet ( G4String tokens)

Definition at line 32 of file G4gsdet.cc.

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}
#define PTgsdet
Definition: G3toG4.hh:69
G3G4DLL_API G4int Ipar[1000]
Definition: clparse.cc:66
void G3fillParams(G4String *tokens, const char *ptypes)
Definition: clparse.cc:219
G3G4DLL_API G4String Spar[1000]
Definition: clparse.cc:68
int G4int
Definition: G4Types.hh:66
void G4gsdet(G4String chset, G4String chdet, G4int, G4String *, G4int *, G4int idtyp, G4int nwhi, G4int nwdi)
Definition: G4gsdet.cc:51

Referenced by G3CLEval().