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

Go to the source code of this file.

Functions

void PG4gsdetd (G4String *tokens)
 
void G4gsdetd (G4String, G4String, G4int, G4String *, G4int *)
 

Function Documentation

void G4gsdetd ( G4String  ,
G4String  ,
G4int  ,
G4String ,
G4int  
)

Definition at line 50 of file G4gsdetd.cc.

51 {
52  // Get pointer to detector chset
53  // G4VSensitiveDetector* sdet = G3Det.GetSD(chset, chdet);
54  // Add hits to sensitive detector
55  // for (G4int i=0; i<nd; i++) {
56  // $$$ sdet->AddDigi(chnmsd[i],nbitsd[i]);
57  // }
58 }

Here is the caller graph for this function:

void PG4gsdetd ( G4String tokens)

Definition at line 34 of file G4gsdetd.cc.

35 {
36  // fill the parameter containers
37  G3fillParams(tokens,PTgsdetd);
38 
39  // interpret the parameters
40  G4String chset = Spar[0];
41  G4String chdet = Spar[1];
42  G4int nd = Ipar[0];
43  G4String chnmsd[100];
44  for (G4int i=0; i<=nd; i++ ) chnmsd[i] = Spar[2+i].data();
45  G4int *nbitsd = &Ipar[1];
46 
47  G4gsdetd(chset,chdet,nd,chnmsd,nbitsd);
48 }
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 PTgsdetd
Definition: G3toG4.hh:73
void G4gsdetd(G4String chset, G4String chdet, G4int nd, G4String *chnmsd, G4int *nbitsd)
Definition: G4gsdetd.cc:50

Here is the call graph for this function:

Here is the caller graph for this function: