Import Geant4 11.1.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2022-07-01 10:44:02 +02:00
parent b3bf75a2a1
commit c07cea1fe0
2172 changed files with 183300 additions and 123938 deletions
@@ -147,7 +147,7 @@ G4bool HadrontherapyDetectorSD::ProcessHits(G4Step* aStep, G4TouchableHistory* )
G4double eKinMean = (eKinPre + eKinPost) * 0.5;
// get the material
G4Material * materialStep = aStep -> GetPreStepPoint() -> GetMaterial();
const G4Material * materialStep = aStep -> GetPreStepPoint() -> GetMaterial();
// get the secondary paticles
G4Step fstep = *theTrack -> GetStep();
@@ -115,7 +115,7 @@ void HadrontherapyLet::Clear()
void HadrontherapyLet::FillEnergySpectrum(G4int trackID,
G4ParticleDefinition* particleDef,
G4double ekinMean,
G4Material* mat,
const G4Material* mat,
G4double DE,
G4double DEEletrons,
G4double DX,