Import Geant4 0.1.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4gsdeth.cc,v 2.0 1998/07/02 16:16:43 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4gsdeth.cc,v 1.2 1999/05/07 04:16:20 lockman Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
#include "G3toG4.hh"
|
||||
#include "G3DetTable.hh"
|
||||
@@ -31,11 +31,11 @@ void PG4gsdeth(RWCString tokens[])
|
||||
G4gsdeth(chset,chdet,nh,chnamh,nbitsh,orig,fact);
|
||||
}
|
||||
|
||||
void G4gsdeth(G4String chset, G4String, G4int nh, G4String chnamh[],
|
||||
void G4gsdeth(G4String chset, G4String chdet, G4int nh, G4String chnamh[],
|
||||
G4int nbitsh[], G4double orig[], G4double fact[])
|
||||
{
|
||||
// Get pointer to sensitive detector chset
|
||||
G4VSensitiveDetector* sdet = G3Det.get(chset);
|
||||
G4VSensitiveDetector* sdet = G3Det.getSD(chset, chdet);
|
||||
// Add hits to sensitive detector
|
||||
for (G4int i=0; i<nh; i++) {
|
||||
// $$$ sdet->AddHit(chnamh[i],nbitsh[i],orig[i],fact[i]);
|
||||
|
||||
Reference in New Issue
Block a user