Geant4  10.02.p02
G4AdjointPrimaryGenerator Class Reference

#include <G4AdjointPrimaryGenerator.hh>

+ Collaboration diagram for G4AdjointPrimaryGenerator:

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)
 
void ComputeAccumulatedDepthVectorAlongBackRay (G4ThreeVector glob_pos, G4ThreeVector direction, G4double ekin, G4ParticleDefinition *aPartDef)
 
G4double SampleDistanceAlongBackRayAndComputeWeightCorrection (G4double &weight_corr)
 

Private Member Functions

 G4AdjointPrimaryGenerator (const G4AdjointPrimaryGenerator &)
 
G4AdjointPrimaryGeneratoroperator= (const G4AdjointPrimaryGenerator &)
 

Private Attributes

G4AdjointPosOnPhysVolGeneratortheG4AdjointPosOnPhysVolGenerator
 
G4SingleParticleSourcetheSingleParticleSource
 
G4String type_of_adjoint_source
 
G4double radius_spherical_source
 
G4ThreeVector center_spherical_source
 
G4NavigatorfLinearNavigator
 
G4PhysicsOrderedFreeVectortheAccumulatedDepthVector
 

Detailed Description

Definition at line 67 of file G4AdjointPrimaryGenerator.hh.

Constructor & Destructor Documentation

G4AdjointPrimaryGenerator::~G4AdjointPrimaryGenerator ( )

Definition at line 70 of file G4AdjointPrimaryGenerator.cc.

References theSingleParticleSource.

G4AdjointPrimaryGenerator::G4AdjointPrimaryGenerator ( const G4AdjointPrimaryGenerator )
private

Member Function Documentation

void G4AdjointPrimaryGenerator::ComputeAccumulatedDepthVectorAlongBackRay ( G4ThreeVector  glob_pos,
G4ThreeVector  direction,
G4double  ekin,
G4ParticleDefinition aPartDef 
)
void G4AdjointPrimaryGenerator::GenerateFwdPrimaryVertex ( G4Event anEvt,
G4ParticleDefinition adj_part,
G4double  E1,
G4double  E2 
)
G4AdjointPrimaryGenerator& G4AdjointPrimaryGenerator::operator= ( const G4AdjointPrimaryGenerator )
private
G4double G4AdjointPrimaryGenerator::SampleDistanceAlongBackRayAndComputeWeightCorrection ( G4double weight_corr)

Definition at line 204 of file G4AdjointPrimaryGenerator.cc.

References G4PhysicsVector::FindLinearEnergy(), G4UniformRand, and theAccumulatedDepthVector.

+ Here is the call graph for this function:

void G4AdjointPrimaryGenerator::SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume ( const G4String volume_name)

Definition at line 144 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4AdjointPrimaryGenerator::SetSphericalAdjointPrimarySource ( G4double  radius,
G4ThreeVector  pos 
)

Definition at line 129 of file G4AdjointPrimaryGenerator.cc.

References center_spherical_source, G4SingleParticleSource::GetAngDist(), G4SingleParticleSource::GetPosDist(), halfpi, 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4ThreeVector G4AdjointPrimaryGenerator::center_spherical_source
private
G4Navigator* G4AdjointPrimaryGenerator::fLinearNavigator
private
G4double G4AdjointPrimaryGenerator::radius_spherical_source
private

Definition at line 96 of file G4AdjointPrimaryGenerator.hh.

Referenced by SetSphericalAdjointPrimarySource().

G4PhysicsOrderedFreeVector* G4AdjointPrimaryGenerator::theAccumulatedDepthVector
private
G4AdjointPosOnPhysVolGenerator* G4AdjointPrimaryGenerator::theG4AdjointPosOnPhysVolGenerator
private

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