Import Geant4 5.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:28:22 +02:00
parent fbd4999cf7
commit 4aea781e80
5454 changed files with 223141 additions and 67347 deletions
@@ -42,19 +42,20 @@ G4IonisationByLogicalVolume( const G4String& particleName,
fVolumeForPAImodel = volumeForPAImodel ;
fMaterialNameForPAI = volumeForPAImodel->GetMaterial()->GetName() ;
fPAIonisation = new G4PAIonisation(fMaterialNameForPAI);
// fPAIonisation = new G4PAIonisation(fMaterialNameForPAI);
fPAIonisation = new G4PAIonisation(volumeForPAImodel);
if ( fParticleName == "e+" || fParticleName == "e-" )
{
feIonisation = new G4eIonisation() ;
feIonisation = new G4eIonisation(particleName) ;
}
else if ( fParticleName == "mu+" || fParticleName == "mu-" )
{
fMuIonisation = new G4MuIonisation() ;
fMuIonisation = new G4MuIonisation(particleName) ;
}
else
{
fhIonisation = new G4hIonisation() ;
fhIonisation = new G4hIonisation(particleName) ;
}
}