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