61 #ifndef G4AdjointPrimaryGeneratorAction_h
62 #define G4AdjointPrimaryGeneratorAction_h 1
101 return &ListOfPrimaryFwdParticles;}
128 std::vector<G4ParticleDefinition*> ListOfPrimaryFwdParticles;
129 std::vector<G4ParticleDefinition*> ListOfPrimaryAdjParticles;
130 std::map<G4String, G4bool> PrimariesConsideredInAdjointSim;
133 size_t index_particle;
140 G4int nb_fwd_gammas_per_event;
141 G4int nb_adj_primary_gammas_per_event;
142 G4int nb_adj_primary_electrons_per_event;
void UpdateListOfPrimaryParticles()
void SetEmaxIon(G4double val)
void SetNbAdjointPrimaryElectronsPerEvent(G4int nb)
void SetEmax(G4double val)
void SetNbAdjointPrimaryGammasPerEvent(G4int nb)
~G4AdjointPrimaryGeneratorAction()
G4ParticleDefinition * GetLastGeneratedFwdPrimaryParticle()
void SetNbPrimaryFwdGammasPerEvent(G4int nb)
void SetPrimaryIon(G4ParticleDefinition *adjointIon, G4ParticleDefinition *fwdIon)
void ConsiderParticleAsPrimary(const G4String &particle_name)
G4AdjointPrimaryGeneratorAction()
void GeneratePrimaries(G4Event *)
size_t GetNbOfAdjointPrimaryTypes()
void SetEminIon(G4double val)
const G4String & GetPrimaryIonName()
G4double energy(const ThreeVector &p, const G4double m)
void NeglectParticleAsPrimary(const G4String &particle_name)
void SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume(const G4String &volume_name)
void SetRndmFlag(const G4String &val)
std::vector< G4ParticleDefinition * > * GetListOfPrimaryFwdParticles()
void SetSphericalAdjointPrimarySource(G4double radius, G4ThreeVector pos)
void SetEmin(G4double val)