Problem 797

Summary: protonHighEnergy can not be changed
Product: Geant4 Reporter: aso
Component: processes/electromagnetic/lowenergyAssignee: Vladimir.Ivantchenko
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 7.1   
Hardware: All   
OS: All   

Description aso 2005-09-26 21:46:15 CEST
I am using G4hLowEnergyIonisation with a combination of G4hSRIM2000p.
I usually change energy reagion for G4hSRIM200p using
G4hLowEnergyIonisation::SetHighEnergyForProtonParametrisation() method.
However, it does not work after version 7.0.
 As a new feature after version 7.0, the G4hParamterisedLossModel gives a high
energy limit for each parameterisations, i.e SRIM2000 is 100MeV, and the
energy value is used as a upper limit of energy range.
This is always used in G4hLowEnergyIonisation::InitializeParameteriation() at
G4hLowEnergyIonisation::BuildPhysicsTable(). Therefore even if user change
the "protonHighEnergy", it is reset at InitalizeParameterisation().
Comment 1 Vladimir.Ivantchenko 2005-10-03 00:11:59 CEST
Yes, protonHighEnergy was defined by the model upper energy limit. It seems
not to be optimal. Now it is fixed and this value will be min(user defined
value, model upper limit)