Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4gstpar.cc File Reference
#include "G3toG4.hh"
#include "G3VolTable.hh"

Go to the source code of this file.

Functions

void PG4gstpar (G4String *tokens)
 
void G4gstpar (G4int, G4String, G4double)
 

Function Documentation

◆ G4gstpar()

void G4gstpar ( G4int itmed,
G4String chpar,
G4double parval )

Definition at line 44 of file G4gstpar.cc.

45{
46 // set special tracking medium parameter. Apply to all logical
47 // volumes making use of the specified tracking medium.
48 G4cerr << "G4gstpar: not implemented." << G4endl;
49}
G4GLOB_DLL std::ostream G4cerr
#define G4endl
Definition G4ios.hh:67

Referenced by PG4gstpar().

◆ PG4gstpar()

void PG4gstpar ( G4String * tokens)

Definition at line 31 of file G4gstpar.cc.

32{
33 // fill the parameter containers
34 G3fillParams(tokens,PTgstpar);
35
36 // interpret the parameters
37 G4String chpar = Spar[0];
38 G4int itmed = Ipar[0];
39 G4double parval = Rpar[0];
40
41 G4gstpar(itmed,chpar,parval);
42}
G3G4DLL_API G4int Ipar[1000]
Definition clparse.cc:65
void G3fillParams(G4String *tokens, const char *ptypes)
Definition clparse.cc:216
G3G4DLL_API G4double Rpar[1000]
Definition clparse.cc:66
G3G4DLL_API G4String Spar[1000]
Definition clparse.cc:67
#define PTgstpar
Definition G3toG4.hh:65
double G4double
Definition G4Types.hh:83
int G4int
Definition G4Types.hh:85
void G4gstpar(G4int, G4String, G4double)
Definition G4gstpar.cc:44

Referenced by G3CLEval().