Import Geant4 0.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:09:25 +02:00
parent b97f8d0df7
commit aaa409b6ee
2922 changed files with 55107 additions and 81674 deletions
+10 -5
View File
@@ -5,9 +5,10 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4gsdvt2.cc,v 2.2 1998/07/13 16:50:35 urbi Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4gsdvt2.cc,v 1.3 1999/05/22 06:31:49 lockman Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#include "G4ios.hh"
#include "globals.hh"
#include "G4LogicalVolume.hh"
#include "G4VPhysicalVolume.hh"
@@ -36,8 +37,8 @@ void PG4gsdvt2(RWCString tokens[])
}
void G4gsdvt2(G4String vname, G4String vmoth, G4double Step, G4int iaxis,
G4double c0, G4int numed, G4int ndvmx)
{
G4double c0, G4int numed, G4int ndvmx){
/*
// get the physical volume pointer of the mother from the name
G4int npv=0;
G4VPhysicalVolume* mothPV;
@@ -74,7 +75,8 @@ void G4gsdvt2(G4String vname, G4String vmoth, G4double Step, G4int iaxis,
// check for negative parameters in volume definition
G4double *pars = NULL;
G4bool negpars = G3NegVolPars(pars,&npar,vname,vmoth,"GSDVN");
// G4bool negpars = G3NegVolPars(pars,&npar,vname,vmoth,"GSDVN");
G4bool negpars = false;
G4double width = rangehi - c0;
G4double offset = (rangehi + c0)/2.;
@@ -90,4 +92,7 @@ void G4gsdvt2(G4String vname, G4String vmoth, G4double Step, G4int iaxis,
G3Vol.PutPV1(&vname, pvol);
}
}
*/
G4cerr << "G4gsdvt2 currently not supported." << endl;
}