Geant4-11
|
#include <G4SPSAngDistribution.hh>
Public Member Functions | |
void | DefineAngRefAxes (const G4String &, const G4ThreeVector &) |
G4SPSAngDistribution () | |
G4ParticleMomentum | GenerateOne () |
G4ThreeVector | GetDirection () |
G4String | GetDistType () |
G4double | GetMaxPhi () |
G4double | GetMaxTheta () |
G4double | GetMinPhi () |
G4double | GetMinTheta () |
void | ReSetHist (const G4String &) |
void | SetAngDistType (const G4String &) |
void | SetBeamSigmaInAngR (G4double) |
void | SetBeamSigmaInAngX (G4double) |
void | SetBeamSigmaInAngY (G4double) |
void | SetBiasRndm (G4SPSRandomGenerator *a) |
void | SetFocusPoint (const G4ThreeVector &) |
void | SetMaxPhi (G4double) |
void | SetMaxTheta (G4double) |
void | SetMinPhi (G4double) |
void | SetMinTheta (G4double) |
void | SetParticleMomentumDirection (const G4ParticleMomentum &aMomDirection) |
void | SetPosDistribution (G4SPSPosDistribution *a) |
void | SetUserWRTSurface (G4bool) |
void | SetUseUserAngAxis (G4bool) |
void | SetVerbosity (G4int a) |
void | UserDefAngPhi (const G4ThreeVector &) |
void | UserDefAngTheta (const G4ThreeVector &) |
~G4SPSAngDistribution () | |
Private Member Functions | |
void | GenerateBeamFlux (G4ParticleMomentum &outputMom) |
void | GenerateCosineLawFlux (G4ParticleMomentum &outputMom) |
void | GenerateFocusedFlux (G4ParticleMomentum &outputMom) |
void | GenerateIsotropicFlux (G4ParticleMomentum &outputMom) |
void | GeneratePlanarFlux (G4ParticleMomentum &outputMom) |
void | GenerateUserDefFlux (G4ParticleMomentum &outputMom) |
G4double | GenerateUserDefPhi () |
G4double | GenerateUserDefTheta () |
Definition at line 66 of file G4SPSAngDistribution.hh.
G4SPSAngDistribution::G4SPSAngDistribution | ( | ) |
Definition at line 38 of file G4SPSAngDistribution.cc.
References AngDistType, AngRef1, AngRef2, AngRef3, DR, DX, DY, FocusPoint, G4MUTEXINIT, CLHEP::HepXHat, CLHEP::HepYHat, CLHEP::HepZHat, IPDFPhiExist, IPDFThetaExist, MaxPhi, MaxTheta, MinPhi, MinTheta, particle_momentum_direction, pi, twopi, UserAngRef, UserDistType, UserWRTSurface, verbosityLevel, and anonymous_namespace{G4CascadeDeexciteBase.cc}::zero.
G4SPSAngDistribution::~G4SPSAngDistribution | ( | ) |
void G4SPSAngDistribution::DefineAngRefAxes | ( | const G4String & | refname, |
const G4ThreeVector & | ref | ||
) |
Definition at line 95 of file G4SPSAngDistribution.cc.
References AngRef1, AngRef2, AngRef3, CLHEP::Hep3Vector::cross(), G4cout, G4endl, CLHEP::Hep3Vector::unit(), UserAngRef, and verbosityLevel.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
|
private |
Definition at line 274 of file G4SPSAngDistribution.cc.
References AngDistType, AngRef1, AngRef2, AngRef3, DR, DX, DY, G4cout, G4endl, G4UniformRand, CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), CLHEP::Hep3Vector::setZ(), G4INCL::DeJongSpin::shoot(), twopi, UserAngRef, verbosityLevel, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by GenerateOne().
|
private |
Definition at line 425 of file G4SPSAngDistribution.cc.
References AngRef1, AngRef2, AngRef3, angRndm, G4cout, G4endl, G4SPSRandomGenerator::GenRandPhi(), G4SPSRandomGenerator::GenRandTheta(), G4SPSPosDistribution::GetSideRefVec1(), G4SPSPosDistribution::GetSideRefVec2(), G4SPSPosDistribution::GetSideRefVec3(), G4SPSPosDistribution::GetSourcePosType(), MaxPhi, MaxTheta, MinPhi, MinTheta, Phi, posDist, CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), CLHEP::Hep3Vector::setZ(), UserAngRef, verbosityLevel, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by GenerateOne().
|
private |
Definition at line 327 of file G4SPSAngDistribution.cc.
References FocusPoint, G4cout, G4endl, G4SPSPosDistribution::GetParticlePos(), posDist, and verbosityLevel.
Referenced by GenerateOne().
|
private |
Definition at line 339 of file G4SPSAngDistribution.cc.
References AngRef1, AngRef2, AngRef3, angRndm, G4cout, G4endl, G4SPSRandomGenerator::GenRandPhi(), G4SPSRandomGenerator::GenRandTheta(), G4SPSPosDistribution::GetSideRefVec1(), G4SPSPosDistribution::GetSideRefVec2(), G4SPSPosDistribution::GetSideRefVec3(), G4SPSPosDistribution::GetSourcePosType(), MaxPhi, MaxTheta, MinPhi, MinTheta, Phi, posDist, CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), CLHEP::Hep3Vector::setZ(), UserAngRef, verbosityLevel, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by GenerateOne().
G4ParticleMomentum G4SPSAngDistribution::GenerateOne | ( | ) |
Definition at line 766 of file G4SPSAngDistribution.cc.
References AngDistType, G4cout, G4endl, GenerateBeamFlux(), GenerateCosineLawFlux(), GenerateFocusedFlux(), GenerateIsotropicFlux(), GeneratePlanarFlux(), GenerateUserDefFlux(), and particle_momentum_direction.
Referenced by G4SingleParticleSource::GeneratePrimaryVertex().
|
private |
Definition at line 509 of file G4SPSAngDistribution.cc.
References G4cout, G4endl, and verbosityLevel.
Referenced by GenerateOne().
|
private |
Definition at line 521 of file G4SPSAngDistribution.cc.
References AngRef1, AngRef2, AngRef3, angRndm, G4cout, G4endl, GenerateUserDefPhi(), GenerateUserDefTheta(), G4SPSRandomGenerator::GenRandPhi(), G4SPSRandomGenerator::GenRandTheta(), G4SPSPosDistribution::GetSideRefVec1(), G4SPSPosDistribution::GetSideRefVec2(), G4SPSPosDistribution::GetSideRefVec3(), MaxPhi, MaxTheta, MinPhi, MinTheta, particle_momentum_direction, Phi, posDist, CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), CLHEP::Hep3Vector::setZ(), Theta, twopi, UserAngRef, UserDistType, UserWRTSurface, verbosityLevel, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by GenerateOne().
|
private |
Definition at line 697 of file G4SPSAngDistribution.cc.
References anonymous_namespace{G4HyperonSampler.cc}::bins, G4cout, G4endl, G4UniformRand, G4PhysicsVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsFreeVector::InsertValues(), IPDFPhiExist, IPDFPhiH, UDefPhiH, G4TemplateAutoLock< _Mutex_t >::unlock(), and UserDistType.
Referenced by GenerateUserDefFlux().
|
private |
Definition at line 648 of file G4SPSAngDistribution.cc.
References anonymous_namespace{G4HyperonSampler.cc}::bins, G4cout, G4endl, G4UniformRand, G4PhysicsVector::GetEnergy(), G4PhysicsVector::GetLowEdgeEnergy(), G4PhysicsVector::GetVectorLength(), G4PhysicsFreeVector::InsertValues(), IPDFThetaExist, IPDFThetaH, UDefThetaH, G4TemplateAutoLock< _Mutex_t >::unlock(), and UserDistType.
Referenced by GenerateUserDefFlux().
G4ThreeVector G4SPSAngDistribution::GetDirection | ( | ) |
Definition at line 228 of file G4SPSAngDistribution.cc.
References particle_momentum_direction.
Referenced by G4GeneralParticleSource::ListSource().
G4String G4SPSAngDistribution::GetDistType | ( | ) |
Definition at line 198 of file G4SPSAngDistribution.cc.
References AngDistType.
Referenced by G4GeneralParticleSource::ListSource().
G4double G4SPSAngDistribution::GetMaxPhi | ( | ) |
Definition at line 222 of file G4SPSAngDistribution.cc.
References MaxPhi.
G4double G4SPSAngDistribution::GetMaxTheta | ( | ) |
Definition at line 210 of file G4SPSAngDistribution.cc.
References MaxTheta.
G4double G4SPSAngDistribution::GetMinPhi | ( | ) |
Definition at line 216 of file G4SPSAngDistribution.cc.
References MinPhi.
G4double G4SPSAngDistribution::GetMinTheta | ( | ) |
Definition at line 204 of file G4SPSAngDistribution.cc.
References MinTheta.
void G4SPSAngDistribution::ReSetHist | ( | const G4String & | atype | ) |
Definition at line 747 of file G4SPSAngDistribution.cc.
References G4cout, G4endl, IPDFPhiExist, IPDFPhiH, IPDFThetaExist, IPDFThetaH, UDefPhiH, UDefThetaH, and ZeroPhysVector.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSAngDistribution::SetAngDistType | ( | const G4String & | atype | ) |
Definition at line 72 of file G4SPSAngDistribution.cc.
References AngDistType, G4cout, G4endl, IPDFPhiExist, IPDFPhiH, IPDFThetaExist, IPDFThetaH, MaxTheta, pi, UDefPhiH, UDefThetaH, and ZeroPhysVector.
Referenced by G4AdjointPrimaryGenerator::G4AdjointPrimaryGenerator(), G4AdjointPrimaryGenerator::SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume(), G4GeneralParticleSourceMessenger::SetNewValue(), and G4AdjointPrimaryGenerator::SetSphericalAdjointPrimarySource().
void G4SPSAngDistribution::SetBeamSigmaInAngR | ( | G4double | r | ) |
Definition at line 143 of file G4SPSAngDistribution.cc.
References DR.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSAngDistribution::SetBeamSigmaInAngX | ( | G4double | r | ) |
Definition at line 149 of file G4SPSAngDistribution.cc.
References DX.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSAngDistribution::SetBeamSigmaInAngY | ( | G4double | r | ) |
Definition at line 155 of file G4SPSAngDistribution.cc.
References DY.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSAngDistribution::SetBiasRndm | ( | G4SPSRandomGenerator * | a | ) |
Definition at line 174 of file G4SPSAngDistribution.cc.
References angRndm.
Referenced by G4SingleParticleSource::G4SingleParticleSource().
void G4SPSAngDistribution::SetFocusPoint | ( | const G4ThreeVector & | input | ) |
Definition at line 246 of file G4SPSAngDistribution.cc.
References FocusPoint.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSAngDistribution::SetMaxPhi | ( | G4double | maxp | ) |
Definition at line 137 of file G4SPSAngDistribution.cc.
References MaxPhi.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSAngDistribution::SetMaxTheta | ( | G4double | maxt | ) |
Definition at line 131 of file G4SPSAngDistribution.cc.
References MaxTheta.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue(), and G4AdjointPrimaryGenerator::SetSphericalAdjointPrimarySource().
void G4SPSAngDistribution::SetMinPhi | ( | G4double | minp | ) |
Definition at line 125 of file G4SPSAngDistribution.cc.
References MinPhi.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSAngDistribution::SetMinTheta | ( | G4double | mint | ) |
Definition at line 119 of file G4SPSAngDistribution.cc.
References MinTheta.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue(), and G4AdjointPrimaryGenerator::SetSphericalAdjointPrimarySource().
void G4SPSAngDistribution::SetParticleMomentumDirection | ( | const G4ParticleMomentum & | aMomDirection | ) |
Definition at line 161 of file G4SPSAngDistribution.cc.
References particle_momentum_direction, and CLHEP::Hep3Vector::unit().
Referenced by G4AdjointPrimaryGenerator::GenerateAdjointPrimaryVertex(), G4AdjointPrimaryGenerator::GenerateFwdPrimaryVertex(), and G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSAngDistribution::SetPosDistribution | ( | G4SPSPosDistribution * | a | ) |
Definition at line 168 of file G4SPSAngDistribution.cc.
References posDist.
Referenced by G4SingleParticleSource::G4SingleParticleSource().
void G4SPSAngDistribution::SetUserWRTSurface | ( | G4bool | wrtSurf | ) |
Definition at line 252 of file G4SPSAngDistribution.cc.
References UserWRTSurface.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSAngDistribution::SetUseUserAngAxis | ( | G4bool | userang | ) |
Definition at line 264 of file G4SPSAngDistribution.cc.
References UserAngRef.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSAngDistribution::SetVerbosity | ( | G4int | a | ) |
Definition at line 180 of file G4SPSAngDistribution.cc.
References verbosityLevel.
Referenced by G4SingleParticleSource::SetVerbosity().
void G4SPSAngDistribution::UserDefAngPhi | ( | const G4ThreeVector & | input | ) |
Definition at line 234 of file G4SPSAngDistribution.cc.
References G4cout, G4endl, G4PhysicsFreeVector::InsertValues(), UDefPhiH, UserDistType, verbosityLevel, CLHEP::Hep3Vector::x(), and CLHEP::Hep3Vector::y().
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4SPSAngDistribution::UserDefAngTheta | ( | const G4ThreeVector & | input | ) |
Definition at line 186 of file G4SPSAngDistribution.cc.
References G4cout, G4endl, G4PhysicsFreeVector::InsertValues(), UDefThetaH, UserDistType, verbosityLevel, CLHEP::Hep3Vector::x(), and CLHEP::Hep3Vector::y().
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
|
private |
Definition at line 180 of file G4SPSAngDistribution.hh.
Referenced by G4SPSAngDistribution(), GenerateBeamFlux(), GenerateOne(), GetDistType(), and SetAngDistType().
|
private |
Definition at line 181 of file G4SPSAngDistribution.hh.
Referenced by DefineAngRefAxes(), G4SPSAngDistribution(), GenerateBeamFlux(), GenerateCosineLawFlux(), GenerateIsotropicFlux(), and GenerateUserDefFlux().
|
private |
Definition at line 181 of file G4SPSAngDistribution.hh.
Referenced by DefineAngRefAxes(), G4SPSAngDistribution(), GenerateBeamFlux(), GenerateCosineLawFlux(), GenerateIsotropicFlux(), and GenerateUserDefFlux().
|
private |
Definition at line 181 of file G4SPSAngDistribution.hh.
Referenced by DefineAngRefAxes(), G4SPSAngDistribution(), GenerateBeamFlux(), GenerateCosineLawFlux(), GenerateIsotropicFlux(), and GenerateUserDefFlux().
|
private |
Definition at line 199 of file G4SPSAngDistribution.hh.
Referenced by GenerateCosineLawFlux(), GenerateIsotropicFlux(), GenerateUserDefFlux(), and SetBiasRndm().
|
private |
Definition at line 183 of file G4SPSAngDistribution.hh.
Referenced by G4SPSAngDistribution(), GenerateBeamFlux(), and SetBeamSigmaInAngR().
|
private |
Definition at line 183 of file G4SPSAngDistribution.hh.
Referenced by G4SPSAngDistribution(), GenerateBeamFlux(), and SetBeamSigmaInAngX().
|
private |
Definition at line 183 of file G4SPSAngDistribution.hh.
Referenced by G4SPSAngDistribution(), GenerateBeamFlux(), and SetBeamSigmaInAngY().
|
private |
Definition at line 185 of file G4SPSAngDistribution.hh.
Referenced by G4SPSAngDistribution(), GenerateFocusedFlux(), and SetFocusPoint().
|
private |
Definition at line 186 of file G4SPSAngDistribution.hh.
Referenced by G4SPSAngDistribution(), GenerateUserDefPhi(), ReSetHist(), and SetAngDistType().
|
private |
Definition at line 190 of file G4SPSAngDistribution.hh.
Referenced by GenerateUserDefPhi(), ReSetHist(), and SetAngDistType().
|
private |
Definition at line 186 of file G4SPSAngDistribution.hh.
Referenced by G4SPSAngDistribution(), GenerateUserDefTheta(), ReSetHist(), and SetAngDistType().
|
private |
Definition at line 188 of file G4SPSAngDistribution.hh.
Referenced by GenerateUserDefTheta(), ReSetHist(), and SetAngDistType().
|
private |
Definition at line 182 of file G4SPSAngDistribution.hh.
Referenced by G4SPSAngDistribution(), GenerateCosineLawFlux(), GenerateIsotropicFlux(), GenerateUserDefFlux(), GetMaxPhi(), and SetMaxPhi().
|
private |
Definition at line 182 of file G4SPSAngDistribution.hh.
Referenced by G4SPSAngDistribution(), GenerateCosineLawFlux(), GenerateIsotropicFlux(), GenerateUserDefFlux(), GetMaxTheta(), SetAngDistType(), and SetMaxTheta().
|
private |
Definition at line 182 of file G4SPSAngDistribution.hh.
Referenced by G4SPSAngDistribution(), GenerateCosineLawFlux(), GenerateIsotropicFlux(), GenerateUserDefFlux(), GetMinPhi(), and SetMinPhi().
|
private |
Definition at line 182 of file G4SPSAngDistribution.hh.
Referenced by G4SPSAngDistribution(), GenerateCosineLawFlux(), GenerateIsotropicFlux(), GenerateUserDefFlux(), GetMinTheta(), and SetMinTheta().
|
private |
Definition at line 205 of file G4SPSAngDistribution.hh.
|
private |
Definition at line 196 of file G4SPSAngDistribution.hh.
Referenced by G4SPSAngDistribution(), GenerateOne(), GenerateUserDefFlux(), GetDirection(), and SetParticleMomentumDirection().
|
private |
Definition at line 184 of file G4SPSAngDistribution.hh.
Referenced by GenerateCosineLawFlux(), GenerateIsotropicFlux(), and GenerateUserDefFlux().
|
private |
Definition at line 198 of file G4SPSAngDistribution.hh.
Referenced by GenerateCosineLawFlux(), GenerateFocusedFlux(), GenerateIsotropicFlux(), GenerateUserDefFlux(), and SetPosDistribution().
|
private |
Definition at line 184 of file G4SPSAngDistribution.hh.
Referenced by GenerateUserDefFlux().
|
private |
Definition at line 189 of file G4SPSAngDistribution.hh.
Referenced by GenerateUserDefPhi(), ReSetHist(), SetAngDistType(), and UserDefAngPhi().
|
private |
Definition at line 187 of file G4SPSAngDistribution.hh.
Referenced by GenerateUserDefTheta(), ReSetHist(), SetAngDistType(), and UserDefAngTheta().
|
private |
Definition at line 194 of file G4SPSAngDistribution.hh.
Referenced by DefineAngRefAxes(), G4SPSAngDistribution(), GenerateBeamFlux(), GenerateCosineLawFlux(), GenerateIsotropicFlux(), GenerateUserDefFlux(), and SetUseUserAngAxis().
|
private |
Definition at line 191 of file G4SPSAngDistribution.hh.
Referenced by G4SPSAngDistribution(), GenerateUserDefFlux(), GenerateUserDefPhi(), GenerateUserDefTheta(), UserDefAngPhi(), and UserDefAngTheta().
|
private |
Definition at line 192 of file G4SPSAngDistribution.hh.
Referenced by G4SPSAngDistribution(), GenerateUserDefFlux(), and SetUserWRTSurface().
|
private |
Definition at line 201 of file G4SPSAngDistribution.hh.
Referenced by DefineAngRefAxes(), G4SPSAngDistribution(), GenerateBeamFlux(), GenerateCosineLawFlux(), GenerateFocusedFlux(), GenerateIsotropicFlux(), GeneratePlanarFlux(), GenerateUserDefFlux(), SetVerbosity(), UserDefAngPhi(), and UserDefAngTheta().
|
private |
Definition at line 203 of file G4SPSAngDistribution.hh.
Referenced by ReSetHist(), and SetAngDistType().