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

#include <G4hIonEffChargeSquare.hh>

+ Inheritance diagram for G4hIonEffChargeSquare:

Public Member Functions

 G4hIonEffChargeSquare (const G4String &name)
 
 ~G4hIonEffChargeSquare ()
 
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 61 of file G4hIonEffChargeSquare.hh.

Constructor & Destructor Documentation

◆ G4hIonEffChargeSquare()

G4hIonEffChargeSquare::G4hIonEffChargeSquare ( const G4String name)

Definition at line 66 of file G4hIonEffChargeSquare.cc.

67 : G4VLowEnergyModel(name),
68 theHeMassAMU(4.0026)
69{;}

◆ ~G4hIonEffChargeSquare()

G4hIonEffChargeSquare::~G4hIonEffChargeSquare ( )

Definition at line 73 of file G4hIonEffChargeSquare.cc.

74{;}

Member Function Documentation

◆ HighEnergyLimit() [1/2]

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

Implements G4VLowEnergyModel.

Definition at line 125 of file G4hIonEffChargeSquare.cc.

127{
128 return 1.0*TeV ;
129}

◆ HighEnergyLimit() [2/2]

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

Implements G4VLowEnergyModel.

Definition at line 107 of file G4hIonEffChargeSquare.cc.

110{
111 return 1.0*TeV ;
112}

◆ IsInCharge() [1/2]

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

Implements G4VLowEnergyModel.

Definition at line 141 of file G4hIonEffChargeSquare.cc.

143{
144 return true ;
145}

◆ IsInCharge() [2/2]

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

Implements G4VLowEnergyModel.

Definition at line 149 of file G4hIonEffChargeSquare.cc.

151{
152 return true ;
153}

◆ LowEnergyLimit() [1/2]

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

Implements G4VLowEnergyModel.

Definition at line 133 of file G4hIonEffChargeSquare.cc.

135{
136 return 0.0 ;
137}

◆ LowEnergyLimit() [2/2]

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

Implements G4VLowEnergyModel.

Definition at line 116 of file G4hIonEffChargeSquare.cc.

119{
120 return 0.0 ;
121}

◆ TheValue() [1/2]

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

Implements G4VLowEnergyModel.

Definition at line 78 of file G4hIonEffChargeSquare.cc.

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

◆ TheValue() [2/2]

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

Implements G4VLowEnergyModel.

Definition at line 92 of file G4hIonEffChargeSquare.cc.

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

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