41 #include <CLHEP/Units/SystemOfUnits.h>
128 Theta = defaultTheta;
165 particleGun -> SetParticleEnergy ( kineticEnergy );
204 condizione = std::sqrt(Mx*Mx + My*My + Mz*Mz);
207 if (condizione < 1) {
213 if (Mx > std::cos(
Theta)) {
void SetXposition(G4double)
G4double meanKineticEnergy
ThreeVector shoot(const G4int Ap, const G4int Af)
CLHEP::Hep3Vector G4ThreeVector
IORTPrimaryGeneratorMessenger * gunMessenger
G4double GetmeanKineticEnergy(void)
~IORTPrimaryGeneratorAction()
void SetYposition(G4double)
void SetsigmaEnergy(G4double)
void SetmeanKineticEnergy(G4double)
G4ParticleGun * particleGun
void SetZposition(G4double)
static IORTAnalysisManager * GetInstance()
Get the pointer to the analysis manager.
void SetDefaultPrimaryParticle()
static G4ParticleTable * GetParticleTable()
const G4double x[NPOINTSGL]
void GeneratePrimaries(G4Event *)
IORTPrimaryGeneratorAction()
void startNewEvent()
Tell the analysis manager that a new event is starting.