Geant4  10.00.p02
G4SPSRandomGenerator Class Reference

#include <G4SPSRandomGenerator.hh>

+ Collaboration diagram for G4SPSRandomGenerator:

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)
 

Private Attributes

G4bool XBias
 
G4bool IPDFXBias
 
G4PhysicsOrderedFreeVector XBiasH
 
G4PhysicsOrderedFreeVector IPDFXBiasH
 
G4bool YBias
 
G4bool IPDFYBias
 
G4PhysicsOrderedFreeVector YBiasH
 
G4PhysicsOrderedFreeVector IPDFYBiasH
 
G4bool ZBias
 
G4bool IPDFZBias
 
G4PhysicsOrderedFreeVector ZBiasH
 
G4PhysicsOrderedFreeVector IPDFZBiasH
 
G4bool ThetaBias
 
G4bool IPDFThetaBias
 
G4PhysicsOrderedFreeVector ThetaBiasH
 
G4PhysicsOrderedFreeVector IPDFThetaBiasH
 
G4bool PhiBias
 
G4bool IPDFPhiBias
 
G4PhysicsOrderedFreeVector PhiBiasH
 
G4PhysicsOrderedFreeVector IPDFPhiBiasH
 
G4bool EnergyBias
 
G4bool IPDFEnergyBias
 
G4PhysicsOrderedFreeVector EnergyBiasH
 
G4PhysicsOrderedFreeVector IPDFEnergyBiasH
 
G4bool PosThetaBias
 
G4bool IPDFPosThetaBias
 
G4PhysicsOrderedFreeVector PosThetaBiasH
 
G4PhysicsOrderedFreeVector IPDFPosThetaBiasH
 
G4bool PosPhiBias
 
G4bool IPDFPosPhiBias
 
G4PhysicsOrderedFreeVector PosPhiBiasH
 
G4PhysicsOrderedFreeVector IPDFPosPhiBiasH
 
G4double bweights [9]
 
G4int verbosityLevel
 
G4PhysicsOrderedFreeVector ZeroPhysVector
 

Detailed Description

Definition at line 138 of file G4SPSRandomGenerator.hh.

Constructor & Destructor Documentation

G4SPSRandomGenerator::~G4SPSRandomGenerator ( )

Definition at line 91 of file G4SPSRandomGenerator.cc.

Member Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4SPSRandomGenerator::GetBiasWeight ( )
inline

Definition at line 168 of file G4SPSRandomGenerator.hh.

References bweights.

Referenced by G4SingleParticleSource::GeneratePrimaryVertex().

+ Here is the caller graph for this function:

void G4SPSRandomGenerator::ReSetHist ( G4String  atype)
void G4SPSRandomGenerator::SetEnergyBias ( G4ThreeVector  input)

Definition at line 142 of file G4SPSRandomGenerator.cc.

References EnergyBias, EnergyBiasH, and G4PhysicsOrderedFreeVector::InsertValues().

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSRandomGenerator::SetIntensityWeight ( G4double  weight)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSRandomGenerator::SetPosPhiBias ( G4ThreeVector  input)

Definition at line 158 of file G4SPSRandomGenerator.cc.

References G4PhysicsOrderedFreeVector::InsertValues(), PosPhiBias, and PosPhiBiasH.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSRandomGenerator::SetPosThetaBias ( G4ThreeVector  input)

Definition at line 150 of file G4SPSRandomGenerator.cc.

References G4PhysicsOrderedFreeVector::InsertValues(), PosThetaBias, and PosThetaBiasH.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSRandomGenerator::SetThetaBias ( G4ThreeVector  input)

Definition at line 126 of file G4SPSRandomGenerator.cc.

References G4PhysicsOrderedFreeVector::InsertValues(), ThetaBias, and ThetaBiasH.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSRandomGenerator::SetVerbosity ( G4int  a)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSRandomGenerator::SetYBias ( G4ThreeVector  input)

Definition at line 110 of file G4SPSRandomGenerator.cc.

References G4PhysicsOrderedFreeVector::InsertValues(), YBias, and YBiasH.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SPSRandomGenerator::SetZBias ( G4ThreeVector  input)

Definition at line 118 of file G4SPSRandomGenerator.cc.

References G4PhysicsOrderedFreeVector::InsertValues(), ZBias, and ZBiasH.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4bool G4SPSRandomGenerator::EnergyBias
private
G4PhysicsOrderedFreeVector G4SPSRandomGenerator::EnergyBiasH
private

Definition at line 204 of file G4SPSRandomGenerator.hh.

Referenced by GenRandEnergy(), ReSetHist(), and SetEnergyBias().

G4bool G4SPSRandomGenerator::IPDFEnergyBias
private

Definition at line 203 of file G4SPSRandomGenerator.hh.

Referenced by G4SPSRandomGenerator(), GenRandEnergy(), and ReSetHist().

G4PhysicsOrderedFreeVector G4SPSRandomGenerator::IPDFEnergyBiasH
private

Definition at line 205 of file G4SPSRandomGenerator.hh.

Referenced by GenRandEnergy(), and ReSetHist().

G4bool G4SPSRandomGenerator::IPDFPhiBias
private

Definition at line 200 of file G4SPSRandomGenerator.hh.

Referenced by G4SPSRandomGenerator(), GenRandPhi(), and ReSetHist().

G4PhysicsOrderedFreeVector G4SPSRandomGenerator::IPDFPhiBiasH
private

Definition at line 202 of file G4SPSRandomGenerator.hh.

Referenced by GenRandPhi(), and ReSetHist().

G4bool G4SPSRandomGenerator::IPDFPosPhiBias
private

Definition at line 209 of file G4SPSRandomGenerator.hh.

Referenced by G4SPSRandomGenerator(), GenRandPosPhi(), and ReSetHist().

G4PhysicsOrderedFreeVector G4SPSRandomGenerator::IPDFPosPhiBiasH
private

Definition at line 211 of file G4SPSRandomGenerator.hh.

Referenced by GenRandPosPhi(), and ReSetHist().

G4bool G4SPSRandomGenerator::IPDFPosThetaBias
private

Definition at line 206 of file G4SPSRandomGenerator.hh.

Referenced by G4SPSRandomGenerator(), GenRandPosTheta(), and ReSetHist().

G4PhysicsOrderedFreeVector G4SPSRandomGenerator::IPDFPosThetaBiasH
private

Definition at line 208 of file G4SPSRandomGenerator.hh.

Referenced by GenRandPosTheta(), and ReSetHist().

G4bool G4SPSRandomGenerator::IPDFThetaBias
private

Definition at line 197 of file G4SPSRandomGenerator.hh.

Referenced by G4SPSRandomGenerator(), GenRandTheta(), and ReSetHist().

G4PhysicsOrderedFreeVector G4SPSRandomGenerator::IPDFThetaBiasH
private

Definition at line 199 of file G4SPSRandomGenerator.hh.

Referenced by GenRandTheta(), and ReSetHist().

G4bool G4SPSRandomGenerator::IPDFXBias
private

Definition at line 182 of file G4SPSRandomGenerator.hh.

Referenced by G4SPSRandomGenerator(), GenRandX(), and ReSetHist().

G4PhysicsOrderedFreeVector G4SPSRandomGenerator::IPDFXBiasH
private

Definition at line 190 of file G4SPSRandomGenerator.hh.

Referenced by GenRandX(), and ReSetHist().

G4bool G4SPSRandomGenerator::IPDFYBias
private

Definition at line 191 of file G4SPSRandomGenerator.hh.

Referenced by G4SPSRandomGenerator(), GenRandY(), and ReSetHist().

G4PhysicsOrderedFreeVector G4SPSRandomGenerator::IPDFYBiasH
private

Definition at line 193 of file G4SPSRandomGenerator.hh.

Referenced by GenRandY(), and ReSetHist().

G4bool G4SPSRandomGenerator::IPDFZBias
private

Definition at line 194 of file G4SPSRandomGenerator.hh.

Referenced by G4SPSRandomGenerator(), GenRandZ(), and ReSetHist().

G4PhysicsOrderedFreeVector G4SPSRandomGenerator::IPDFZBiasH
private

Definition at line 196 of file G4SPSRandomGenerator.hh.

Referenced by GenRandZ(), and ReSetHist().

G4bool G4SPSRandomGenerator::PhiBias
private

Definition at line 200 of file G4SPSRandomGenerator.hh.

Referenced by G4SPSRandomGenerator(), GenRandPhi(), ReSetHist(), and SetPhiBias().

G4PhysicsOrderedFreeVector G4SPSRandomGenerator::PhiBiasH
private

Definition at line 201 of file G4SPSRandomGenerator.hh.

Referenced by GenRandPhi(), ReSetHist(), and SetPhiBias().

G4bool G4SPSRandomGenerator::PosPhiBias
private
G4PhysicsOrderedFreeVector G4SPSRandomGenerator::PosPhiBiasH
private

Definition at line 210 of file G4SPSRandomGenerator.hh.

Referenced by GenRandPosPhi(), ReSetHist(), and SetPosPhiBias().

G4bool G4SPSRandomGenerator::PosThetaBias
private
G4PhysicsOrderedFreeVector G4SPSRandomGenerator::PosThetaBiasH
private

Definition at line 207 of file G4SPSRandomGenerator.hh.

Referenced by GenRandPosTheta(), ReSetHist(), and SetPosThetaBias().

G4bool G4SPSRandomGenerator::ThetaBias
private
G4PhysicsOrderedFreeVector G4SPSRandomGenerator::ThetaBiasH
private

Definition at line 198 of file G4SPSRandomGenerator.hh.

Referenced by GenRandTheta(), ReSetHist(), and SetThetaBias().

G4int G4SPSRandomGenerator::verbosityLevel
private
G4bool G4SPSRandomGenerator::XBias
private

Definition at line 182 of file G4SPSRandomGenerator.hh.

Referenced by G4SPSRandomGenerator(), GenRandX(), ReSetHist(), and SetXBias().

G4PhysicsOrderedFreeVector G4SPSRandomGenerator::XBiasH
private

Definition at line 189 of file G4SPSRandomGenerator.hh.

Referenced by GenRandX(), ReSetHist(), and SetXBias().

G4bool G4SPSRandomGenerator::YBias
private

Definition at line 191 of file G4SPSRandomGenerator.hh.

Referenced by G4SPSRandomGenerator(), GenRandY(), ReSetHist(), and SetYBias().

G4PhysicsOrderedFreeVector G4SPSRandomGenerator::YBiasH
private

Definition at line 192 of file G4SPSRandomGenerator.hh.

Referenced by GenRandY(), ReSetHist(), and SetYBias().

G4bool G4SPSRandomGenerator::ZBias
private

Definition at line 194 of file G4SPSRandomGenerator.hh.

Referenced by G4SPSRandomGenerator(), GenRandZ(), ReSetHist(), and SetZBias().

G4PhysicsOrderedFreeVector G4SPSRandomGenerator::ZBiasH
private

Definition at line 195 of file G4SPSRandomGenerator.hh.

Referenced by GenRandZ(), ReSetHist(), and SetZBias().

G4PhysicsOrderedFreeVector G4SPSRandomGenerator::ZeroPhysVector
private

Definition at line 220 of file G4SPSRandomGenerator.hh.

Referenced by GenRandEnergy(), and ReSetHist().


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