Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4gsdeta.cc File Reference
#include "G3toG4.hh"
#include "G3DetTable.hh"

Go to the source code of this file.

Functions

void G4gsdeta (G4String chset, G4String chdet, G4String, G4int nwhi, G4int nwdi)
 
void PG4gsdeta (G4String *tokens)
 

Function Documentation

◆ G4gsdeta()

void G4gsdeta ( G4String  chset,
G4String  chdet,
G4String  chali,
G4int  nwhi,
G4int  nwdi 
)

Definition at line 53 of file G4gsdeta.cc.

55{
56 G4int idtyp = G3Det.GetID(chset, chdet);
57 // just associate another sensitive detector structure with
58 // the volume chdet
59 G4gsdetv(chset, chdet, idtyp, nwhi, nwdi);
60}
G3G4DLL_API G3DetTable G3Det
Definition: clparse.cc:59
void G4gsdetv(G4String chset, G4String chdet, G4int idtyp, G4int nwhi, G4int nwdi)
Definition: G4gsdetv.cc:51
int G4int
Definition: G4Types.hh:66
G4int GetID(G4String &set, G4String &det)
Definition: G3DetTable.cc:70

Referenced by PG4gsdeta().

◆ PG4gsdeta()

void PG4gsdeta ( G4String tokens)

Definition at line 38 of file G4gsdeta.cc.

39{
40 // fill the parameter containers
41 G3fillParams(tokens,PTgsdeta);
42
43 // interpret the parameters
44 G4String chset = Spar[0];
45 G4String chdet = Spar[1];
46 G4String chali = Spar[2];
47 G4int nwhi = Ipar[0];
48 G4int nwdi = Ipar[1];
49
50 G4gsdeta(chset,chdet,chali,nwhi,nwdi);
51}
G3G4DLL_API G4int Ipar[1000]
Definition: clparse.cc:66
void G3fillParams(G4String *tokens, const char *ptypes)
Definition: clparse.cc:219
G3G4DLL_API G4String Spar[1000]
Definition: clparse.cc:68
#define PTgsdeta
Definition: G3toG4.hh:71
void G4gsdeta(G4String chset, G4String chdet, G4String, G4int nwhi, G4int nwdi)
Definition: G4gsdeta.cc:53

Referenced by G3CLEval().