#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) |
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().
00053 { 00054 G4gsdetv(chset, chdet, idtyp, nwhi, nwdi); 00055 }
void PG4gsdet | ( | G4String * | tokens | ) |
Definition at line 32 of file G4gsdet.cc.
References G3fillParams(), G4gsdet(), Ipar, PTgsdet, and Spar.
Referenced by G3CLEval().
00033 { 00034 // fill the parameter containers 00035 G3fillParams(tokens,PTgsdet); 00036 00037 // interpret the parameters 00038 G4String chset = Spar[0]; 00039 G4String chdet = Spar[1]; 00040 G4int nv = Ipar[0]; 00041 G4String chnmsv[100]; 00042 for (G4int i=0; i<=nv; i++ ) chnmsv[i] = Spar[2+i].data(); 00043 G4int *nbits = &Ipar[1]; 00044 G4int idtyp = Ipar[1+nv]; 00045 G4int nwhi = Ipar[2+nv]; 00046 G4int nwdi = Ipar[3+nv]; 00047 00048 G4gsdet(chset,chdet,nv,chnmsv,nbits,idtyp,nwhi,nwdi); 00049 }