Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
G4gsdeth.cc File Reference
#include "G3toG4.hh"
#include "G3DetTable.hh"

Go to the source code of this file.

Functions

void PG4gsdeth (G4String *tokens)
 
void G4gsdeth (G4String, G4String, G4int, G4String *, G4int *, G4double *, G4double *)
 

Function Documentation

void G4gsdeth ( G4String  ,
G4String  ,
G4int  ,
G4String ,
G4int ,
G4double ,
G4double  
)

Definition at line 52 of file G4gsdeth.cc.

Referenced by PG4gsdeth().

54 {
55  // Get pointer to sensitive detector chset
56  // G4VSensitiveDetector* sdet = G3Det.GetSD(chset, chdet);
57  // Add hits to sensitive detector
58  // for (G4int i=0; i<nh; i++) {
59  // $$$ sdet->AddHit(chnamh[i],nbitsh[i],orig[i],fact[i]);
60  // }
61 }
void PG4gsdeth ( G4String tokens)

Definition at line 34 of file G4gsdeth.cc.

References G3fillParams(), G4gsdeth(), Ipar, PTgsdeth, Rpar, and Spar.

Referenced by G3CLEval().

35 {
36  // fill the parameter containers
37  G3fillParams(tokens,PTgsdeth);
38 
39  // interpret the parameters
40  G4String chset = Spar[0];
41  G4String chdet = Spar[1];
42  G4int nh = Ipar[0];
43  G4String chnamh[100];
44  for (G4int i=0; i<=nh; i++ ) chnamh[i] = Spar[2+i].data();
45  G4int *nbitsh = &Ipar[1];
46  G4double *orig = Rpar;
47  G4double *fact = &Rpar[nh];
48 
49  G4gsdeth(chset,chdet,nh,chnamh,nbitsh,orig,fact);
50 }
G3G4DLL_API G4double Rpar[1000]
Definition: clparse.cc:67
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
G3G4DLL_API G4int Ipar[1000]
Definition: clparse.cc:66
#define PTgsdeth
Definition: G3toG4.hh:72
double G4double
Definition: G4Types.hh:76
void G4gsdeth(G4String, G4String, G4int, G4String *, G4int *, G4double *, G4double *)
Definition: G4gsdeth.cc:52
const XML_Char const XML_Char * data