#include <G4hParametrisedLossModel.hh>
|
| G4hParametrisedLossModel (const G4String &name) |
|
| ~G4hParametrisedLossModel () |
|
G4double | TheValue (const G4DynamicParticle *particle, const G4Material *material) |
|
G4double | TheValue (const G4ParticleDefinition *aParticle, const G4Material *material, G4double kineticEnergy) |
|
G4double | HighEnergyLimit (const G4ParticleDefinition *aParticle, const G4Material *material) const |
|
G4double | LowEnergyLimit (const G4ParticleDefinition *aParticle, const G4Material *material) const |
|
G4double | HighEnergyLimit (const G4ParticleDefinition *aParticle) const |
|
G4double | LowEnergyLimit (const G4ParticleDefinition *aParticle) const |
|
G4bool | IsInCharge (const G4DynamicParticle *particle, const G4Material *material) const |
|
G4bool | IsInCharge (const G4ParticleDefinition *aParticle, const G4Material *material) const |
|
G4String | ModelName () const |
|
| G4VLowEnergyModel (const G4String &name) |
|
virtual | ~G4VLowEnergyModel () |
|
virtual G4double | TheValue (const G4DynamicParticle *particle, const G4Material *material)=0 |
|
virtual G4double | TheValue (const G4ParticleDefinition *aParticle, const G4Material *material, G4double kineticEnergy)=0 |
|
virtual G4double | HighEnergyLimit (const G4ParticleDefinition *aParticle, const G4Material *material) const =0 |
|
virtual G4double | LowEnergyLimit (const G4ParticleDefinition *aParticle, const G4Material *material) const =0 |
|
virtual G4double | HighEnergyLimit (const G4ParticleDefinition *aParticle) const =0 |
|
virtual G4double | LowEnergyLimit (const G4ParticleDefinition *aParticle) const =0 |
|
virtual G4bool | IsInCharge (const G4DynamicParticle *particle, const G4Material *material) const =0 |
|
virtual G4bool | IsInCharge (const G4ParticleDefinition *aParticle, const G4Material *material) const =0 |
|
Definition at line 60 of file G4hParametrisedLossModel.hh.
◆ G4hParametrisedLossModel()
G4hParametrisedLossModel::G4hParametrisedLossModel |
( |
const G4String & |
name | ) |
|
◆ ~G4hParametrisedLossModel()
G4hParametrisedLossModel::~G4hParametrisedLossModel |
( |
| ) |
|
◆ HighEnergyLimit() [1/2]
◆ HighEnergyLimit() [2/2]
◆ IsInCharge() [1/2]
◆ IsInCharge() [2/2]
◆ LowEnergyLimit() [1/2]
◆ LowEnergyLimit() [2/2]
◆ ModelName()
G4String G4hParametrisedLossModel::ModelName |
( |
| ) |
const |
|
inline |
◆ TheValue() [1/2]
Implements G4VLowEnergyModel.
Definition at line 160 of file G4hParametrisedLossModel.cc.
162{
164 * proton_mass_c2/(particle->
GetMass());
166 if (scaledEnergy < lowEnergyLimit) {
167 if (modelName != "QAO") factor *= std::sqrt(scaledEnergy/lowEnergyLimit);
168 scaledEnergy = lowEnergyLimit;
169 }
170 G4double eloss = StoppingPower(material,scaledEnergy) * factor;
171
172 return eloss;
173}
G4double GetKineticEnergy() const
◆ TheValue() [2/2]
Implements G4VLowEnergyModel.
Definition at line 177 of file G4hParametrisedLossModel.cc.
180{
181 G4double scaledEnergy = kineticEnergy
183
185 if (scaledEnergy < lowEnergyLimit) {
186 if (modelName != "QAO") factor *= std::sqrt(scaledEnergy/lowEnergyLimit);
187 scaledEnergy = lowEnergyLimit;
188 }
189 G4double eloss = StoppingPower(material,scaledEnergy) * factor;
190
191 return eloss;
192}
G4double GetPDGMass() const
The documentation for this class was generated from the following files: