Import Geant4 10.4.0 source tree
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4MuIonisation.cc 97392 2016-06-02 10:10:32Z gcosmo $
|
||||
// $Id: G4MuIonisation.cc 107056 2017-11-01 14:52:32Z gcosmo $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -149,29 +149,29 @@ void G4MuIonisation::InitialiseEnergyLossProcess(const G4ParticleDefinition* par
|
||||
G4double ehigh = std::min(1*GeV, emax);
|
||||
|
||||
// Bragg peak model
|
||||
if (!EmModel(1)) {
|
||||
if(q > 0.0) { SetEmModel(new G4BraggModel(),1); }
|
||||
else { SetEmModel(new G4ICRU73QOModel(),1); }
|
||||
if (!EmModel(0)) {
|
||||
if(q > 0.0) { SetEmModel(new G4BraggModel()); }
|
||||
else { SetEmModel(new G4ICRU73QOModel()); }
|
||||
}
|
||||
EmModel(1)->SetLowEnergyLimit(param->MinKinEnergy());
|
||||
EmModel(1)->SetHighEnergyLimit(elow);
|
||||
AddEmModel(1, EmModel(1), new G4IonFluctuations());
|
||||
EmModel(0)->SetLowEnergyLimit(param->MinKinEnergy());
|
||||
EmModel(0)->SetHighEnergyLimit(elow);
|
||||
AddEmModel(1, EmModel(0), new G4IonFluctuations());
|
||||
|
||||
// high energy fluctuation model
|
||||
if (!FluctModel()) { SetFluctModel(new G4UniversalFluctuation()); }
|
||||
|
||||
// moderate energy model
|
||||
if (!EmModel(2)) { SetEmModel(new G4BetheBlochModel(),2); }
|
||||
EmModel(2)->SetLowEnergyLimit(elow);
|
||||
EmModel(2)->SetHighEnergyLimit(ehigh);
|
||||
AddEmModel(2, EmModel(2), FluctModel());
|
||||
if (!EmModel(1)) { SetEmModel(new G4BetheBlochModel()); }
|
||||
EmModel(1)->SetLowEnergyLimit(elow);
|
||||
EmModel(1)->SetHighEnergyLimit(ehigh);
|
||||
AddEmModel(2, EmModel(1), FluctModel());
|
||||
|
||||
// high energy model
|
||||
if(ehigh < emax) {
|
||||
if (!EmModel(3)) { SetEmModel(new G4MuBetheBlochModel(),3); }
|
||||
EmModel(3)->SetLowEnergyLimit(ehigh);
|
||||
EmModel(3)->SetHighEnergyLimit(emax);
|
||||
AddEmModel(3, EmModel(3), FluctModel());
|
||||
if (!EmModel(2)) { SetEmModel(new G4MuBetheBlochModel()); }
|
||||
EmModel(2)->SetLowEnergyLimit(ehigh);
|
||||
EmModel(2)->SetHighEnergyLimit(emax);
|
||||
AddEmModel(3, EmModel(2), FluctModel());
|
||||
}
|
||||
ratio = electron_mass_c2/mass;
|
||||
isInitialised = true;
|
||||
@@ -185,6 +185,10 @@ void G4MuIonisation::PrintInfo()
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
void G4MuIonisation::ProcessDescription(std::ostream& out) const
|
||||
{
|
||||
out << "<strong>Muon ionisation</strong>";
|
||||
G4VEnergyLossProcess::ProcessDescription(out);
|
||||
}
|
||||
|
||||
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
Reference in New Issue
Block a user