Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
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().

53 {
54 }
void PG4gspart ( G4String tokens)

Definition at line 33 of file G4gspart.cc.

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

Referenced by G3CLEval().

34 {
35  // fill the parameter containers
36  G3fillParams(tokens,PTgspart);
37 
38  // interpret the parameters
39  G4String chnpar = Spar[0];
40  G4int ipart = Ipar[0];
41  G4int itrtyp = Ipar[1];
42  G4int nwb = Ipar[2];
43  G4double amass = Rpar[0];
44  G4double charge = Rpar[1];
45  G4double tlife = Rpar[2];
46  G4double *ubuf = &Rpar[3];
47 
48  G4gspart(ipart,chnpar,itrtyp,amass,charge,tlife,ubuf,nwb);
49 }
G3G4DLL_API G4double Rpar[1000]
Definition: clparse.cc:67
void G4gspart(G4int, G4String, G4int, G4double, G4double, G4double, G4double *, G4int)
Definition: G4gspart.cc:51
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 PTgspart
Definition: G3toG4.hh:67
double G4double
Definition: G4Types.hh:76