Import Geant4 11.1.0.beta source tree
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user