128 x0 = r0*std::cos(phi0);
129 y0 = r0*std::sin(phi0);
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
CLHEP::Hep3Vector G4ThreeVector
static G4ParticleTable * GetParticleTable()
static G4ParticleDefinition * fgPrimaryParticle
static constexpr double mm
const G4String & GetParticleName() const
void SetParticlePosition(G4ThreeVector aPosition)
void SetZVertex(G4double z)
void SetXVertex(G4double x)
void SetParticleDefinition(G4ParticleDefinition *aParticleDefinition)
G4double GetAbsorberZpos()
F01PrimaryGeneratorMessenger * fGunMessenger
static constexpr double twopi
virtual ~F01PrimaryGeneratorAction()
Definition of the F01PrimaryGeneratorAction class.
F01PrimaryGeneratorAction(F01DetectorConstruction *)
G4double GetAbsorberRadius()
G4ParticleGun * fParticleGun
F01DetectorConstruction * fDetector
Definition of the F01PrimaryGeneratorMessenger class.
G4double GetAbsorberThickness()
virtual void GeneratePrimaries(G4Event *)
virtual void GeneratePrimaryVertex(G4Event *evt)
G4GLOB_DLL std::ostream G4cout
Definition of the F01DetectorConstruction class.
void SetParticleEnergy(G4double aKineticEnergy)
void SetYVertex(G4double y)
G4ParticleDefinition * GetParticleDefinition() const
static G4String GetPrimaryName()
static constexpr double GeV
void SetParticleMomentumDirection(G4ParticleMomentum aMomentumDirection)