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().

00054 {
00055     // Get pointer to sensitive detector chset
00056     // G4VSensitiveDetector* sdet = G3Det.GetSD(chset, chdet);
00057     // Add hits to sensitive detector
00058     // for (G4int i=0; i<nh; i++) {
00059       // $$$        sdet->AddHit(chnamh[i],nbitsh[i],orig[i],fact[i]);
00060     // }
00061 }

void PG4gsdeth ( G4String tokens  ) 

Definition at line 34 of file G4gsdeth.cc.

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

Referenced by G3CLEval().

00035 {
00036     // fill the parameter containers
00037     G3fillParams(tokens,PTgsdeth);
00038 
00039     // interpret the parameters
00040     G4String chset = Spar[0];
00041     G4String chdet = Spar[1];
00042     G4int nh = Ipar[0];
00043     G4String chnamh[100];
00044     for (G4int i=0; i<=nh; i++ ) chnamh[i] = Spar[2+i].data();
00045     G4int *nbitsh = &Ipar[1];
00046     G4double *orig = Rpar;
00047     G4double *fact = &Rpar[nh];
00048 
00049     G4gsdeth(chset,chdet,nh,chnamh,nbitsh,orig,fact);
00050 }


Generated on Mon May 27 17:50:45 2013 for Geant4 by  doxygen 1.4.7