ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/run/include/G4AdjointPrimaryGeneratorAction.hh>
Private Member Functions | |
G4double | ComputeEnergyDistWeight (G4double energy, G4double E1, G4double E2) |
G4AdjointPrimaryGeneratorAction (const G4AdjointPrimaryGeneratorAction &) | |
G4AdjointPrimaryGeneratorAction & | operator= (const G4AdjointPrimaryGeneratorAction &) |
Definition at line 77 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 77 of file G4AdjointPrimaryGeneratorAction.hh
G4AdjointPrimaryGeneratorAction::G4AdjointPrimaryGeneratorAction | ( | ) |
Definition at line 48 of file G4AdjointPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 48 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 70 of file G4AdjointPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 70 of file G4AdjointPrimaryGeneratorAction.cc
References theAdjointPrimaryGenerator.
|
private |
|
private |
Definition at line 276 of file G4AdjointPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 276 of file G4AdjointPrimaryGeneratorAction.cc
References G4AdjointSimManager::GetInstance(), and G4AdjointSimManager::GetNbEvtOfLastRun().
Referenced by GeneratePrimaries().
Definition at line 312 of file G4AdjointPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 312 of file G4AdjointPrimaryGeneratorAction.cc
References PrimariesConsideredInAdjointSim, and UpdateListOfPrimaryParticles().
Referenced by G4AdjointSimManager::ConsiderParticleAsPrimary().
Implements G4VUserPrimaryGeneratorAction.
Definition at line 76 of file G4AdjointPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 76 of file G4AdjointPrimaryGeneratorAction.cc
References A(), G4Event::AddPrimaryVertex(), G4AdjointSimManager::ClearEndOfAdjointTrackInfoVectors(), ComputeEnergyDistWeight(), dir, 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, CLHEP::Hep3Vector::mag(), n, nb_adj_primary_electrons_per_event, nb_adj_primary_gammas_per_event, nb_fwd_gammas_per_event, pi, pos, G4AdjointSimManager::ResetDidOneAdjPartReachExtSourceDuringEvent(), G4AdjointSimManager::SetAdjointTrackingMode(), G4PrimaryVertex::SetPosition(), G4PrimaryVertex::SetPrimary(), G4PrimaryVertex::SetT0(), G4PrimaryVertex::SetWeight(), theAdjointPrimaryGenerator, UpdateListOfPrimaryParticles(), weight, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
inline |
Definition at line 105 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 105 of file G4AdjointPrimaryGeneratorAction.hh
References index_particle, and ListOfPrimaryFwdParticles.
Referenced by G4AdjointSimManager::GetLastGeneratedFwdPrimaryParticle().
|
inline |
Definition at line 99 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 99 of file G4AdjointPrimaryGeneratorAction.hh
References ListOfPrimaryFwdParticles.
Referenced by G4AdjointSimManager::G4AdjointSimManager(), G4AdjointSimManager::GetListOfPrimaryFwdParticles(), G4AdjointSimManager::GetNbOfPrimaryFwdParticles(), and G4AdjointSimManager::RegisterAtEndOfAdjointTrack().
|
inline |
Definition at line 98 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 98 of file G4AdjointPrimaryGeneratorAction.hh
References ListOfPrimaryAdjParticles.
Referenced by G4AdjointSimManager::RunAdjointSimulation().
|
inline |
Definition at line 101 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 101 of file G4AdjointPrimaryGeneratorAction.hh
References ion_name.
Referenced by G4AdjointSimManager::GetPrimaryIonName().
Definition at line 321 of file G4AdjointPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 305 of file G4AdjointPrimaryGeneratorAction.cc
References G4AdjointPrimaryGenerator::SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume(), theAdjointPrimaryGenerator, and type_of_adjoint_source.
Referenced by G4AdjointSimManager::DefineAdjointSourceOnTheExtSurfaceOfAVolume().
Definition at line 257 of file G4AdjointPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 257 of file G4AdjointPrimaryGeneratorAction.cc
Referenced by G4AdjointSimManager::SetAdjointSourceEmax().
Definition at line 270 of file G4AdjointPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 270 of file G4AdjointPrimaryGeneratorAction.cc
References EmaxIon.
Definition at line 250 of file G4AdjointPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 250 of file G4AdjointPrimaryGeneratorAction.cc
Referenced by G4AdjointSimManager::SetAdjointSourceEmin().
Definition at line 264 of file G4AdjointPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 264 of file G4AdjointPrimaryGeneratorAction.cc
References EminIon.
Definition at line 104 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 104 of file G4AdjointPrimaryGeneratorAction.hh
References nb_adj_primary_electrons_per_event.
Referenced by G4AdjointSimManager::SetNbAdjointPrimaryElectronsPerEvent().
Definition at line 103 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 103 of file G4AdjointPrimaryGeneratorAction.hh
References nb_adj_primary_gammas_per_event.
Referenced by G4AdjointSimManager::SetNbAdjointPrimaryGammasPerEvent().
Definition at line 102 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 102 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.
View newest version in sPHENIX GitHub at line 370 of file G4AdjointPrimaryGeneratorAction.cc
References adj_ion, fwd_ion, and UpdateListOfPrimaryParticles().
Referenced by G4AdjointSimManager::SetPrimaryIon().
Definition at line 87 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 87 of file G4AdjointPrimaryGeneratorAction.hh
References rndmFlag.
void G4AdjointPrimaryGeneratorAction::SetSphericalAdjointPrimarySource | ( | G4double | radius, |
G4ThreeVector | pos | ||
) |
Definition at line 296 of file G4AdjointPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 296 of file G4AdjointPrimaryGeneratorAction.cc
References center_spherical_source, radius, 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.
View newest version in sPHENIX GitHub at line 330 of file G4AdjointPrimaryGeneratorAction.cc
References adj_ion, G4ParticleTable::FindParticle(), 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 146 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 146 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by SetPrimaryIon(), and UpdateListOfPrimaryParticles().
|
private |
Definition at line 138 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 138 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by SetSphericalAdjointPrimarySource().
|
private |
Definition at line 134 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 134 of file G4AdjointPrimaryGeneratorAction.hh
|
private |
Definition at line 121 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 121 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), and SetEmax().
|
private |
Definition at line 123 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 123 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), SetEmax(), and SetEmaxIon().
|
private |
Definition at line 120 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 120 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), and SetEmin().
|
private |
Definition at line 122 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 122 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), SetEmin(), and SetEminIon().
|
private |
Definition at line 145 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 145 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by SetPrimaryIon(), and UpdateListOfPrimaryParticles().
|
private |
Definition at line 132 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 132 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), and GetLastGeneratedFwdPrimaryParticle().
|
private |
Definition at line 147 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 147 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by GetPrimaryIonName(), and UpdateListOfPrimaryParticles().
|
private |
Definition at line 128 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 128 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by G4AdjointPrimaryGeneratorAction(), GeneratePrimaries(), GetNbOfAdjointPrimaryTypes(), and UpdateListOfPrimaryParticles().
|
private |
Definition at line 127 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 127 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by G4AdjointPrimaryGeneratorAction(), GeneratePrimaries(), GetLastGeneratedFwdPrimaryParticle(), GetListOfPrimaryFwdParticles(), and UpdateListOfPrimaryParticles().
|
private |
Definition at line 141 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 141 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by G4AdjointPrimaryGeneratorAction(), GeneratePrimaries(), and SetNbAdjointPrimaryElectronsPerEvent().
|
private |
Definition at line 140 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 140 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by G4AdjointPrimaryGeneratorAction(), GeneratePrimaries(), and SetNbAdjointPrimaryGammasPerEvent().
|
private |
Definition at line 139 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 139 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by G4AdjointPrimaryGeneratorAction(), GeneratePrimaries(), and SetNbPrimaryFwdGammasPerEvent().
|
private |
Definition at line 134 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 134 of file G4AdjointPrimaryGeneratorAction.hh
|
private |
Definition at line 134 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 134 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries().
Definition at line 129 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 129 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by ConsiderParticleAsPrimary(), G4AdjointPrimaryGeneratorAction(), NeglectParticleAsPrimary(), and UpdateListOfPrimaryParticles().
|
private |
Definition at line 137 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 137 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by SetSphericalAdjointPrimarySource().
|
private |
Definition at line 113 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 113 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by SetRndmFlag().
|
private |
Definition at line 116 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 116 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by G4AdjointPrimaryGeneratorAction(), GeneratePrimaries(), SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume(), SetSphericalAdjointPrimarySource(), and ~G4AdjointPrimaryGeneratorAction().
|
private |
Definition at line 136 of file G4AdjointPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 136 of file G4AdjointPrimaryGeneratorAction.hh
Referenced by SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume(), and SetSphericalAdjointPrimarySource().