Geant4  10.00.p03
G4SPSEneDistribution Class Reference

#include <G4SPSEneDistribution.hh>

+ Collaboration diagram for G4SPSEneDistribution:

Public Member Functions

 G4SPSEneDistribution ()
 
 ~G4SPSEneDistribution ()
 
void SetEnergyDisType (G4String)
 
G4String GetEnergyDisType ()
 
void SetEmin (G4double)
 
G4double GetEmin ()
 
G4double GetArbEmin ()
 
void SetEmax (G4double)
 
G4double GetEmax ()
 
G4double GetArbEmax ()
 
void SetMonoEnergy (G4double)
 
void SetAlpha (G4double)
 
void SetBiasAlpha (G4double)
 
void SetTemp (G4double)
 
void SetBeamSigmaInE (G4double)
 
void SetEzero (G4double)
 
void SetGradient (G4double)
 
void SetInterCept (G4double)
 
void UserEnergyHisto (G4ThreeVector)
 
void ArbEnergyHisto (G4ThreeVector)
 
void ArbEnergyHistoFile (G4String)
 
void EpnEnergyHisto (G4ThreeVector)
 
void InputEnergySpectra (G4bool)
 
void InputDifferentialSpectra (G4bool)
 
void ArbInterpolate (G4String)
 
G4String GetIntType ()
 
void Calculate ()
 
void SetBiasRndm (G4SPSRandomGenerator *a)
 
void ReSetHist (G4String)
 
void SetVerbosity (G4int a)
 
G4double GetWeight ()
 
G4double GetMonoEnergy ()
 
G4double GetSE ()
 
G4double Getalpha ()
 
G4double GetEzero ()
 
G4double GetTemp ()
 
G4double Getgrad ()
 
G4double Getcept ()
 
G4PhysicsOrderedFreeVector GetUserDefinedEnergyHisto ()
 
G4PhysicsOrderedFreeVector GetArbEnergyHisto ()
 
G4double GenerateOne (G4ParticleDefinition *)
 
G4double GetProbability (G4double)
 

Private Member Functions

void LinearInterpolation ()
 
void LogInterpolation ()
 
void ExpInterpolation ()
 
void SplineInterpolation ()
 
void CalculateCdgSpectrum ()
 
void CalculateBbodySpectrum ()
 
void GenerateMonoEnergetic ()
 
void GenerateLinearEnergies (G4bool)
 
void GeneratePowEnergies (G4bool)
 
void GenerateBiasPowEnergies ()
 
void GenerateExpEnergies (G4bool)
 
void GenerateGaussEnergies ()
 
void GenerateBremEnergies ()
 
void GenerateBbodyEnergies ()
 
void GenerateCdgEnergies ()
 
void GenUserHistEnergies ()
 
void GenEpnHistEnergies ()
 
void GenArbPointEnergies ()
 
void ConvertEPNToEnergy ()
 

Private Attributes

G4String EnergyDisType
 
G4double weight
 
G4double MonoEnergy
 
G4double SE
 
G4double Emin
 
G4double Emax
 
G4double alpha
 
G4double Ezero
 
G4double Temp
 
G4double biasalpha
 
G4double grad
 
G4double cept
 
G4double prob_norm
 
G4bool Biased
 
G4bool EnergySpec
 
G4bool DiffSpec
 
G4PhysicsOrderedFreeVector UDefEnergyH
 
G4PhysicsOrderedFreeVector IPDFEnergyH
 
G4bool IPDFEnergyExist
 
G4bool IPDFArbExist
 
G4bool Epnflag
 
G4PhysicsOrderedFreeVector ArbEnergyH
 
G4PhysicsOrderedFreeVector IPDFArbEnergyH
 
G4PhysicsOrderedFreeVector EpnEnergyH
 
G4double CDGhist [3]
 
G4double BBHist [10001]
 
G4double Bbody_x [10001]
 
G4String IntType
 
G4double Arb_grad [1024]
 
G4double Arb_cept [1024]
 
G4double Arb_alpha [1024]
 
G4double Arb_Const [1024]
 
G4double Arb_ezero [1024]
 
G4double ArbEmin
 
G4double ArbEmax
 
G4double particle_energy
 
G4ParticleDefinitionparticle_definition
 
G4SPSRandomGeneratoreneRndm
 
G4int verbosityLevel
 
G4PhysicsOrderedFreeVector ZeroPhysVector
 
G4DataInterpolationSplineInt [1024]
 
G4DataInterpolationSplinetemp
 

Detailed Description

Definition at line 146 of file G4SPSEneDistribution.hh.

Constructor & Destructor Documentation

G4SPSEneDistribution::G4SPSEneDistribution ( )
G4SPSEneDistribution::~G4SPSEneDistribution ( )

Definition at line 87 of file G4SPSEneDistribution.cc.

Member Function Documentation

void G4SPSEneDistribution::ArbEnergyHisto ( G4ThreeVector  input)

Definition at line 157 of file G4SPSEneDistribution.cc.

References ArbEnergyH, G4cout, G4endl, G4PhysicsOrderedFreeVector::InsertValues(), and verbosityLevel.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::ArbEnergyHistoFile ( G4String  filename)

Definition at line 168 of file G4SPSEneDistribution.cc.

References ArbEnergyH, FatalException, G4Exception(), and G4PhysicsOrderedFreeVector::InsertValues().

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::ArbInterpolate ( G4String  IType)

Definition at line 295 of file G4SPSEneDistribution.cc.

References ArbEmax, ArbEmin, ArbEnergyH, EnergyDisType, ExpInterpolation(), G4cout, G4endl, G4PhysicsOrderedFreeVector::GetMaxLowEdgeEnergy(), G4PhysicsOrderedFreeVector::GetMinLowEdgeEnergy(), IntType, LinearInterpolation(), LogInterpolation(), and SplineInterpolation().

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::Calculate ( )

Definition at line 193 of file G4SPSEneDistribution.cc.

References CalculateBbodySpectrum(), CalculateCdgSpectrum(), and EnergyDisType.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::CalculateBbodySpectrum ( )
private

Definition at line 245 of file G4SPSEneDistribution.cc.

References BBHist, Bbody_x, c2, Emax, Emin, and Temp.

Referenced by Calculate().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::CalculateCdgSpectrum ( )
private

Definition at line 200 of file G4SPSEneDistribution.cc.

References CDGhist, Emax, Emin, and keV.

Referenced by Calculate().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::ConvertEPNToEnergy ( )
private

Definition at line 1146 of file G4SPSEneDistribution.cc.

References Emax, Emin, EpnEnergyH, Epnflag, G4cout, G4endl, G4ParticleDefinition::GetBaryonNumber(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), particle_definition, and UDefEnergyH.

Referenced by GenEpnHistEnergies().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::EpnEnergyHisto ( G4ThreeVector  input)

Definition at line 180 of file G4SPSEneDistribution.cc.

References Emax, EpnEnergyH, Epnflag, G4cout, G4endl, G4PhysicsOrderedFreeVector::InsertValues(), and verbosityLevel.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::ExpInterpolation ( )
private

Definition at line 520 of file G4SPSEneDistribution.cc.

References Arb_Const, Arb_ezero, ArbEnergyH, DiffSpec, EnergySpec, G4cout, G4endl, G4PhysicsVector::GetLowEdgeEnergy(), G4ParticleDefinition::GetPDGMass(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), IPDFArbEnergyH, particle_definition, G4PhysicsVector::ScaleVector(), and verbosityLevel.

Referenced by ArbInterpolate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::GenArbPointEnergies ( )
private

Definition at line 1047 of file G4SPSEneDistribution.cc.

References alpha, Arb_alpha, Arb_cept, Arb_ezero, Arb_grad, cept, G4DataInterpolation::CubicSplineInterpolation(), Emax, Emin, eneRndm, Ezero, G4cout, G4endl, GenerateExpEnergies(), GenerateLinearEnergies(), GeneratePowEnergies(), G4SPSRandomGenerator::GenRandEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), grad, IntType, IPDFArbEnergyH, particle_energy, SplineInt, and verbosityLevel.

Referenced by GenerateOne().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::GenEpnHistEnergies ( )
private

Definition at line 1102 of file G4SPSEneDistribution.cc.

References ConvertEPNToEnergy(), eneRndm, Epnflag, G4cout, G4endl, G4SPSRandomGenerator::GenRandEnergy(), G4PhysicsOrderedFreeVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), IPDFEnergyExist, IPDFEnergyH, particle_energy, UDefEnergyH, and verbosityLevel.

Referenced by GenerateOne().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::GenerateBbodyEnergies ( )
private

Definition at line 897 of file G4SPSEneDistribution.cc.

References BBHist, Bbody_x, eneRndm, G4cout, G4endl, G4SPSRandomGenerator::GenRandEnergy(), particle_energy, and verbosityLevel.

Referenced by GenerateOne().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::GenerateBiasPowEnergies ( )
private

Definition at line 786 of file G4SPSEneDistribution.cc.

References biasalpha, Emax, Emin, eneRndm, G4cout, G4endl, G4SPSRandomGenerator::GenRandEnergy(), GetProbability(), CLHEP::normal(), particle_energy, verbosityLevel, and weight.

Referenced by GenerateOne().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::GenerateBremEnergies ( )
private

Definition at line 838 of file G4SPSEneDistribution.cc.

References Emax, Emin, eneRndm, G4cout, G4endl, G4SPSRandomGenerator::GenRandEnergy(), particle_energy, Temp, and verbosityLevel.

Referenced by GenerateOne().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::GenerateCdgEnergies ( )
private

Definition at line 934 of file G4SPSEneDistribution.cc.

References CDGhist, Emax, Emin, eneRndm, G4cout, G4endl, G4SPSRandomGenerator::GenRandEnergy(), keV, particle_energy, and verbosityLevel.

Referenced by GenerateOne().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::GenerateExpEnergies ( G4bool  bArb = false)
private

Definition at line 822 of file G4SPSEneDistribution.cc.

References Emax, Emin, eneRndm, Ezero, G4cout, G4endl, G4UniformRand, G4SPSRandomGenerator::GenRandEnergy(), particle_energy, and verbosityLevel.

Referenced by GenArbPointEnergies(), and GenerateOne().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::GenerateGaussEnergies ( )
private

Definition at line 709 of file G4SPSEneDistribution.cc.

References MonoEnergy, particle_energy, SE, and G4INCL::DeJongSpin::shoot().

Referenced by GenerateOne().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::GenerateLinearEnergies ( G4bool  bArb = false)
private

Definition at line 715 of file G4SPSEneDistribution.cc.

References cept, Emax, Emin, eneRndm, G4cout, G4endl, G4UniformRand, G4SPSRandomGenerator::GenRandEnergy(), grad, particle_energy, and verbosityLevel.

Referenced by GenArbPointEnergies(), and GenerateOne().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::GenerateMonoEnergetic ( )
private

Definition at line 704 of file G4SPSEneDistribution.cc.

References MonoEnergy, and particle_energy.

Referenced by GenerateOne().

+ Here is the caller graph for this function:

G4double G4SPSEneDistribution::GenerateOne ( G4ParticleDefinition a)

Definition at line 1217 of file G4SPSEneDistribution.cc.

References a, ArbEmax, ArbEmin, Biased, Emax, Emin, EnergyDisType, G4cout, G4endl, GenArbPointEnergies(), GenEpnHistEnergies(), GenerateBbodyEnergies(), GenerateBiasPowEnergies(), GenerateBremEnergies(), GenerateCdgEnergies(), GenerateExpEnergies(), GenerateGaussEnergies(), GenerateLinearEnergies(), GenerateMonoEnergetic(), GeneratePowEnergies(), GenUserHistEnergies(), particle_definition, and particle_energy.

Referenced by G4SingleParticleSource::GeneratePrimaryVertex().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::GeneratePowEnergies ( G4bool  bArb = false)
private

Definition at line 759 of file G4SPSEneDistribution.cc.

References alpha, Emax, Emin, eneRndm, G4cout, G4endl, G4UniformRand, G4SPSRandomGenerator::GenRandEnergy(), particle_energy, and verbosityLevel.

Referenced by GenArbPointEnergies(), and GenerateOne().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::GenUserHistEnergies ( )
private

Definition at line 978 of file G4SPSEneDistribution.cc.

References DiffSpec, G4PhysicsOrderedFreeVector::DumpValues(), EnergySpec, eneRndm, G4cout, G4endl, G4SPSRandomGenerator::GenRandEnergy(), G4PhysicsOrderedFreeVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4ParticleDefinition::GetPDGMass(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), IPDFEnergyExist, IPDFEnergyH, particle_definition, particle_energy, UDefEnergyH, and verbosityLevel.

Referenced by GenerateOne().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4SPSEneDistribution::Getalpha ( )
inline

Definition at line 220 of file G4SPSEneDistribution.hh.

References alpha.

G4double G4SPSEneDistribution::GetArbEmax ( )
inline

Definition at line 170 of file G4SPSEneDistribution.hh.

References ArbEmax.

G4double G4SPSEneDistribution::GetArbEmin ( )
inline

Definition at line 161 of file G4SPSEneDistribution.hh.

References ArbEmin.

G4PhysicsOrderedFreeVector G4SPSEneDistribution::GetArbEnergyHisto ( )
inline

Definition at line 245 of file G4SPSEneDistribution.hh.

References ArbEnergyH.

G4double G4SPSEneDistribution::Getcept ( )
inline

Definition at line 236 of file G4SPSEneDistribution.hh.

References cept.

G4double G4SPSEneDistribution::GetEmax ( )
inline

Definition at line 166 of file G4SPSEneDistribution.hh.

References Emax.

G4double G4SPSEneDistribution::GetEmin ( )
inline

Definition at line 157 of file G4SPSEneDistribution.hh.

References Emin.

G4String G4SPSEneDistribution::GetEnergyDisType ( )
inline

Definition at line 152 of file G4SPSEneDistribution.hh.

References EnergyDisType.

Referenced by UltraPrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

G4double G4SPSEneDistribution::GetEzero ( )
inline

Definition at line 224 of file G4SPSEneDistribution.hh.

References Ezero.

G4double G4SPSEneDistribution::Getgrad ( )
inline

Definition at line 232 of file G4SPSEneDistribution.hh.

References grad.

G4String G4SPSEneDistribution::GetIntType ( )
inline

Definition at line 190 of file G4SPSEneDistribution.hh.

References IntType.

G4double G4SPSEneDistribution::GetMonoEnergy ( )
inline

Definition at line 212 of file G4SPSEneDistribution.hh.

References MonoEnergy.

G4double G4SPSEneDistribution::GetProbability ( G4double  ene)

Definition at line 1256 of file G4SPSEneDistribution.cc.

References alpha, ArbEnergyH, cept, Emax, Emin, EnergyDisType, Ezero, G4cout, G4endl, grad, prob_norm, and G4PhysicsVector::Value().

Referenced by GenerateBiasPowEnergies().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4SPSEneDistribution::GetSE ( )
inline

Definition at line 216 of file G4SPSEneDistribution.hh.

References SE.

G4double G4SPSEneDistribution::GetTemp ( )
inline

Definition at line 228 of file G4SPSEneDistribution.hh.

References Temp.

G4PhysicsOrderedFreeVector G4SPSEneDistribution::GetUserDefinedEnergyHisto ( )
inline

Definition at line 241 of file G4SPSEneDistribution.hh.

References UDefEnergyH.

G4double G4SPSEneDistribution::GetWeight ( )
inline

Definition at line 208 of file G4SPSEneDistribution.hh.

References weight.

Referenced by G4SingleParticleSource::GeneratePrimaryVertex().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::InputDifferentialSpectra ( G4bool  value)

Definition at line 288 of file G4SPSEneDistribution.cc.

References DiffSpec, G4cout, G4endl, and verbosityLevel.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::InputEnergySpectra ( G4bool  value)

Definition at line 281 of file G4SPSEneDistribution.cc.

References EnergySpec, G4cout, G4endl, and verbosityLevel.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::LinearInterpolation ( )
private

Definition at line 313 of file G4SPSEneDistribution.cc.

References Arb_cept, Arb_grad, ArbEnergyH, DiffSpec, G4PhysicsOrderedFreeVector::DumpValues(), EnergySpec, G4cout, G4endl, G4PhysicsVector::GetLowEdgeEnergy(), G4ParticleDefinition::GetPDGMass(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), IPDFArbEnergyH, particle_definition, G4PhysicsVector::ScaleVector(), and verbosityLevel.

Referenced by ArbInterpolate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::LogInterpolation ( )
private

Definition at line 411 of file G4SPSEneDistribution.cc.

References Arb_alpha, Arb_Const, ArbEnergyH, DiffSpec, EnergySpec, G4cout, G4endl, G4PhysicsVector::GetLowEdgeEnergy(), G4ParticleDefinition::GetPDGMass(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), IPDFArbEnergyH, particle_definition, G4PhysicsVector::ScaleVector(), and verbosityLevel.

Referenced by ArbInterpolate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::ReSetHist ( G4String  atype)

Definition at line 1199 of file G4SPSEneDistribution.cc.

References ArbEnergyH, Emax, Emin, EpnEnergyH, G4cout, G4endl, IPDFArbEnergyH, IPDFArbExist, IPDFEnergyExist, IPDFEnergyH, UDefEnergyH, and ZeroPhysVector.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::SetAlpha ( G4double  alp)

Definition at line 120 of file G4SPSEneDistribution.cc.

References alpha.

Referenced by G4AdjointPrimaryGenerator::G4AdjointPrimaryGenerator(), and G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::SetBeamSigmaInE ( G4double  e)

Definition at line 117 of file G4SPSEneDistribution.cc.

References SE.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::SetBiasAlpha ( G4double  alp)

Definition at line 124 of file G4SPSEneDistribution.cc.

References biasalpha, and Biased.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::SetBiasRndm ( G4SPSRandomGenerator a)
inline

Definition at line 196 of file G4SPSEneDistribution.hh.

References a, and eneRndm.

Referenced by G4SingleParticleSource::G4SingleParticleSource().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::SetEmax ( G4double  ema)

Definition at line 109 of file G4SPSEneDistribution.cc.

References Emax.

Referenced by G4AdjointPrimaryGenerator::GenerateAdjointPrimaryVertex(), G4AdjointPrimaryGenerator::GenerateFwdPrimaryVertex(), and G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::SetEmin ( G4double  emi)

Definition at line 105 of file G4SPSEneDistribution.cc.

References Emin.

Referenced by G4AdjointPrimaryGenerator::GenerateAdjointPrimaryVertex(), G4AdjointPrimaryGenerator::GenerateFwdPrimaryVertex(), and G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::SetEnergyDisType ( G4String  DisType)

Definition at line 90 of file G4SPSEneDistribution.cc.

References ArbEnergyH, EnergyDisType, EpnEnergyH, IPDFArbEnergyH, IPDFArbExist, IPDFEnergyExist, IPDFEnergyH, UDefEnergyH, and ZeroPhysVector.

Referenced by G4AdjointPrimaryGenerator::G4AdjointPrimaryGenerator(), G4GeneralParticleSourceMessenger::SetNewValue(), and UltraPrimaryGeneratorAction::UltraPrimaryGeneratorAction().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::SetEzero ( G4double  eze)

Definition at line 133 of file G4SPSEneDistribution.cc.

References Ezero.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::SetGradient ( G4double  gr)

Definition at line 137 of file G4SPSEneDistribution.cc.

References grad.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::SetInterCept ( G4double  c)

Definition at line 141 of file G4SPSEneDistribution.cc.

References cept.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::SetMonoEnergy ( G4double  menergy)

Definition at line 113 of file G4SPSEneDistribution.cc.

References MonoEnergy.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue(), and UltraPrimaryGeneratorAction::UltraPrimaryGeneratorAction().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::SetTemp ( G4double  tem)

Definition at line 129 of file G4SPSEneDistribution.cc.

References Temp.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::SetVerbosity ( G4int  a)
inline

Definition at line 203 of file G4SPSEneDistribution.hh.

References a, and verbosityLevel.

Referenced by G4SingleParticleSource::SetVerbosity().

+ Here is the caller graph for this function:

void G4SPSEneDistribution::SplineInterpolation ( )
private

Definition at line 607 of file G4SPSEneDistribution.cc.

References ArbEnergyH, G4DataInterpolation::CubicSplineInterpolation(), DiffSpec, EnergySpec, FatalException, G4cout, G4endl, G4Exception(), G4PhysicsVector::GetLowEdgeEnergy(), G4ParticleDefinition::GetPDGMass(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), IPDFArbEnergyH, particle_definition, G4PhysicsVector::ScaleVector(), SplineInt, Splinetemp, and verbosityLevel.

Referenced by ArbInterpolate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSEneDistribution::UserEnergyHisto ( G4ThreeVector  input)

Definition at line 145 of file G4SPSEneDistribution.cc.

References Emax, G4cout, G4endl, G4PhysicsOrderedFreeVector::InsertValues(), UDefEnergyH, and verbosityLevel.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4SPSEneDistribution::alpha
private
G4double G4SPSEneDistribution::Arb_alpha[1024]
private

Definition at line 306 of file G4SPSEneDistribution.hh.

Referenced by GenArbPointEnergies(), and LogInterpolation().

G4double G4SPSEneDistribution::Arb_cept[1024]
private

Definition at line 305 of file G4SPSEneDistribution.hh.

Referenced by GenArbPointEnergies(), and LinearInterpolation().

G4double G4SPSEneDistribution::Arb_Const[1024]
private

Definition at line 306 of file G4SPSEneDistribution.hh.

Referenced by ExpInterpolation(), and LogInterpolation().

G4double G4SPSEneDistribution::Arb_ezero[1024]
private

Definition at line 307 of file G4SPSEneDistribution.hh.

Referenced by ExpInterpolation(), and GenArbPointEnergies().

G4double G4SPSEneDistribution::Arb_grad[1024]
private

Definition at line 305 of file G4SPSEneDistribution.hh.

Referenced by GenArbPointEnergies(), and LinearInterpolation().

G4double G4SPSEneDistribution::ArbEmax
private
G4double G4SPSEneDistribution::ArbEmin
private
G4double G4SPSEneDistribution::BBHist[10001]
private

Definition at line 303 of file G4SPSEneDistribution.hh.

Referenced by CalculateBbodySpectrum(), and GenerateBbodyEnergies().

G4double G4SPSEneDistribution::Bbody_x[10001]
private

Definition at line 303 of file G4SPSEneDistribution.hh.

Referenced by CalculateBbodySpectrum(), and GenerateBbodyEnergies().

G4double G4SPSEneDistribution::biasalpha
private
G4bool G4SPSEneDistribution::Biased
private

Definition at line 291 of file G4SPSEneDistribution.hh.

Referenced by G4SPSEneDistribution(), GenerateOne(), and SetBiasAlpha().

G4double G4SPSEneDistribution::CDGhist[3]
private

Definition at line 302 of file G4SPSEneDistribution.hh.

Referenced by CalculateCdgSpectrum(), and GenerateCdgEnergies().

G4double G4SPSEneDistribution::cept
private
G4String G4SPSEneDistribution::EnergyDisType
private
G4PhysicsOrderedFreeVector G4SPSEneDistribution::EpnEnergyH
private
G4bool G4SPSEneDistribution::Epnflag
private

Definition at line 298 of file G4SPSEneDistribution.hh.

Referenced by ConvertEPNToEnergy(), EpnEnergyHisto(), and GenEpnHistEnergies().

G4double G4SPSEneDistribution::Ezero
private
G4double G4SPSEneDistribution::grad
private
G4String G4SPSEneDistribution::IntType
private
G4bool G4SPSEneDistribution::IPDFArbExist
private

Definition at line 298 of file G4SPSEneDistribution.hh.

Referenced by G4SPSEneDistribution(), ReSetHist(), and SetEnergyDisType().

G4bool G4SPSEneDistribution::IPDFEnergyExist
private
G4PhysicsOrderedFreeVector G4SPSEneDistribution::IPDFEnergyH
private
G4double G4SPSEneDistribution::MonoEnergy
private
G4double G4SPSEneDistribution::prob_norm
private

Definition at line 290 of file G4SPSEneDistribution.hh.

Referenced by G4SPSEneDistribution(), and GetProbability().

G4double G4SPSEneDistribution::SE
private
G4DataInterpolation* G4SPSEneDistribution::SplineInt[1024]
private

Definition at line 320 of file G4SPSEneDistribution.hh.

Referenced by GenArbPointEnergies(), and SplineInterpolation().

G4DataInterpolation* G4SPSEneDistribution::Splinetemp
private

Definition at line 321 of file G4SPSEneDistribution.hh.

Referenced by SplineInterpolation().

G4double G4SPSEneDistribution::Temp
private
G4double G4SPSEneDistribution::weight
private
G4PhysicsOrderedFreeVector G4SPSEneDistribution::ZeroPhysVector
private

Definition at line 318 of file G4SPSEneDistribution.hh.

Referenced by ReSetHist(), and SetEnergyDisType().


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