Geant4  10.02.p02
G4eBremsstrahlungSpectrum Class Reference

#include <G4eBremsstrahlungSpectrum.hh>

+ Inheritance diagram for G4eBremsstrahlungSpectrum:
+ Collaboration diagram for G4eBremsstrahlungSpectrum:

Public Member Functions

 G4eBremsstrahlungSpectrum (const G4DataVector &bins, const G4String &name)
 
 ~G4eBremsstrahlungSpectrum ()
 
G4double Probability (G4int Z, G4double tMin, G4double tMax, G4double kineticEnergy, G4int shell=0, const G4ParticleDefinition *pd=0) const
 
G4double AverageEnergy (G4int Z, G4double tMin, G4double tMax, G4double kineticEnergy, G4int shell=0, const G4ParticleDefinition *pd=0) const
 
G4double SampleEnergy (G4int Z, G4double tMin, G4double tMax, G4double kineticEnergy, G4int shell=0, const G4ParticleDefinition *pd=0) const
 
G4double MaxEnergyOfSecondaries (G4double kineticEnergy, G4int Z=0, const G4ParticleDefinition *pd=0) const
 
G4double Excitation (G4int Z, G4double kineticEnergy) const
 
void PrintData () const
 
- Public Member Functions inherited from G4VEnergySpectrum
 G4VEnergySpectrum ()
 
virtual ~G4VEnergySpectrum ()
 

Private Member Functions

G4double IntSpectrum (G4double xMin, G4double xMax, const G4DataVector &p) const
 
G4double AverageValue (G4double xMin, G4double xMax, const G4DataVector &p) const
 
G4double Function (G4double x, const G4DataVector &p) const
 
 G4eBremsstrahlungSpectrum (const G4eBremsstrahlungSpectrum &)
 
G4eBremsstrahlungSpectrumoperator= (const G4eBremsstrahlungSpectrum &right)
 

Private Attributes

G4BremsstrahlungParameterstheBRparam
 
G4double lowestE
 
size_t length
 
G4int verbose
 
const G4DataVector xp
 

Detailed Description

Definition at line 65 of file G4eBremsstrahlungSpectrum.hh.

Constructor & Destructor Documentation

G4eBremsstrahlungSpectrum::G4eBremsstrahlungSpectrum ( const G4DataVector bins,
const G4String name 
)

Definition at line 55 of file G4eBremsstrahlungSpectrum.cc.

References length, theBRparam, verbose, and xp.

G4eBremsstrahlungSpectrum::~G4eBremsstrahlungSpectrum ( )

Definition at line 67 of file G4eBremsstrahlungSpectrum.cc.

References theBRparam.

G4eBremsstrahlungSpectrum::G4eBremsstrahlungSpectrum ( const G4eBremsstrahlungSpectrum )
private

Member Function Documentation

G4double G4eBremsstrahlungSpectrum::AverageEnergy ( G4int  Z,
G4double  tMin,
G4double  tMax,
G4double  kineticEnergy,
G4int  shell = 0,
const G4ParticleDefinition pd = 0 
) const
virtual

Implements G4VEnergySpectrum.

Definition at line 120 of file G4eBremsstrahlungSpectrum.cc.

References AverageValue(), G4cout, G4endl, IntSpectrum(), length, lowestE, G4INCL::Math::max(), MeV, G4INCL::Math::min(), G4BremsstrahlungParameters::Parameter(), G4BremsstrahlungParameters::ParameterC(), theBRparam, G4InuclParticleNames::tm, verbose, x, and G4InuclParticleNames::z0.

+ Here is the call graph for this function:

G4double G4eBremsstrahlungSpectrum::AverageValue ( G4double  xMin,
G4double  xMax,
const G4DataVector p 
) const
private

Definition at line 247 of file G4eBremsstrahlungSpectrum.cc.

References length, G4INCL::Math::max(), G4INCL::Math::min(), and xp.

Referenced by AverageEnergy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4eBremsstrahlungSpectrum::Excitation ( G4int  Z,
G4double  kineticEnergy 
) const
virtual

Implements G4VEnergySpectrum.

Definition at line 302 of file G4eBremsstrahlungSpectrum.cc.

G4double G4eBremsstrahlungSpectrum::Function ( G4double  x,
const G4DataVector p 
) const
private

Definition at line 278 of file G4eBremsstrahlungSpectrum.cc.

References length, and xp.

Referenced by SampleEnergy().

+ Here is the caller graph for this function:

G4double G4eBremsstrahlungSpectrum::IntSpectrum ( G4double  xMin,
G4double  xMax,
const G4DataVector p 
) const
private

Definition at line 221 of file G4eBremsstrahlungSpectrum.cc.

References length, G4INCL::Math::max(), G4INCL::Math::min(), and xp.

Referenced by AverageEnergy(), and Probability().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4eBremsstrahlungSpectrum::MaxEnergyOfSecondaries ( G4double  kineticEnergy,
G4int  Z = 0,
const G4ParticleDefinition pd = 0 
) const
virtual

Implements G4VEnergySpectrum.

Definition at line 307 of file G4eBremsstrahlungSpectrum.cc.

G4eBremsstrahlungSpectrum& G4eBremsstrahlungSpectrum::operator= ( const G4eBremsstrahlungSpectrum right)
private
void G4eBremsstrahlungSpectrum::PrintData ( void  ) const
virtual

Implements G4VEnergySpectrum.

Definition at line 299 of file G4eBremsstrahlungSpectrum.cc.

References G4BremsstrahlungParameters::PrintData(), and theBRparam.

+ Here is the call graph for this function:

G4double G4eBremsstrahlungSpectrum::Probability ( G4int  Z,
G4double  tMin,
G4double  tMax,
G4double  kineticEnergy,
G4int  shell = 0,
const G4ParticleDefinition pd = 0 
) const
virtual

Implements G4VEnergySpectrum.

Definition at line 73 of file G4eBremsstrahlungSpectrum.cc.

References G4cout, G4endl, IntSpectrum(), length, lowestE, G4INCL::Math::max(), MeV, G4INCL::Math::min(), G4BremsstrahlungParameters::Parameter(), theBRparam, G4InuclParticleNames::tm, verbose, x, xp, and G4InuclParticleNames::z0.

+ Here is the call graph for this function:

G4double G4eBremsstrahlungSpectrum::SampleEnergy ( G4int  Z,
G4double  tMin,
G4double  tMax,
G4double  kineticEnergy,
G4int  shell = 0,
const G4ParticleDefinition pd = 0 
) const
virtual

Implements G4VEnergySpectrum.

Definition at line 174 of file G4eBremsstrahlungSpectrum.cc.

References Function(), G4cout, G4endl, G4Exp(), G4UniformRand, length, lowestE, G4INCL::Math::max(), G4INCL::Math::min(), G4BremsstrahlungParameters::Parameter(), theBRparam, G4InuclParticleNames::tm, x, and xp.

+ Here is the call graph for this function:

Member Data Documentation

size_t G4eBremsstrahlungSpectrum::length
private
G4double G4eBremsstrahlungSpectrum::lowestE
private

Definition at line 118 of file G4eBremsstrahlungSpectrum.hh.

Referenced by AverageEnergy(), Probability(), and SampleEnergy().

G4int G4eBremsstrahlungSpectrum::verbose
private
const G4DataVector G4eBremsstrahlungSpectrum::xp
private

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