#include <G4hParametrisedLossModel.hh>
|
| G4hParametrisedLossModel (const G4String &name) |
|
| ~G4hParametrisedLossModel () |
|
G4double | TheValue (const G4DynamicParticle *particle, const G4Material *material) override |
|
G4double | TheValue (const G4ParticleDefinition *aParticle, const G4Material *material, G4double kineticEnergy) override |
|
G4double | HighEnergyLimit (const G4ParticleDefinition *aParticle, const G4Material *material) const override |
|
G4double | LowEnergyLimit (const G4ParticleDefinition *aParticle, const G4Material *material) const override |
|
G4double | HighEnergyLimit (const G4ParticleDefinition *aParticle) const override |
|
G4double | LowEnergyLimit (const G4ParticleDefinition *aParticle) const override |
|
G4bool | IsInCharge (const G4DynamicParticle *particle, const G4Material *material) const override |
|
G4bool | IsInCharge (const G4ParticleDefinition *aParticle, const G4Material *material) const override |
|
G4String | ModelName () const |
|
| G4hParametrisedLossModel (G4hParametrisedLossModel &)=delete |
|
G4hParametrisedLossModel & | operator= (const G4hParametrisedLossModel &right)=delete |
|
| 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 |
|
G4VLowEnergyModel & | operator= (const G4VLowEnergyModel &right)=delete |
|
| G4VLowEnergyModel (const G4VLowEnergyModel &)=delete |
|
Definition at line 60 of file G4hParametrisedLossModel.hh.
◆ G4hParametrisedLossModel() [1/2]
G4hParametrisedLossModel::G4hParametrisedLossModel |
( |
const G4String & |
name | ) |
|
|
explicit |
◆ ~G4hParametrisedLossModel()
G4hParametrisedLossModel::~G4hParametrisedLossModel |
( |
| ) |
|
◆ G4hParametrisedLossModel() [2/2]
◆ HighEnergyLimit() [1/2]
◆ HighEnergyLimit() [2/2]
◆ IsInCharge() [1/2]
◆ IsInCharge() [2/2]
◆ LowEnergyLimit() [1/2]
◆ LowEnergyLimit() [2/2]
◆ ModelName()
G4String G4hParametrisedLossModel::ModelName |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ TheValue() [1/2]
Implements G4VLowEnergyModel.
Definition at line 134 of file G4hParametrisedLossModel.cc.
136{
138 * proton_mass_c2/(particle->
GetMass());
140 if (scaledEnergy < lowEnergyLimit) {
141 if (modelName != "QAO") factor *= std::sqrt(scaledEnergy/lowEnergyLimit);
142 scaledEnergy = lowEnergyLimit;
143 }
144 G4double eloss = StoppingPower(material,scaledEnergy) * factor;
145
146 return eloss;
147}
G4double GetKineticEnergy() const
◆ TheValue() [2/2]
Implements G4VLowEnergyModel.
Definition at line 151 of file G4hParametrisedLossModel.cc.
154{
155 G4double scaledEnergy = kineticEnergy
157
159 if (scaledEnergy < lowEnergyLimit) {
160 if (modelName != "QAO") factor *= std::sqrt(scaledEnergy/lowEnergyLimit);
161 scaledEnergy = lowEnergyLimit;
162 }
163 G4double eloss = StoppingPower(material,scaledEnergy) * factor;
164
165 return eloss;
166}
G4double GetPDGMass() const
The documentation for this class was generated from the following files: