Geant4-11
|
#include <G4SPSRandomGenerator.hh>
Data Structures | |
struct | a_check |
struct | bweights_t |
Public Member Functions | |
G4SPSRandomGenerator () | |
G4double | GenRandEnergy () |
G4double | GenRandPhi () |
G4double | GenRandPosPhi () |
G4double | GenRandPosTheta () |
G4double | GenRandTheta () |
G4double | GenRandX () |
G4double | GenRandY () |
G4double | GenRandZ () |
G4double | GetBiasWeight () const |
void | ReSetHist (const G4String &) |
void | SetEnergyBias (const G4ThreeVector &) |
void | SetIntensityWeight (G4double weight) |
void | SetPhiBias (const G4ThreeVector &) |
void | SetPosPhiBias (const G4ThreeVector &) |
void | SetPosThetaBias (const G4ThreeVector &) |
void | SetThetaBias (const G4ThreeVector &) |
void | SetVerbosity (G4int a) |
void | SetXBias (const G4ThreeVector &) |
void | SetYBias (const G4ThreeVector &) |
void | SetZBias (const G4ThreeVector &) |
~G4SPSRandomGenerator () | |
Definition at line 60 of file G4SPSRandomGenerator.hh.
G4SPSRandomGenerator::G4SPSRandomGenerator | ( | ) |
Definition at line 61 of file G4SPSRandomGenerator.cc.
References EnergyBias, G4MUTEXINIT, IPDFEnergyBias, IPDFPhiBias, IPDFPosPhiBias, IPDFPosThetaBias, IPDFThetaBias, IPDFXBias, IPDFYBias, IPDFZBias, PhiBias, PosPhiBias, PosThetaBias, ThetaBias, verbosityLevel, XBias, YBias, and ZBias.
G4SPSRandomGenerator::~G4SPSRandomGenerator | ( | ) |
G4double G4SPSRandomGenerator::GenRandEnergy | ( | ) |
Definition at line 631 of file G4SPSRandomGenerator.cc.
References anonymous_namespace{G4HyperonSampler.cc}::bins, bweights, EnergyBias, EnergyBiasH, G4cout, G4endl, G4UniformRand, G4PhysicsVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsFreeVector::InsertValues(), IPDFEnergyBias, IPDFEnergyBiasH, local_IPDFEnergyBias, verbosityLevel, and anonymous_namespace{G4SPSRandomGenerator.cc}::ZeroPhysVector.
Referenced by G4SPSEneDistribution::GenArbPointEnergies(), G4SPSEneDistribution::GenEpnHistEnergies(), G4SPSEneDistribution::GenerateBbodyEnergies(), G4SPSEneDistribution::GenerateBiasPowEnergies(), G4SPSEneDistribution::GenerateBremEnergies(), G4SPSEneDistribution::GenerateCdgEnergies(), G4SPSEneDistribution::GenerateCPowEnergies(), G4SPSEneDistribution::GenerateExpEnergies(), G4SPSEneDistribution::GenerateLinearEnergies(), G4SPSEneDistribution::GeneratePowEnergies(), and G4SPSEneDistribution::GenUserHistEnergies().
G4double G4SPSRandomGenerator::GenRandPhi | ( | ) |
Definition at line 558 of file G4SPSRandomGenerator.cc.
References anonymous_namespace{G4HyperonSampler.cc}::bins, bweights, G4cout, G4endl, G4UniformRand, G4PhysicsVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsFreeVector::InsertValues(), IPDFPhiBias, IPDFPhiBiasH, local_IPDFPhiBias, PhiBias, PhiBiasH, and verbosityLevel.
Referenced by G4SPSAngDistribution::GenerateCosineLawFlux(), G4SPSAngDistribution::GenerateIsotropicFlux(), and G4SPSAngDistribution::GenerateUserDefFlux().
G4double G4SPSRandomGenerator::GenRandPosPhi | ( | ) |
Definition at line 778 of file G4SPSRandomGenerator.cc.
References anonymous_namespace{G4HyperonSampler.cc}::bins, bweights, G4cout, G4endl, G4UniformRand, G4PhysicsVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsFreeVector::InsertValues(), IPDFPosPhiBias, IPDFPosPhiBiasH, local_IPDFPosPhiBias, PosPhiBias, PosPhiBiasH, and verbosityLevel.
Referenced by G4SPSPosDistribution::GeneratePointsOnSurface().
G4double G4SPSRandomGenerator::GenRandPosTheta | ( | ) |
Definition at line 704 of file G4SPSRandomGenerator.cc.
References anonymous_namespace{G4HyperonSampler.cc}::bins, bweights, G4cout, G4endl, G4UniformRand, G4PhysicsVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsFreeVector::InsertValues(), IPDFPosThetaBias, IPDFPosThetaBiasH, local_IPDFPosThetaBias, PosThetaBias, PosThetaBiasH, and verbosityLevel.
Referenced by G4SPSPosDistribution::GeneratePointsOnSurface().
G4double G4SPSRandomGenerator::GenRandTheta | ( | ) |
Definition at line 484 of file G4SPSRandomGenerator.cc.
References anonymous_namespace{G4HyperonSampler.cc}::bins, bweights, G4cout, G4endl, G4UniformRand, G4PhysicsVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsFreeVector::InsertValues(), IPDFThetaBias, IPDFThetaBiasH, local_IPDFThetaBias, ThetaBias, ThetaBiasH, and verbosityLevel.
Referenced by G4SPSAngDistribution::GenerateCosineLawFlux(), G4SPSAngDistribution::GenerateIsotropicFlux(), and G4SPSAngDistribution::GenerateUserDefFlux().
G4double G4SPSRandomGenerator::GenRandX | ( | ) |
Definition at line 245 of file G4SPSRandomGenerator.cc.
References anonymous_namespace{G4HyperonSampler.cc}::bins, bweights, G4cout, G4endl, G4UniformRand, G4PhysicsVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsFreeVector::InsertValues(), IPDFXBias, IPDFXBiasH, local_IPDFXBias, verbosityLevel, XBias, and XBiasH.
Referenced by G4SPSPosDistribution::GeneratePointsInBeam(), G4SPSPosDistribution::GeneratePointsInPlane(), G4SPSPosDistribution::GeneratePointsInVolume(), and G4SPSPosDistribution::GeneratePointsOnSurface().
G4double G4SPSRandomGenerator::GenRandY | ( | ) |
Definition at line 338 of file G4SPSRandomGenerator.cc.
References anonymous_namespace{G4HyperonSampler.cc}::bins, bweights, G4cout, G4endl, G4UniformRand, G4PhysicsVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsFreeVector::InsertValues(), IPDFYBias, IPDFYBiasH, local_IPDFYBias, verbosityLevel, YBias, and YBiasH.
Referenced by G4SPSPosDistribution::GeneratePointsInBeam(), G4SPSPosDistribution::GeneratePointsInPlane(), G4SPSPosDistribution::GeneratePointsInVolume(), and G4SPSPosDistribution::GeneratePointsOnSurface().
G4double G4SPSRandomGenerator::GenRandZ | ( | ) |
Definition at line 411 of file G4SPSRandomGenerator.cc.
References anonymous_namespace{G4HyperonSampler.cc}::bins, bweights, G4cout, G4endl, G4UniformRand, G4PhysicsVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsFreeVector::InsertValues(), IPDFZBias, IPDFZBiasH, local_IPDFZBias, verbosityLevel, ZBias, and ZBiasH.
Referenced by G4SPSPosDistribution::GeneratePointsInVolume(), and G4SPSPosDistribution::GeneratePointsOnSurface().
G4double G4SPSRandomGenerator::GetBiasWeight | ( | ) | const |
Definition at line 180 of file G4SPSRandomGenerator.cc.
References bweights.
Referenced by G4SingleParticleSource::GeneratePrimaryVertex().
void G4SPSRandomGenerator::ReSetHist | ( | const G4String & | atype | ) |
Definition at line 197 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, local_IPDFEnergyBias, local_IPDFPhiBias, local_IPDFPosPhiBias, local_IPDFPosThetaBias, local_IPDFThetaBias, local_IPDFXBias, local_IPDFYBias, local_IPDFZBias, PhiBias, PhiBiasH, PosPhiBias, PosPhiBiasH, PosThetaBias, PosThetaBiasH, ThetaBias, ThetaBiasH, XBias, XBiasH, YBias, YBiasH, ZBias, ZBiasH, and anonymous_namespace{G4SPSRandomGenerator.cc}::ZeroPhysVector.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSRandomGenerator::SetEnergyBias | ( | const G4ThreeVector & | input | ) |
Definition at line 145 of file G4SPSRandomGenerator.cc.
References EnergyBias, EnergyBiasH, G4PhysicsFreeVector::InsertValues(), CLHEP::Hep3Vector::x(), and CLHEP::Hep3Vector::y().
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSRandomGenerator::SetIntensityWeight | ( | G4double | weight | ) |
Definition at line 175 of file G4SPSRandomGenerator.cc.
References bweights.
Referenced by G4GeneralParticleSourceData::IntensityNormalise().
void G4SPSRandomGenerator::SetPhiBias | ( | const G4ThreeVector & | input | ) |
Definition at line 135 of file G4SPSRandomGenerator.cc.
References G4PhysicsFreeVector::InsertValues(), PhiBias, PhiBiasH, CLHEP::Hep3Vector::x(), and CLHEP::Hep3Vector::y().
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSRandomGenerator::SetPosPhiBias | ( | const G4ThreeVector & | input | ) |
Definition at line 165 of file G4SPSRandomGenerator.cc.
References G4PhysicsFreeVector::InsertValues(), PosPhiBias, PosPhiBiasH, CLHEP::Hep3Vector::x(), and CLHEP::Hep3Vector::y().
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSRandomGenerator::SetPosThetaBias | ( | const G4ThreeVector & | input | ) |
Definition at line 155 of file G4SPSRandomGenerator.cc.
References G4PhysicsFreeVector::InsertValues(), PosThetaBias, PosThetaBiasH, CLHEP::Hep3Vector::x(), and CLHEP::Hep3Vector::y().
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSRandomGenerator::SetThetaBias | ( | const G4ThreeVector & | input | ) |
Definition at line 125 of file G4SPSRandomGenerator.cc.
References G4PhysicsFreeVector::InsertValues(), ThetaBias, ThetaBiasH, CLHEP::Hep3Vector::x(), and CLHEP::Hep3Vector::y().
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSRandomGenerator::SetVerbosity | ( | G4int | a | ) |
Definition at line 186 of file G4SPSRandomGenerator.cc.
References verbosityLevel.
void G4SPSRandomGenerator::SetXBias | ( | const G4ThreeVector & | input | ) |
Definition at line 95 of file G4SPSRandomGenerator.cc.
References G4PhysicsFreeVector::InsertValues(), CLHEP::Hep3Vector::x(), XBias, XBiasH, and CLHEP::Hep3Vector::y().
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSRandomGenerator::SetYBias | ( | const G4ThreeVector & | input | ) |
Definition at line 105 of file G4SPSRandomGenerator.cc.
References G4PhysicsFreeVector::InsertValues(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), YBias, and YBiasH.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSRandomGenerator::SetZBias | ( | const G4ThreeVector & | input | ) |
Definition at line 115 of file G4SPSRandomGenerator.cc.
References G4PhysicsFreeVector::InsertValues(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), ZBias, and ZBiasH.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
|
private |
Definition at line 194 of file G4SPSRandomGenerator.hh.
Referenced by GenRandEnergy(), GenRandPhi(), GenRandPosPhi(), GenRandPosTheta(), GenRandTheta(), GenRandX(), GenRandY(), GenRandZ(), GetBiasWeight(), and SetIntensityWeight().
|
private |
Definition at line 176 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandEnergy(), ReSetHist(), and SetEnergyBias().
|
private |
Definition at line 177 of file G4SPSRandomGenerator.hh.
Referenced by GenRandEnergy(), ReSetHist(), and SetEnergyBias().
|
private |
Definition at line 176 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandEnergy(), and ReSetHist().
|
private |
Definition at line 178 of file G4SPSRandomGenerator.hh.
Referenced by GenRandEnergy(), and ReSetHist().
|
private |
Definition at line 172 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandPhi(), and ReSetHist().
|
private |
Definition at line 174 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPhi(), and ReSetHist().
|
private |
Definition at line 184 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandPosPhi(), and ReSetHist().
|
private |
Definition at line 186 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPosPhi(), and ReSetHist().
|
private |
Definition at line 180 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandPosTheta(), and ReSetHist().
|
private |
Definition at line 182 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPosTheta(), and ReSetHist().
|
private |
Definition at line 168 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandTheta(), and ReSetHist().
|
private |
Definition at line 170 of file G4SPSRandomGenerator.hh.
Referenced by GenRandTheta(), and ReSetHist().
|
private |
Definition at line 156 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandX(), and ReSetHist().
|
private |
Definition at line 158 of file G4SPSRandomGenerator.hh.
Referenced by GenRandX(), and ReSetHist().
|
private |
Definition at line 160 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandY(), and ReSetHist().
|
private |
Definition at line 162 of file G4SPSRandomGenerator.hh.
Referenced by GenRandY(), and ReSetHist().
|
private |
Definition at line 164 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandZ(), and ReSetHist().
|
private |
Definition at line 166 of file G4SPSRandomGenerator.hh.
Referenced by GenRandZ(), and ReSetHist().
Definition at line 175 of file G4SPSRandomGenerator.hh.
Referenced by GenRandEnergy(), and ReSetHist().
Definition at line 171 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPhi(), and ReSetHist().
Definition at line 183 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPosPhi(), and ReSetHist().
Definition at line 179 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPosTheta(), and ReSetHist().
Definition at line 167 of file G4SPSRandomGenerator.hh.
Referenced by GenRandTheta(), and ReSetHist().
Definition at line 155 of file G4SPSRandomGenerator.hh.
Referenced by GenRandX(), and ReSetHist().
Definition at line 159 of file G4SPSRandomGenerator.hh.
Referenced by GenRandY(), and ReSetHist().
Definition at line 163 of file G4SPSRandomGenerator.hh.
Referenced by GenRandZ(), and ReSetHist().
|
private |
Definition at line 200 of file G4SPSRandomGenerator.hh.
|
private |
Definition at line 172 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandPhi(), ReSetHist(), and SetPhiBias().
|
private |
Definition at line 173 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPhi(), ReSetHist(), and SetPhiBias().
|
private |
Definition at line 184 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandPosPhi(), ReSetHist(), and SetPosPhiBias().
|
private |
Definition at line 185 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPosPhi(), ReSetHist(), and SetPosPhiBias().
|
private |
Definition at line 180 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandPosTheta(), ReSetHist(), and SetPosThetaBias().
|
private |
Definition at line 181 of file G4SPSRandomGenerator.hh.
Referenced by GenRandPosTheta(), ReSetHist(), and SetPosThetaBias().
|
private |
Definition at line 168 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandTheta(), ReSetHist(), and SetThetaBias().
|
private |
Definition at line 169 of file G4SPSRandomGenerator.hh.
Referenced by GenRandTheta(), ReSetHist(), and SetThetaBias().
|
private |
Definition at line 197 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandEnergy(), GenRandPhi(), GenRandPosPhi(), GenRandPosTheta(), GenRandTheta(), GenRandX(), GenRandY(), GenRandZ(), and SetVerbosity().
|
private |
Definition at line 156 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandX(), ReSetHist(), and SetXBias().
|
private |
Definition at line 157 of file G4SPSRandomGenerator.hh.
Referenced by GenRandX(), ReSetHist(), and SetXBias().
|
private |
Definition at line 160 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandY(), ReSetHist(), and SetYBias().
|
private |
Definition at line 161 of file G4SPSRandomGenerator.hh.
Referenced by GenRandY(), ReSetHist(), and SetYBias().
|
private |
Definition at line 164 of file G4SPSRandomGenerator.hh.
Referenced by G4SPSRandomGenerator(), GenRandZ(), ReSetHist(), and SetZBias().
|
private |
Definition at line 165 of file G4SPSRandomGenerator.hh.
Referenced by GenRandZ(), ReSetHist(), and SetZBias().