Geant4 9.6.0
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 45 of file G4gstpar.cc.

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

Referenced by PG4gstpar().

◆ PG4gstpar()

void PG4gstpar ( G4String tokens)

Definition at line 32 of file G4gstpar.cc.

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

Referenced by G3CLEval().