G4hNuclearStoppingModel Class Reference

#include <G4hNuclearStoppingModel.hh>

Inheritance diagram for G4hNuclearStoppingModel:

G4VLowEnergyModel

Public Member Functions

 G4hNuclearStoppingModel (const G4String &name)
 ~G4hNuclearStoppingModel ()
G4double TheValue (const G4DynamicParticle *particle, const G4Material *material)
G4double TheValue (const G4ParticleDefinition *aParticle, const G4Material *material, G4double kineticEnergy)
G4double HighEnergyLimit (const G4ParticleDefinition *, const G4Material *) const
G4double LowEnergyLimit (const G4ParticleDefinition *, const G4Material *) const
G4double HighEnergyLimit (const G4ParticleDefinition *) const
G4double LowEnergyLimit (const G4ParticleDefinition *) const
G4bool IsInCharge (const G4DynamicParticle *, const G4Material *) const
G4bool IsInCharge (const G4ParticleDefinition *, const G4Material *) const
void SetNuclearStoppingFluctuationsOn ()
void SetNuclearStoppingFluctuationsOff ()

Detailed Description

Definition at line 60 of file G4hNuclearStoppingModel.hh.


Constructor & Destructor Documentation

G4hNuclearStoppingModel::G4hNuclearStoppingModel ( const G4String name  ) 

Definition at line 70 of file G4hNuclearStoppingModel.cc.

00071   :G4VLowEnergyModel(name), modelName(name)
00072 {
00073   InitializeMe() ;
00074 }

G4hNuclearStoppingModel::~G4hNuclearStoppingModel (  ) 

Definition at line 116 of file G4hNuclearStoppingModel.cc.

00117 {
00118   delete nStopingPowerTable;
00119 }


Member Function Documentation

G4double G4hNuclearStoppingModel::HighEnergyLimit ( const G4ParticleDefinition  )  const [inline, virtual]

Implements G4VLowEnergyModel.

Definition at line 84 of file G4hNuclearStoppingModel.hh.

00085   {return highEnergyLimit;};

G4double G4hNuclearStoppingModel::HighEnergyLimit ( const G4ParticleDefinition ,
const G4Material  
) const [inline, virtual]

Implements G4VLowEnergyModel.

Definition at line 76 of file G4hNuclearStoppingModel.hh.

00078   {return highEnergyLimit;};

G4bool G4hNuclearStoppingModel::IsInCharge ( const G4ParticleDefinition ,
const G4Material  
) const [inline, virtual]

Implements G4VLowEnergyModel.

Definition at line 94 of file G4hNuclearStoppingModel.hh.

00096   {return true;};

G4bool G4hNuclearStoppingModel::IsInCharge ( const G4DynamicParticle ,
const G4Material  
) const [inline, virtual]

Implements G4VLowEnergyModel.

Definition at line 90 of file G4hNuclearStoppingModel.hh.

00092   {return true;};

G4double G4hNuclearStoppingModel::LowEnergyLimit ( const G4ParticleDefinition  )  const [inline, virtual]

Implements G4VLowEnergyModel.

Definition at line 87 of file G4hNuclearStoppingModel.hh.

00088   {return lowEnergyLimit;};

G4double G4hNuclearStoppingModel::LowEnergyLimit ( const G4ParticleDefinition ,
const G4Material  
) const [inline, virtual]

Implements G4VLowEnergyModel.

Definition at line 80 of file G4hNuclearStoppingModel.hh.

00082   {return lowEnergyLimit;};

void G4hNuclearStoppingModel::SetNuclearStoppingFluctuationsOff (  )  [inline]

Definition at line 101 of file G4hNuclearStoppingModel.hh.

References G4VhNuclearStoppingPower::SetNuclearStoppingFluctuationsOff().

00102   {nStopingPowerTable->SetNuclearStoppingFluctuationsOff();}; 

void G4hNuclearStoppingModel::SetNuclearStoppingFluctuationsOn (  )  [inline]

Definition at line 98 of file G4hNuclearStoppingModel.hh.

References G4VhNuclearStoppingPower::SetNuclearStoppingFluctuationsOn().

00099   {nStopingPowerTable->SetNuclearStoppingFluctuationsOn();}; 

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

Implements G4VLowEnergyModel.

Definition at line 139 of file G4hNuclearStoppingModel.cc.

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

00143 {
00144   // Projectile nucleus
00145   G4double z1 = std::abs((aParticle->GetPDGCharge())/eplus) ;
00146   G4double m1 = (aParticle->GetPDGMass())*factorPDG2AMU ;
00147 
00148   G4double nloss = StoppingPower(material, kineticEnergy, z1, m1)
00149                  * theZieglerFactor; 
00150 
00151   return nloss;
00152 }

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

Implements G4VLowEnergyModel.

Definition at line 123 of file G4hNuclearStoppingModel.cc.

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

00126 {
00127   // Projectile nucleus
00128   G4double energy = particle->GetKineticEnergy() ;
00129   G4double z1 = std::abs((particle->GetCharge())/eplus) ;
00130   G4double m1 = (particle->GetMass())*factorPDG2AMU ;
00131 
00132   G4double nloss = StoppingPower(material, energy, z1, m1) * theZieglerFactor; 
00133 
00134   return nloss;
00135 }


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