Geant4
10.00.p01
|
#include <G4SPSRandomGenerator.hh>
Public Member Functions | |
G4SPSRandomGenerator () | |
~G4SPSRandomGenerator () | |
void | SetXBias (G4ThreeVector) |
void | SetYBias (G4ThreeVector) |
void | SetZBias (G4ThreeVector) |
void | SetThetaBias (G4ThreeVector) |
void | SetPhiBias (G4ThreeVector) |
void | SetEnergyBias (G4ThreeVector) |
void | SetPosThetaBias (G4ThreeVector) |
void | SetPosPhiBias (G4ThreeVector) |
G4double | GenRandX () |
G4double | GenRandY () |
G4double | GenRandZ () |
G4double | GenRandTheta () |
G4double | GenRandPhi () |
G4double | GenRandEnergy () |
G4double | GenRandPosTheta () |
G4double | GenRandPosPhi () |
void | SetIntensityWeight (G4double weight) |
G4double | GetBiasWeight () |
void | ReSetHist (G4String) |
void | SetVerbosity (G4int a) |
Definition at line 138 of file G4SPSRandomGenerator.hh.
G4SPSRandomGenerator::G4SPSRandomGenerator | ( | ) |
Definition at line 65 of file G4SPSRandomGenerator.cc.
References bweights, EnergyBias, IPDFEnergyBias, IPDFPhiBias, IPDFPosPhiBias, IPDFPosThetaBias, IPDFThetaBias, IPDFXBias, IPDFYBias, IPDFZBias, PhiBias, PosPhiBias, PosThetaBias, ThetaBias, verbosityLevel, XBias, YBias, and ZBias.
G4SPSRandomGenerator::~G4SPSRandomGenerator | ( | ) |
Definition at line 91 of file G4SPSRandomGenerator.cc.
G4double G4SPSRandomGenerator::GenRandEnergy | ( | ) |
Definition at line 488 of file G4SPSRandomGenerator.cc.
References bweights, EnergyBias, EnergyBiasH, G4cout, G4endl, G4UniformRand, G4PhysicsOrderedFreeVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), IPDFEnergyBias, IPDFEnergyBiasH, verbosityLevel, and ZeroPhysVector.
Referenced by G4SPSEneDistribution::GenArbPointEnergies(), G4SPSEneDistribution::GenEpnHistEnergies(), G4SPSEneDistribution::GenerateBbodyEnergies(), G4SPSEneDistribution::GenerateBiasPowEnergies(), G4SPSEneDistribution::GenerateBremEnergies(), G4SPSEneDistribution::GenerateCdgEnergies(), G4SPSEneDistribution::GenerateExpEnergies(), G4SPSEneDistribution::GenerateLinearEnergies(), G4SPSEneDistribution::GeneratePowEnergies(), and G4SPSEneDistribution::GenUserHistEnergies().
G4double G4SPSRandomGenerator::GenRandPhi | ( | ) |
Definition at line 433 of file G4SPSRandomGenerator.cc.
References bweights, G4cout, G4endl, G4UniformRand, G4PhysicsOrderedFreeVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), IPDFPhiBias, IPDFPhiBiasH, PhiBias, PhiBiasH, and verbosityLevel.
Referenced by G4SPSAngDistribution::GenerateCosineLawFlux(), G4SPSAngDistribution::GenerateIsotropicFlux(), and G4SPSAngDistribution::GenerateUserDefFlux().
G4double G4SPSRandomGenerator::GenRandPosPhi | ( | ) |
Definition at line 603 of file G4SPSRandomGenerator.cc.
References bweights, G4cout, G4endl, G4UniformRand, G4PhysicsOrderedFreeVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), IPDFPosPhiBias, IPDFPosPhiBiasH, PosPhiBias, PosPhiBiasH, and verbosityLevel.
Referenced by G4SPSPosDistribution::GeneratePointsOnSurface().
G4double G4SPSRandomGenerator::GenRandPosTheta | ( | ) |
Definition at line 544 of file G4SPSRandomGenerator.cc.
References bweights, G4cout, G4endl, G4UniformRand, G4PhysicsOrderedFreeVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), IPDFPosThetaBias, IPDFPosThetaBiasH, PosThetaBias, PosThetaBiasH, and verbosityLevel.
Referenced by G4SPSPosDistribution::GeneratePointsOnSurface().
G4double G4SPSRandomGenerator::GenRandTheta | ( | ) |
Definition at line 375 of file G4SPSRandomGenerator.cc.
References bweights, G4cout, G4endl, G4UniformRand, G4PhysicsOrderedFreeVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), IPDFThetaBias, IPDFThetaBiasH, ThetaBias, ThetaBiasH, and verbosityLevel.
Referenced by G4SPSAngDistribution::GenerateCosineLawFlux(), G4SPSAngDistribution::GenerateIsotropicFlux(), and G4SPSAngDistribution::GenerateUserDefFlux().
G4double G4SPSRandomGenerator::GenRandX | ( | ) |
Definition at line 204 of file G4SPSRandomGenerator.cc.
References bweights, G4cout, G4endl, G4UniformRand, G4PhysicsOrderedFreeVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), IPDFXBias, IPDFXBiasH, verbosityLevel, XBias, and XBiasH.
Referenced by G4SPSPosDistribution::GeneratePointsInBeam(), G4SPSPosDistribution::GeneratePointsInPlane(), G4SPSPosDistribution::GeneratePointsInVolume(), and G4SPSPosDistribution::GeneratePointsOnSurface().
G4double G4SPSRandomGenerator::GenRandY | ( | ) |
Definition at line 266 of file G4SPSRandomGenerator.cc.
References bweights, G4cout, G4endl, G4UniformRand, G4PhysicsOrderedFreeVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), IPDFYBias, IPDFYBiasH, verbosityLevel, YBias, and YBiasH.
Referenced by G4SPSPosDistribution::GeneratePointsInBeam(), G4SPSPosDistribution::GeneratePointsInPlane(), G4SPSPosDistribution::GeneratePointsInVolume(), and G4SPSPosDistribution::GeneratePointsOnSurface().
G4double G4SPSRandomGenerator::GenRandZ | ( | ) |
Definition at line 320 of file G4SPSRandomGenerator.cc.
References bweights, G4cout, G4endl, G4UniformRand, G4PhysicsOrderedFreeVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsOrderedFreeVector::InsertValues(), IPDFZBias, IPDFZBiasH, verbosityLevel, ZBias, and ZBiasH.
Referenced by G4SPSPosDistribution::GeneratePointsInVolume(), and G4SPSPosDistribution::GeneratePointsOnSurface().
|
inline |
Definition at line 168 of file G4SPSRandomGenerator.hh.
References bweights.
Referenced by G4SingleParticleSource::GeneratePrimaryVertex().
void G4SPSRandomGenerator::ReSetHist | ( | G4String | atype | ) |
Definition at line 166 of file G4SPSRandomGenerator.cc.
References EnergyBias, EnergyBiasH, G4cout, G4endl, IPDFEnergyBias, IPDFEnergyBiasH, IPDFPhiBias, IPDFPhiBiasH, IPDFPosPhiBias, IPDFPosPhiBiasH, IPDFPosThetaBias, IPDFPosThetaBiasH, IPDFThetaBias, IPDFThetaBiasH, IPDFXBias, IPDFXBiasH, IPDFYBias, IPDFYBiasH, IPDFZBias, IPDFZBiasH, PhiBias, PhiBiasH, PosPhiBias, PosPhiBiasH, PosThetaBias, PosThetaBiasH, ThetaBias, ThetaBiasH, XBias, XBiasH, YBias, YBiasH, ZBias, ZBiasH, and ZeroPhysVector.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSRandomGenerator::SetEnergyBias | ( | G4ThreeVector | input | ) |
Definition at line 142 of file G4SPSRandomGenerator.cc.
References EnergyBias, EnergyBiasH, and G4PhysicsOrderedFreeVector::InsertValues().
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
|
inline |
Definition at line 163 of file G4SPSRandomGenerator.hh.
References bweights.
void G4SPSRandomGenerator::SetPhiBias | ( | G4ThreeVector | input | ) |
Definition at line 134 of file G4SPSRandomGenerator.cc.
References G4PhysicsOrderedFreeVector::InsertValues(), PhiBias, and PhiBiasH.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSRandomGenerator::SetPosPhiBias | ( | G4ThreeVector | input | ) |
Definition at line 158 of file G4SPSRandomGenerator.cc.
References G4PhysicsOrderedFreeVector::InsertValues(), PosPhiBias, and PosPhiBiasH.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSRandomGenerator::SetPosThetaBias | ( | G4ThreeVector | input | ) |
Definition at line 150 of file G4SPSRandomGenerator.cc.
References G4PhysicsOrderedFreeVector::InsertValues(), PosThetaBias, and PosThetaBiasH.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSRandomGenerator::SetThetaBias | ( | G4ThreeVector | input | ) |
Definition at line 126 of file G4SPSRandomGenerator.cc.
References G4PhysicsOrderedFreeVector::InsertValues(), ThetaBias, and ThetaBiasH.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
|
inline |
Definition at line 179 of file G4SPSRandomGenerator.hh.
References a, and verbosityLevel.
void G4SPSRandomGenerator::SetXBias | ( | G4ThreeVector | input | ) |
Definition at line 102 of file G4SPSRandomGenerator.cc.
References G4PhysicsOrderedFreeVector::InsertValues(), XBias, and XBiasH.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSRandomGenerator::SetYBias | ( | G4ThreeVector | input | ) |
Definition at line 110 of file G4SPSRandomGenerator.cc.
References G4PhysicsOrderedFreeVector::InsertValues(), YBias, and YBiasH.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSRandomGenerator::SetZBias | ( | G4ThreeVector | input | ) |
Definition at line 118 of file G4SPSRandomGenerator.cc.
References G4PhysicsOrderedFreeVector::InsertValues(), ZBias, and ZBiasH.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
|
private |
Definition at line 215 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandEnergy(), GenRandPhi(), GenRandPosPhi(), GenRandPosTheta(), GenRandTheta(), GenRandX(), GenRandY(), GenRandZ(), GetBiasWeight(), and SetIntensityWeight().
|
private |
Definition at line 203 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandEnergy(), ReSetHist(), and SetEnergyBias().
|
private |
Definition at line 204 of file G4SPSRandomGenerator.hh.
Referenced by GenRandEnergy(), ReSetHist(), and SetEnergyBias().
|
private |
Definition at line 203 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandEnergy(), and ReSetHist().
|
private |
Definition at line 205 of file G4SPSRandomGenerator.hh.
Referenced by GenRandEnergy(), and ReSetHist().
|
private |
Definition at line 200 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandPhi(), and ReSetHist().
|
private |
Definition at line 202 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPhi(), and ReSetHist().
|
private |
Definition at line 209 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandPosPhi(), and ReSetHist().
|
private |
Definition at line 211 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPosPhi(), and ReSetHist().
|
private |
Definition at line 206 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandPosTheta(), and ReSetHist().
|
private |
Definition at line 208 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPosTheta(), and ReSetHist().
|
private |
Definition at line 197 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandTheta(), and ReSetHist().
|
private |
Definition at line 199 of file G4SPSRandomGenerator.hh.
Referenced by GenRandTheta(), and ReSetHist().
|
private |
Definition at line 182 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandX(), and ReSetHist().
|
private |
Definition at line 190 of file G4SPSRandomGenerator.hh.
Referenced by GenRandX(), and ReSetHist().
|
private |
Definition at line 191 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandY(), and ReSetHist().
|
private |
Definition at line 193 of file G4SPSRandomGenerator.hh.
Referenced by GenRandY(), and ReSetHist().
|
private |
Definition at line 194 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandZ(), and ReSetHist().
|
private |
Definition at line 196 of file G4SPSRandomGenerator.hh.
Referenced by GenRandZ(), and ReSetHist().
|
private |
Definition at line 200 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandPhi(), ReSetHist(), and SetPhiBias().
|
private |
Definition at line 201 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPhi(), ReSetHist(), and SetPhiBias().
|
private |
Definition at line 209 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandPosPhi(), ReSetHist(), and SetPosPhiBias().
|
private |
Definition at line 210 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPosPhi(), ReSetHist(), and SetPosPhiBias().
|
private |
Definition at line 206 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandPosTheta(), ReSetHist(), and SetPosThetaBias().
|
private |
Definition at line 207 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPosTheta(), ReSetHist(), and SetPosThetaBias().
|
private |
Definition at line 197 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandTheta(), ReSetHist(), and SetThetaBias().
|
private |
Definition at line 198 of file G4SPSRandomGenerator.hh.
Referenced by GenRandTheta(), ReSetHist(), and SetThetaBias().
|
private |
Definition at line 218 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandEnergy(), GenRandPhi(), GenRandPosPhi(), GenRandPosTheta(), GenRandTheta(), GenRandX(), GenRandY(), GenRandZ(), and SetVerbosity().
|
private |
Definition at line 182 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandX(), ReSetHist(), and SetXBias().
|
private |
Definition at line 189 of file G4SPSRandomGenerator.hh.
Referenced by GenRandX(), ReSetHist(), and SetXBias().
|
private |
Definition at line 191 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandY(), ReSetHist(), and SetYBias().
|
private |
Definition at line 192 of file G4SPSRandomGenerator.hh.
Referenced by GenRandY(), ReSetHist(), and SetYBias().
|
private |
Definition at line 194 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandZ(), ReSetHist(), and SetZBias().
|
private |
Definition at line 195 of file G4SPSRandomGenerator.hh.
Referenced by GenRandZ(), ReSetHist(), and SetZBias().
|
private |
Definition at line 220 of file G4SPSRandomGenerator.hh.
Referenced by GenRandEnergy(), and ReSetHist().