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

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

Definition at line 53 of file G4gsdeta.cc.

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

Referenced by PG4gsdeta().

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 }
void G4gsdetv(G4String chset, G4String chdet, G4int idtyp, G4int nwhi, G4int nwdi)
Definition: G4gsdetv.cc:51
G3G4DLL_API G3DetTable G3Det
Definition: clparse.cc:59
G4int GetID(G4String &set, G4String &det)
Definition: G3DetTable.cc:70
int G4int
Definition: G4Types.hh:78
void PG4gsdeta ( G4String tokens)

Definition at line 38 of file G4gsdeta.cc.

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

Referenced by G3CLEval().

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 }
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
void G4gsdeta(G4String chset, G4String chdet, G4String, G4int nwhi, G4int nwdi)
Definition: G4gsdeta.cc:53
G3G4DLL_API G4int Ipar[1000]
Definition: clparse.cc:66
#define PTgsdeta
Definition: G3toG4.hh:71