61 #ifndef G4AdjointPrimaryGeneratorAction_h
62 #define G4AdjointPrimaryGeneratorAction_h 1
G4String type_of_adjoint_source
void SetEminIon(G4double val)
size_t GetNbOfAdjointPrimaryTypes()
G4AdjointPrimaryGeneratorAction & operator=(const G4AdjointPrimaryGeneratorAction &)
G4AdjointPrimaryGeneratorAction()
void SetNbPrimaryFwdGammasPerEvent(G4int nb)
G4ParticleDefinition * adj_ion
void SetRndmFlag(const G4String &val)
G4int nb_fwd_gammas_per_event
~G4AdjointPrimaryGeneratorAction()
std::vector< G4ParticleDefinition * > ListOfPrimaryFwdParticles
G4ParticleDefinition * GetLastGeneratedFwdPrimaryParticle()
std::map< G4String, G4bool > PrimariesConsideredInAdjointSim
const G4String & GetPrimaryIonName()
void SetEmaxIon(G4double val)
void GeneratePrimaries(G4Event *)
void SetNbAdjointPrimaryGammasPerEvent(G4int nb)
G4ParticleDefinition * fwd_ion
G4int nb_adj_primary_electrons_per_event
std::vector< G4ParticleDefinition * > ListOfPrimaryAdjParticles
void SetNbAdjointPrimaryElectronsPerEvent(G4int nb)
void SetEmax(G4double val)
G4double ComputeEnergyDistWeight(G4double energy, G4double E1, G4double E2)
void SetSphericalAdjointPrimarySource(G4double radius, G4ThreeVector pos)
void SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume(const G4String &volume_name)
G4AdjointPrimaryGenerator * theAdjointPrimaryGenerator
std::vector< G4ParticleDefinition * > * GetListOfPrimaryFwdParticles()
G4int nb_adj_primary_gammas_per_event
G4ThreeVector center_spherical_source
void SetPrimaryIon(G4ParticleDefinition *adjointIon, G4ParticleDefinition *fwdIon)
void SetEmin(G4double val)
G4double radius_spherical_source
void NeglectParticleAsPrimary(const G4String &particle_name)
void ConsiderParticleAsPrimary(const G4String &particle_name)
void UpdateListOfPrimaryParticles()