G4gspart.cc File Reference

#include "G4ProcessManager.hh"
#include "G3toG4.hh"
#include "G3PartTable.hh"

Go to the source code of this file.

Functions

void PG4gspart (G4String *tokens)
void G4gspart (G4int, G4String, G4int, G4double, G4double, G4double, G4double *, G4int)


Function Documentation

void G4gspart ( G4int  ,
G4String  ,
G4int  ,
G4double  ,
G4double  ,
G4double  ,
G4double ,
G4int   
)

Definition at line 51 of file G4gspart.cc.

Referenced by PG4gspart().

00053 {
00054 }

void PG4gspart ( G4String tokens  ) 

Definition at line 33 of file G4gspart.cc.

References G3fillParams(), G4gspart(), Ipar, PTgspart, Rpar, and Spar.

Referenced by G3CLEval().

00034 {
00035     // fill the parameter containers
00036     G3fillParams(tokens,PTgspart);
00037 
00038     // interpret the parameters
00039     G4String chnpar = Spar[0];
00040     G4int ipart = Ipar[0];
00041     G4int itrtyp = Ipar[1];
00042     G4int nwb = Ipar[2];
00043     G4double amass = Rpar[0];
00044     G4double charge = Rpar[1];
00045     G4double tlife = Rpar[2];
00046     G4double *ubuf = &Rpar[3];
00047 
00048     G4gspart(ipart,chnpar,itrtyp,amass,charge,tlife,ubuf,nwb);
00049 }


Generated on Mon May 27 17:50:46 2013 for Geant4 by  doxygen 1.4.7