Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4IonYangFluctuationModel Class Reference

#include <G4IonYangFluctuationModel.hh>

Inheritance diagram for G4IonYangFluctuationModel:
Collaboration 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 ()
 

Detailed Description

Definition at line 56 of file G4IonYangFluctuationModel.hh.

Constructor & Destructor Documentation

G4IonYangFluctuationModel::G4IonYangFluctuationModel ( const G4String name)

Definition at line 68 of file G4IonYangFluctuationModel.cc.

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

Definition at line 74 of file G4IonYangFluctuationModel.cc.

75 {;}

Member Function Documentation

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

Implements G4VLowEnergyModel.

Definition at line 107 of file G4IonYangFluctuationModel.cc.

109 {
110  return 1.0*TeV ;
111 }
static constexpr double TeV
Definition: G4SIunits.hh:218
G4double G4IonYangFluctuationModel::HighEnergyLimit ( const G4ParticleDefinition aParticle) const
virtual

Implements G4VLowEnergyModel.

Definition at line 123 of file G4IonYangFluctuationModel.cc.

124 {
125  return 1.0*TeV ;
126 }
static constexpr double TeV
Definition: G4SIunits.hh:218
G4bool G4IonYangFluctuationModel::IsInCharge ( const G4DynamicParticle particle,
const G4Material material 
) const
virtual

Implements G4VLowEnergyModel.

Definition at line 138 of file G4IonYangFluctuationModel.cc.

140 {
141  return true ;
142 }
G4bool G4IonYangFluctuationModel::IsInCharge ( const G4ParticleDefinition aParticle,
const G4Material material 
) const
virtual

Implements G4VLowEnergyModel.

Definition at line 146 of file G4IonYangFluctuationModel.cc.

148 {
149  return true ;
150 }
G4double G4IonYangFluctuationModel::LowEnergyLimit ( const G4ParticleDefinition aParticle,
const G4Material material 
) const
virtual

Implements G4VLowEnergyModel.

Definition at line 115 of file G4IonYangFluctuationModel.cc.

117 {
118  return 0.0 ;
119 }
G4double G4IonYangFluctuationModel::LowEnergyLimit ( const G4ParticleDefinition aParticle) const
virtual

Implements G4VLowEnergyModel.

Definition at line 130 of file G4IonYangFluctuationModel.cc.

132 {
133  return 0.0 ;
134 }
G4double G4IonYangFluctuationModel::TheValue ( const G4DynamicParticle particle,
const G4Material material 
)
virtual

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 }
G4double GetKineticEnergy() const
G4double GetMass() const
G4double GetCharge() const
static constexpr double eplus
Definition: G4SIunits.hh:199
G4double energy(const ThreeVector &p, const G4double m)
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

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

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 }
static constexpr double eplus
Definition: G4SIunits.hh:199
G4double GetPDGMass() const
double G4double
Definition: G4Types.hh:76
G4double GetPDGCharge() const

Here is the call graph for this function:


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