Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4IonYangFluctuationModel Class Reference

#include <G4IonYangFluctuationModel.hh>

+ Inheritance diagram for G4IonYangFluctuationModel:

Public Member Functions

 G4IonYangFluctuationModel (const G4String &name)
 
 ~G4IonYangFluctuationModel ()
 
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
 
- Public Member Functions inherited from G4VLowEnergyModel
 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
 

Detailed Description

Definition at line 56 of file G4IonYangFluctuationModel.hh.

Constructor & Destructor Documentation

◆ G4IonYangFluctuationModel()

G4IonYangFluctuationModel::G4IonYangFluctuationModel ( const G4String name)

Definition at line 67 of file G4IonYangFluctuationModel.cc.

◆ ~G4IonYangFluctuationModel()

G4IonYangFluctuationModel::~G4IonYangFluctuationModel ( )

Definition at line 73 of file G4IonYangFluctuationModel.cc.

74{;}

Member Function Documentation

◆ HighEnergyLimit() [1/2]

G4double G4IonYangFluctuationModel::HighEnergyLimit ( const G4ParticleDefinition aParticle) const
virtual

Implements G4VLowEnergyModel.

Definition at line 122 of file G4IonYangFluctuationModel.cc.

123{
124 return 1.0*TeV ;
125}

◆ HighEnergyLimit() [2/2]

G4double G4IonYangFluctuationModel::HighEnergyLimit ( const G4ParticleDefinition aParticle,
const G4Material material 
) const
virtual

Implements G4VLowEnergyModel.

Definition at line 106 of file G4IonYangFluctuationModel.cc.

108{
109 return 1.0*TeV ;
110}

◆ IsInCharge() [1/2]

G4bool G4IonYangFluctuationModel::IsInCharge ( const G4DynamicParticle particle,
const G4Material material 
) const
virtual

Implements G4VLowEnergyModel.

Definition at line 137 of file G4IonYangFluctuationModel.cc.

139{
140 return true ;
141}

◆ IsInCharge() [2/2]

G4bool G4IonYangFluctuationModel::IsInCharge ( const G4ParticleDefinition aParticle,
const G4Material material 
) const
virtual

Implements G4VLowEnergyModel.

Definition at line 145 of file G4IonYangFluctuationModel.cc.

147{
148 return true ;
149}

◆ LowEnergyLimit() [1/2]

G4double G4IonYangFluctuationModel::LowEnergyLimit ( const G4ParticleDefinition aParticle) const
virtual

Implements G4VLowEnergyModel.

Definition at line 129 of file G4IonYangFluctuationModel.cc.

131{
132 return 0.0 ;
133}

◆ LowEnergyLimit() [2/2]

G4double G4IonYangFluctuationModel::LowEnergyLimit ( const G4ParticleDefinition aParticle,
const G4Material material 
) const
virtual

Implements G4VLowEnergyModel.

Definition at line 114 of file G4IonYangFluctuationModel.cc.

116{
117 return 0.0 ;
118}

◆ TheValue() [1/2]

G4double G4IonYangFluctuationModel::TheValue ( const G4DynamicParticle particle,
const G4Material material 
)
virtual

Implements G4VLowEnergyModel.

Definition at line 78 of file G4IonYangFluctuationModel.cc.

80{
81 G4double energy = particle->GetKineticEnergy() ;
82 G4double mass = particle->GetMass() ;
83 G4double charge = (particle->GetCharge())/eplus ;
84
85 G4double q = YangFluctuationModel(material,energy,mass,charge) ;
86
87 return q ;
88}
double G4double
Definition: G4Types.hh:64
G4double GetMass() const
G4double GetCharge() const
G4double GetKineticEnergy() const

◆ TheValue() [2/2]

G4double G4IonYangFluctuationModel::TheValue ( const G4ParticleDefinition aParticle,
const G4Material material,
G4double  kineticEnergy 
)
virtual

Implements G4VLowEnergyModel.

Definition at line 92 of file G4IonYangFluctuationModel.cc.

95{
96 G4double mass = aParticle->GetPDGMass() ;
97 G4double charge = (aParticle->GetPDGCharge())/eplus ;
98
99 G4double q = YangFluctuationModel(material,kineticEnergy,mass,charge);
100
101 return q ;
102}
G4double GetPDGCharge() const

The documentation for this class was generated from the following files: