G4IonYangFluctuationModel Class Reference

#include <G4IonYangFluctuationModel.hh>

Inheritance diagram for G4IonYangFluctuationModel:

G4VLowEnergyModel

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

Detailed Description

Definition at line 56 of file G4IonYangFluctuationModel.hh.


Constructor & Destructor Documentation

G4IonYangFluctuationModel::G4IonYangFluctuationModel ( const G4String name  ) 

Definition at line 67 of file G4IonYangFluctuationModel.cc.

00068   : G4VLowEnergyModel(name)
00069 {;}

G4IonYangFluctuationModel::~G4IonYangFluctuationModel (  ) 

Definition at line 73 of file G4IonYangFluctuationModel.cc.

00074 {;}


Member Function Documentation

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

Implements G4VLowEnergyModel.

Definition at line 122 of file G4IonYangFluctuationModel.cc.

00123 {
00124   return 1.0*TeV ;
00125 }

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

Implements G4VLowEnergyModel.

Definition at line 106 of file G4IonYangFluctuationModel.cc.

00108 {
00109   return 1.0*TeV ;
00110 }

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

Implements G4VLowEnergyModel.

Definition at line 145 of file G4IonYangFluctuationModel.cc.

00147 {
00148   return true ;
00149 }

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

Implements G4VLowEnergyModel.

Definition at line 137 of file G4IonYangFluctuationModel.cc.

00139 {
00140   return true ;
00141 }

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

Implements G4VLowEnergyModel.

Definition at line 129 of file G4IonYangFluctuationModel.cc.

00131 {
00132   return 0.0 ;
00133 }

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

Implements G4VLowEnergyModel.

Definition at line 114 of file G4IonYangFluctuationModel.cc.

00116 {
00117   return 0.0 ;
00118 }

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

Implements G4VLowEnergyModel.

Definition at line 92 of file G4IonYangFluctuationModel.cc.

References G4ParticleDefinition::GetPDGCharge(), and G4ParticleDefinition::GetPDGMass().

00095 {
00096   G4double mass = aParticle->GetPDGMass() ;
00097   G4double charge = (aParticle->GetPDGCharge())/eplus ;
00098 
00099   G4double q = YangFluctuationModel(material,kineticEnergy,mass,charge);
00100 
00101   return q ;
00102 }

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

Implements G4VLowEnergyModel.

Definition at line 78 of file G4IonYangFluctuationModel.cc.

References G4DynamicParticle::GetCharge(), G4DynamicParticle::GetKineticEnergy(), and G4DynamicParticle::GetMass().

00080 {
00081   G4double energy = particle->GetKineticEnergy() ;
00082   G4double mass = particle->GetMass() ;
00083   G4double charge = (particle->GetCharge())/eplus ;
00084 
00085   G4double q = YangFluctuationModel(material,energy,mass,charge) ;
00086 
00087   return q ;
00088 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:18 2013 for Geant4 by  doxygen 1.4.7