#include <G4AdjointPrimaryGenerator.hh>
|
| 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) |
|
void | ComputeAccumulatedDepthVectorAlongBackRay (G4ThreeVector glob_pos, G4ThreeVector direction, G4double ekin, G4ParticleDefinition *aPartDef) |
|
G4double | SampleDistanceAlongBackRayAndComputeWeightCorrection (G4double &weight_corr) |
|
◆ G4AdjointPrimaryGenerator() [1/2]
G4AdjointPrimaryGenerator::G4AdjointPrimaryGenerator |
( |
| ) |
|
Definition at line 53 of file G4AdjointPrimaryGenerator.cc.
G4SPSPosDistribution * GetPosDist() const
void SetPosDisType(G4String)
CLHEP::Hep3Vector G4ThreeVector
G4double radius_spherical_source
G4AdjointPosOnPhysVolGenerator * theG4AdjointPosOnPhysVolGenerator
G4SPSEneDistribution * GetEneDist() const
void SetEnergyDisType(G4String)
G4SPSAngDistribution * GetAngDist() const
G4String type_of_adjoint_source
G4PhysicsOrderedFreeVector * theAccumulatedDepthVector
void SetAngDistType(G4String)
G4Navigator * fLinearNavigator
static G4AdjointPosOnPhysVolGenerator * GetInstance()
G4ThreeVector center_spherical_source
G4SingleParticleSource * theSingleParticleSource
◆ ~G4AdjointPrimaryGenerator()
G4AdjointPrimaryGenerator::~G4AdjointPrimaryGenerator |
( |
| ) |
|
◆ G4AdjointPrimaryGenerator() [2/2]
◆ ComputeAccumulatedDepthVectorAlongBackRay()
Definition at line 154 of file G4AdjointPrimaryGenerator.cc.
179 while (newStep > 0. && thePhysVolume) {
193 position=position+newStep*direction;
G4Material * GetMaterial() const
virtual G4double ComputeStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
G4double GetDensity() const
void InsertValues(G4double energy, G4double value)
G4Navigator * GetNavigatorForTracking() const
G4PhysicsOrderedFreeVector * theAccumulatedDepthVector
static G4TransportationManager * GetTransportationManager()
virtual G4VPhysicalVolume * LocateGlobalPointAndSetup(const G4ThreeVector &point, const G4ThreeVector *direction=0, const G4bool pRelativeSearch=true, const G4bool ignoreDirection=true)
G4Navigator * fLinearNavigator
G4LogicalVolume * GetLogicalVolume() const
◆ GenerateAdjointPrimaryVertex()
Definition at line 76 of file G4AdjointPrimaryGenerator.cc.
87 if (costh_to_normal <1.
e-4) costh_to_normal =1.e-4;
G4SPSPosDistribution * GetPosDist() const
CLHEP::Hep3Vector G4ThreeVector
G4AdjointPosOnPhysVolGenerator * theG4AdjointPosOnPhysVolGenerator
G4SPSEneDistribution * GetEneDist() const
void SetCentreCoords(G4ThreeVector)
G4SPSAngDistribution * GetAngDist() const
G4String type_of_adjoint_source
void SetParticleDefinition(G4ParticleDefinition *aParticleDefinition)
void GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume(G4ThreeVector &p, G4ThreeVector &direction)
void SetParticleMomentumDirection(G4ParticleMomentum aMomentumDirection)
void GeneratePrimaryVertex(G4Event *evt)
G4SingleParticleSource * theSingleParticleSource
static const G4double pos
◆ GenerateFwdPrimaryVertex()
Definition at line 105 of file G4AdjointPrimaryGenerator.cc.
116 if (costh_to_normal <1.
e-4) costh_to_normal =1.e-4;
G4SPSPosDistribution * GetPosDist() const
CLHEP::Hep3Vector G4ThreeVector
G4AdjointPosOnPhysVolGenerator * theG4AdjointPosOnPhysVolGenerator
G4SPSEneDistribution * GetEneDist() const
void SetCentreCoords(G4ThreeVector)
G4SPSAngDistribution * GetAngDist() const
G4String type_of_adjoint_source
void SetParticleDefinition(G4ParticleDefinition *aParticleDefinition)
void GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume(G4ThreeVector &p, G4ThreeVector &direction)
void SetParticleMomentumDirection(G4ParticleMomentum aMomentumDirection)
void GeneratePrimaryVertex(G4Event *evt)
G4SingleParticleSource * theSingleParticleSource
static const G4double pos
◆ operator=()
◆ SampleDistanceAlongBackRayAndComputeWeightCorrection()
G4double G4AdjointPrimaryGenerator::SampleDistanceAlongBackRayAndComputeWeightCorrection |
( |
G4double & |
weight_corr | ) |
|
Definition at line 204 of file G4AdjointPrimaryGenerator.cc.
G4PhysicsOrderedFreeVector * theAccumulatedDepthVector
G4double FindLinearEnergy(G4double rand) const
◆ SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume()
void G4AdjointPrimaryGenerator::SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume |
( |
const G4String & |
volume_name | ) |
|
Definition at line 144 of file G4AdjointPrimaryGenerator.cc.
G4SPSPosDistribution * GetPosDist() const
void SetPosDisType(G4String)
G4AdjointPosOnPhysVolGenerator * theG4AdjointPosOnPhysVolGenerator
G4SPSAngDistribution * GetAngDist() const
G4String type_of_adjoint_source
void SetAngDistType(G4String)
void DefinePhysicalVolume1(const G4String &aName)
G4SingleParticleSource * theSingleParticleSource
◆ SetSphericalAdjointPrimarySource()
Definition at line 129 of file G4AdjointPrimaryGenerator.cc.
G4SPSPosDistribution * GetPosDist() const
static const double halfpi
void SetPosDisType(G4String)
G4double radius_spherical_source
void SetMinTheta(G4double)
void SetCentreCoords(G4ThreeVector)
G4SPSAngDistribution * GetAngDist() const
G4String type_of_adjoint_source
void SetPosDisShape(G4String)
void SetAngDistType(G4String)
G4ThreeVector center_spherical_source
void SetMaxTheta(G4double)
G4SingleParticleSource * theSingleParticleSource
◆ center_spherical_source
◆ fLinearNavigator
G4Navigator* G4AdjointPrimaryGenerator::fLinearNavigator |
|
private |
◆ radius_spherical_source
G4double G4AdjointPrimaryGenerator::radius_spherical_source |
|
private |
◆ theAccumulatedDepthVector
◆ theG4AdjointPosOnPhysVolGenerator
◆ theSingleParticleSource
◆ type_of_adjoint_source
G4String G4AdjointPrimaryGenerator::type_of_adjoint_source |
|
private |
The documentation for this class was generated from the following files: