Geant4
10.00.p03
|
#include <G4AdjointPrimaryGenerator.hh>
Public Member Functions | |
G4AdjointPrimaryGenerator () | |
~G4AdjointPrimaryGenerator () | |
void | GenerateAdjointPrimaryVertex (G4Event *anEvt, G4ParticleDefinition *adj_part, G4double E1, G4double E2) |
void | GenerateFwdPrimaryVertex (G4Event *anEvt, G4ParticleDefinition *adj_part, G4double E1, G4double E2) |
void | SetSphericalAdjointPrimarySource (G4double radius, G4ThreeVector pos) |
void | SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume (const G4String &volume_name) |
Definition at line 63 of file G4AdjointPrimaryGenerator.hh.
G4AdjointPrimaryGenerator::G4AdjointPrimaryGenerator | ( | ) |
Definition at line 45 of file G4AdjointPrimaryGenerator.cc.
References center_spherical_source, G4SingleParticleSource::GetAngDist(), G4SingleParticleSource::GetEneDist(), G4AdjointPosOnPhysVolGenerator::GetInstance(), G4SingleParticleSource::GetPosDist(), G4SPSEneDistribution::SetAlpha(), G4SPSAngDistribution::SetAngDistType(), G4SPSEneDistribution::SetEnergyDisType(), G4SPSPosDistribution::SetPosDisType(), theG4AdjointPosOnPhysVolGenerator, theSingleParticleSource, and type_of_adjoint_source.
G4AdjointPrimaryGenerator::~G4AdjointPrimaryGenerator | ( | ) |
Definition at line 61 of file G4AdjointPrimaryGenerator.cc.
References theSingleParticleSource.
void G4AdjointPrimaryGenerator::GenerateAdjointPrimaryVertex | ( | G4Event * | anEvt, |
G4ParticleDefinition * | adj_part, | ||
G4double | E1, | ||
G4double | E2 | ||
) |
Definition at line 67 of file G4AdjointPrimaryGenerator.cc.
References G4AdjointPosOnPhysVolGenerator::GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume(), G4SingleParticleSource::GeneratePrimaryVertex(), G4SingleParticleSource::GetAngDist(), G4SingleParticleSource::GetEneDist(), G4SingleParticleSource::GetPosDist(), pos, G4SPSPosDistribution::SetCentreCoords(), G4SPSEneDistribution::SetEmax(), G4SPSEneDistribution::SetEmin(), G4SingleParticleSource::SetParticleDefinition(), G4SPSAngDistribution::SetParticleMomentumDirection(), theG4AdjointPosOnPhysVolGenerator, theSingleParticleSource, and type_of_adjoint_source.
void G4AdjointPrimaryGenerator::GenerateFwdPrimaryVertex | ( | G4Event * | anEvt, |
G4ParticleDefinition * | adj_part, | ||
G4double | E1, | ||
G4double | E2 | ||
) |
Definition at line 91 of file G4AdjointPrimaryGenerator.cc.
References G4AdjointPosOnPhysVolGenerator::GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume(), G4SingleParticleSource::GeneratePrimaryVertex(), G4SingleParticleSource::GetAngDist(), G4SingleParticleSource::GetEneDist(), G4SingleParticleSource::GetPosDist(), pos, G4SPSPosDistribution::SetCentreCoords(), G4SPSEneDistribution::SetEmax(), G4SPSEneDistribution::SetEmin(), G4SingleParticleSource::SetParticleDefinition(), G4SPSAngDistribution::SetParticleMomentumDirection(), theG4AdjointPosOnPhysVolGenerator, theSingleParticleSource, and type_of_adjoint_source.
Referenced by G4AdjointPrimaryGeneratorAction::GeneratePrimaries().
void G4AdjointPrimaryGenerator::SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume | ( | const G4String & | volume_name | ) |
Definition at line 130 of file G4AdjointPrimaryGenerator.cc.
References G4AdjointPosOnPhysVolGenerator::DefinePhysicalVolume1(), G4SingleParticleSource::GetAngDist(), G4SingleParticleSource::GetPosDist(), G4SPSAngDistribution::SetAngDistType(), G4SPSPosDistribution::SetPosDisType(), theG4AdjointPosOnPhysVolGenerator, theSingleParticleSource, and type_of_adjoint_source.
Referenced by G4AdjointPrimaryGeneratorAction::SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume().
void G4AdjointPrimaryGenerator::SetSphericalAdjointPrimarySource | ( | G4double | radius, |
G4ThreeVector | pos | ||
) |
Definition at line 115 of file G4AdjointPrimaryGenerator.cc.
References center_spherical_source, G4SingleParticleSource::GetAngDist(), G4SingleParticleSource::GetPosDist(), G4INCL::Math::pi, radius_spherical_source, G4SPSAngDistribution::SetAngDistType(), G4SPSPosDistribution::SetCentreCoords(), G4SPSAngDistribution::SetMaxTheta(), G4SPSAngDistribution::SetMinTheta(), G4SPSPosDistribution::SetPosDisShape(), G4SPSPosDistribution::SetPosDisType(), G4SPSPosDistribution::SetRadius(), theSingleParticleSource, and type_of_adjoint_source.
Referenced by G4AdjointPrimaryGeneratorAction::SetSphericalAdjointPrimarySource().
|
private |
Definition at line 87 of file G4AdjointPrimaryGenerator.hh.
Referenced by G4AdjointPrimaryGenerator(), and SetSphericalAdjointPrimarySource().
|
private |
Definition at line 86 of file G4AdjointPrimaryGenerator.hh.
Referenced by SetSphericalAdjointPrimarySource().
|
private |
Definition at line 79 of file G4AdjointPrimaryGenerator.hh.
Referenced by G4AdjointPrimaryGenerator(), GenerateAdjointPrimaryVertex(), GenerateFwdPrimaryVertex(), and SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume().
|
private |
Definition at line 81 of file G4AdjointPrimaryGenerator.hh.
Referenced by G4AdjointPrimaryGenerator(), GenerateAdjointPrimaryVertex(), GenerateFwdPrimaryVertex(), SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume(), SetSphericalAdjointPrimarySource(), and ~G4AdjointPrimaryGenerator().
|
private |
Definition at line 85 of file G4AdjointPrimaryGenerator.hh.
Referenced by G4AdjointPrimaryGenerator(), GenerateAdjointPrimaryVertex(), GenerateFwdPrimaryVertex(), SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume(), and SetSphericalAdjointPrimarySource().