Geant4-11
Functions
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 52 of file G4gsdeta.cc.

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

References G3Det, G4gsdetv(), and G3DetTable::GetID().

Referenced by PG4gsdeta().

◆ PG4gsdeta()

void PG4gsdeta ( G4String tokens)

Definition at line 37 of file G4gsdeta.cc.

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

References G3fillParams(), G4gsdeta(), Ipar, PTgsdeta, and Spar.

Referenced by G3CLEval().