Geant4
10.03
|
#include <G4AdjointPrimaryGeneratorAction.hh>
Private Member Functions | |
G4double | ComputeEnergyDistWeight (G4double energy, G4double E1, G4double E2) |
G4AdjointPrimaryGeneratorAction (const G4AdjointPrimaryGeneratorAction &) | |
G4AdjointPrimaryGeneratorAction & | operator= (const G4AdjointPrimaryGeneratorAction &) |
Definition at line 78 of file G4AdjointPrimaryGeneratorAction.hh.
G4AdjointPrimaryGeneratorAction::G4AdjointPrimaryGeneratorAction | ( | ) |
Definition at line 49 of file G4AdjointPrimaryGeneratorAction.cc.
References ListOfPrimaryAdjParticles, ListOfPrimaryFwdParticles, nb_adj_primary_electrons_per_event, nb_adj_primary_gammas_per_event, nb_fwd_gammas_per_event, PrimariesConsideredInAdjointSim, and theAdjointPrimaryGenerator.
G4AdjointPrimaryGeneratorAction::~G4AdjointPrimaryGeneratorAction | ( | ) |
Definition at line 71 of file G4AdjointPrimaryGeneratorAction.cc.
References theAdjointPrimaryGenerator.
|
private |
|
private |
Definition at line 276 of file G4AdjointPrimaryGeneratorAction.cc.
References G4AdjointSimManager::GetInstance(), and G4AdjointSimManager::GetNbEvtOfLastRun().
Referenced by GeneratePrimaries().
void G4AdjointPrimaryGeneratorAction::ConsiderParticleAsPrimary | ( | const G4String & | particle_name | ) |
Definition at line 312 of file G4AdjointPrimaryGeneratorAction.cc.
References PrimariesConsideredInAdjointSim, and UpdateListOfPrimaryParticles().
Referenced by G4AdjointSimManager::ConsiderParticleAsPrimary().
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 77 of file G4AdjointPrimaryGeneratorAction.cc.
References A(), G4Event::AddPrimaryVertex(), G4AdjointSimManager::ClearEndOfAdjointTrackInfoVectors(), ComputeEnergyDistWeight(), Emax, EmaxIon, Emin, EminIon, G4Gamma::Gamma(), G4AdjointPrimaryGenerator::GenerateFwdPrimaryVertex(), G4AdjointSimManager::GetAdjointSourceArea(), G4Event::GetEventID(), G4AdjointSimManager::GetInstance(), G4PrimaryParticle::GetMomentum(), G4PrimaryVertex::GetPosition(), G4PrimaryVertex::GetPrimary(), G4Event::GetPrimaryVertex(), index_particle, ListOfPrimaryAdjParticles, ListOfPrimaryFwdParticles, n, nb_adj_primary_electrons_per_event, nb_adj_primary_gammas_per_event, nb_fwd_gammas_per_event, p, pi, pos, G4AdjointSimManager::SetAdjointTrackingMode(), G4PrimaryVertex::SetPosition(), G4PrimaryVertex::SetPrimary(), G4PrimaryVertex::SetT0(), G4PrimaryVertex::SetWeight(), theAdjointPrimaryGenerator, and UpdateListOfPrimaryParticles().
|
inline |
Definition at line 106 of file G4AdjointPrimaryGeneratorAction.hh.
References index_particle, and ListOfPrimaryFwdParticles.
Referenced by G4AdjointSimManager::GetLastGeneratedFwdPrimaryParticle().
|
inline |
Definition at line 100 of file G4AdjointPrimaryGeneratorAction.hh.
References ListOfPrimaryFwdParticles.
Referenced by G4AdjointSimManager::G4AdjointSimManager(), G4AdjointSimManager::GetListOfPrimaryFwdParticles(), G4AdjointSimManager::GetNbOfPrimaryFwdParticles(), and G4AdjointSimManager::RegisterAtEndOfAdjointTrack().
|
inline |
Definition at line 99 of file G4AdjointPrimaryGeneratorAction.hh.
References ListOfPrimaryAdjParticles.
Referenced by G4AdjointSimManager::RunAdjointSimulation().
|
inline |
Definition at line 102 of file G4AdjointPrimaryGeneratorAction.hh.
References ion_name.
Referenced by G4AdjointSimManager::GetPrimaryIonName().
void G4AdjointPrimaryGeneratorAction::NeglectParticleAsPrimary | ( | const G4String & | particle_name | ) |
Definition at line 321 of file G4AdjointPrimaryGeneratorAction.cc.
References PrimariesConsideredInAdjointSim, and UpdateListOfPrimaryParticles().
Referenced by G4AdjointSimManager::NeglectParticleAsPrimary().
|
private |
void G4AdjointPrimaryGeneratorAction::SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume | ( | const G4String & | volume_name | ) |
Definition at line 305 of file G4AdjointPrimaryGeneratorAction.cc.
References G4AdjointPrimaryGenerator::SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume(), theAdjointPrimaryGenerator, and type_of_adjoint_source.
Referenced by G4AdjointSimManager::DefineAdjointSourceOnTheExtSurfaceOfAVolume().
void G4AdjointPrimaryGeneratorAction::SetEmax | ( | G4double | val | ) |
Definition at line 257 of file G4AdjointPrimaryGeneratorAction.cc.
Referenced by G4AdjointSimManager::SetAdjointSourceEmax().
void G4AdjointPrimaryGeneratorAction::SetEmaxIon | ( | G4double | val | ) |
Definition at line 270 of file G4AdjointPrimaryGeneratorAction.cc.
References EmaxIon.
void G4AdjointPrimaryGeneratorAction::SetEmin | ( | G4double | val | ) |
Definition at line 250 of file G4AdjointPrimaryGeneratorAction.cc.
Referenced by G4AdjointSimManager::SetAdjointSourceEmin().
void G4AdjointPrimaryGeneratorAction::SetEminIon | ( | G4double | val | ) |
Definition at line 264 of file G4AdjointPrimaryGeneratorAction.cc.
References EminIon.
|
inline |
Definition at line 105 of file G4AdjointPrimaryGeneratorAction.hh.
References nb_adj_primary_electrons_per_event.
Referenced by G4AdjointSimManager::SetNbAdjointPrimaryElectronsPerEvent().
|
inline |
Definition at line 104 of file G4AdjointPrimaryGeneratorAction.hh.
References nb_adj_primary_gammas_per_event.
Referenced by G4AdjointSimManager::SetNbAdjointPrimaryGammasPerEvent().
|
inline |
Definition at line 103 of file G4AdjointPrimaryGeneratorAction.hh.
References nb_fwd_gammas_per_event.
Referenced by G4AdjointSimManager::SetNbOfPrimaryFwdGammasPerEvent().
void G4AdjointPrimaryGeneratorAction::SetPrimaryIon | ( | G4ParticleDefinition * | adjointIon, |
G4ParticleDefinition * | fwdIon | ||
) |
Definition at line 370 of file G4AdjointPrimaryGeneratorAction.cc.
References adj_ion, fwd_ion, and UpdateListOfPrimaryParticles().
Referenced by G4AdjointSimManager::SetPrimaryIon().
|
inline |
Definition at line 88 of file G4AdjointPrimaryGeneratorAction.hh.
References rndmFlag.
void G4AdjointPrimaryGeneratorAction::SetSphericalAdjointPrimarySource | ( | G4double | radius, |
G4ThreeVector | pos | ||
) |
Definition at line 296 of file G4AdjointPrimaryGeneratorAction.cc.
References center_spherical_source, radius_spherical_source, G4AdjointPrimaryGenerator::SetSphericalAdjointPrimarySource(), theAdjointPrimaryGenerator, and type_of_adjoint_source.
Referenced by G4AdjointSimManager::DefineSphericalAdjointSource(), and G4AdjointSimManager::DefineSphericalAdjointSourceWithCentreAtTheCentreOfAVolume().
void G4AdjointPrimaryGeneratorAction::UpdateListOfPrimaryParticles | ( | ) |
Definition at line 330 of file G4AdjointPrimaryGeneratorAction.cc.
References adj_ion, G4ParticleTable::FindParticle(), G4String::first(), fwd_ion, G4ParticleDefinition::GetParticleName(), G4ParticleTable::GetParticleTable(), ion_name, ListOfPrimaryAdjParticles, ListOfPrimaryFwdParticles, and PrimariesConsideredInAdjointSim.
Referenced by ConsiderParticleAsPrimary(), GeneratePrimaries(), NeglectParticleAsPrimary(), SetPrimaryIon(), and G4AdjointSimManager::SwitchToAdjointSimulationMode().
|
private |
Definition at line 147 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by SetPrimaryIon(), and UpdateListOfPrimaryParticles().
|
private |
Definition at line 139 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by SetSphericalAdjointPrimarySource().
|
private |
Definition at line 135 of file G4AdjointPrimaryGeneratorAction.hh.
|
private |
Definition at line 122 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetEmax().
|
private |
Definition at line 124 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), SetEmax(), and SetEmaxIon().
|
private |
Definition at line 121 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetEmin().
|
private |
Definition at line 123 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), SetEmin(), and SetEminIon().
|
private |
Definition at line 146 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by SetPrimaryIon(), and UpdateListOfPrimaryParticles().
|
private |
Definition at line 133 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and GetLastGeneratedFwdPrimaryParticle().
|
private |
Definition at line 148 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by GetPrimaryIonName(), and UpdateListOfPrimaryParticles().
|
private |
Definition at line 129 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by G4AdjointPrimaryGeneratorAction(), GeneratePrimaries(), GetNbOfAdjointPrimaryTypes(), and UpdateListOfPrimaryParticles().
|
private |
Definition at line 128 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by G4AdjointPrimaryGeneratorAction(), GeneratePrimaries(), GetLastGeneratedFwdPrimaryParticle(), GetListOfPrimaryFwdParticles(), and UpdateListOfPrimaryParticles().
|
private |
Definition at line 142 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by G4AdjointPrimaryGeneratorAction(), GeneratePrimaries(), and SetNbAdjointPrimaryElectronsPerEvent().
|
private |
Definition at line 141 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by G4AdjointPrimaryGeneratorAction(), GeneratePrimaries(), and SetNbAdjointPrimaryGammasPerEvent().
|
private |
Definition at line 140 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by G4AdjointPrimaryGeneratorAction(), GeneratePrimaries(), and SetNbPrimaryFwdGammasPerEvent().
|
private |
Definition at line 135 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries().
|
private |
Definition at line 135 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries().
Definition at line 130 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by ConsiderParticleAsPrimary(), G4AdjointPrimaryGeneratorAction(), NeglectParticleAsPrimary(), and UpdateListOfPrimaryParticles().
|
private |
Definition at line 138 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by SetSphericalAdjointPrimarySource().
|
private |
Definition at line 114 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by SetRndmFlag().
|
private |
Definition at line 117 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by G4AdjointPrimaryGeneratorAction(), GeneratePrimaries(), SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume(), SetSphericalAdjointPrimarySource(), and ~G4AdjointPrimaryGeneratorAction().
|
private |
Definition at line 137 of file G4AdjointPrimaryGeneratorAction.hh.
Referenced by SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume(), and SetSphericalAdjointPrimarySource().