Geant4 11.2.2
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) 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
 
- Public Member Functions inherited from G4VLowEnergyModel
 G4VLowEnergyModel (const G4String &name)
 
virtual ~G4VLowEnergyModel ()
 
G4VLowEnergyModeloperator= (const G4VLowEnergyModel &right)=delete
 
 G4VLowEnergyModel (const G4VLowEnergyModel &)=delete
 

Detailed Description

Definition at line 56 of file G4IonYangFluctuationModel.hh.

Constructor & Destructor Documentation

◆ G4IonYangFluctuationModel()

G4IonYangFluctuationModel::G4IonYangFluctuationModel ( const G4String & name)
explicit

Definition at line 68 of file G4IonYangFluctuationModel.cc.

69 : G4VLowEnergyModel(name)
70{;}
G4VLowEnergyModel(const G4String &name)

◆ ~G4IonYangFluctuationModel()

G4IonYangFluctuationModel::~G4IonYangFluctuationModel ( )

Definition at line 74 of file G4IonYangFluctuationModel.cc.

75{;}

Member Function Documentation

◆ HighEnergyLimit() [1/2]

G4double G4IonYangFluctuationModel::HighEnergyLimit ( const G4ParticleDefinition * aParticle) const
overridevirtual

Implements G4VLowEnergyModel.

Definition at line 123 of file G4IonYangFluctuationModel.cc.

124{
125 return 1.0*TeV ;
126}

◆ HighEnergyLimit() [2/2]

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

Implements G4VLowEnergyModel.

Definition at line 107 of file G4IonYangFluctuationModel.cc.

109{
110 return 1.0*TeV ;
111}

◆ IsInCharge() [1/2]

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

Implements G4VLowEnergyModel.

Definition at line 138 of file G4IonYangFluctuationModel.cc.

140{
141 return true ;
142}

◆ IsInCharge() [2/2]

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

Implements G4VLowEnergyModel.

Definition at line 146 of file G4IonYangFluctuationModel.cc.

148{
149 return true ;
150}

◆ LowEnergyLimit() [1/2]

G4double G4IonYangFluctuationModel::LowEnergyLimit ( const G4ParticleDefinition * aParticle) const
overridevirtual

Implements G4VLowEnergyModel.

Definition at line 130 of file G4IonYangFluctuationModel.cc.

132{
133 return 0.0 ;
134}

◆ LowEnergyLimit() [2/2]

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

Implements G4VLowEnergyModel.

Definition at line 115 of file G4IonYangFluctuationModel.cc.

117{
118 return 0.0 ;
119}

◆ TheValue() [1/2]

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

Implements G4VLowEnergyModel.

Definition at line 79 of file G4IonYangFluctuationModel.cc.

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

◆ TheValue() [2/2]

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

Implements G4VLowEnergyModel.

Definition at line 93 of file G4IonYangFluctuationModel.cc.

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

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