Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4gsdeth.cc File Reference
#include "G3toG4.hh"
#include "G3DetTable.hh"
Include dependency graph for G4gsdeth.cc:

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.

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 }

Here is the caller graph for this function:

void PG4gsdeth ( G4String tokens)

Definition at line 34 of file G4gsdeth.cc.

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
const XML_Char const XML_Char * data
Definition: expat.h:268
G3G4DLL_API G4String Spar[1000]
Definition: clparse.cc:68
G3G4DLL_API G4int Ipar[1000]
Definition: clparse.cc:66
#define PTgsdeth
Definition: G3toG4.hh:72
void G4gsdeth(G4String chset, G4String chdet, G4int nh, G4String *chnamh, G4int *nbitsh, G4double *orig, G4double *fact)
Definition: G4gsdeth.cc:52
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

Here is the caller graph for this function: