46 : radius_spherical_source(0.)
61 delete theSingleParticleSource;
67 if (type_of_adjoint_source ==
"ExternalSurfaceOfAVolume") {
75 if (costh_to_normal <1.e-4) costh_to_normal =1.e-4;
90 radius_spherical_source = radius;
91 center_spherical_source = center_pos;
92 type_of_adjoint_source =
"Spherical";
106 type_of_adjoint_source =
"ExternalSurfaceOfAVolume";
void GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume(G4ThreeVector &p, G4ThreeVector &direction)
void DefinePhysicalVolume1(const G4String &aName)
static G4AdjointPosOnPhysVolGenerator * GetInstance()
void SetSphericalAdjointPrimarySource(G4double radius, G4ThreeVector pos)
void GenerateAdjointPrimaryVertex(G4Event *anEvt, G4ParticleDefinition *adj_part, G4double E1, G4double E2)
G4AdjointPrimaryGenerator()
~G4AdjointPrimaryGenerator()
void SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume(const G4String &volume_name)
void SetMaxTheta(G4double)
void SetMinTheta(G4double)
void SetParticleMomentumDirection(G4ParticleMomentum aMomentumDirection)
void SetAngDistType(G4String)
void SetEnergyDisType(G4String)
void SetCentreCoords(G4ThreeVector)
void SetPosDisType(G4String)
void SetPosDisShape(G4String)
G4SPSAngDistribution * GetAngDist()
void SetParticleDefinition(G4ParticleDefinition *aParticleDefinition)
G4SPSPosDistribution * GetPosDist()
void GeneratePrimaryVertex(G4Event *evt)
G4SPSEneDistribution * GetEneDist()