43 #ifndef CML2PrimaryGenerationActionH
44 #define CML2PrimaryGenerationActionH
void GenerateFromRandom()
static CML2PrimaryGenerationAction * instance
G4ParticleDefinition * electron
SPrimaryParticle * primaryParticleData
G4ParticleDefinition * gamma
void setGunMeanEnergy(G4double val)
G4int nMaxParticlesInRamPhaseSpace
void GenerateFromCalculatedPhaseSpace()
G4double accTargetZPosition
~CML2PrimaryGenerationAction(void)
void setNMaxParticlesInRamPhaseSpace(G4int val)
void setCalculatedPhaseSpaceFileIN(G4String val)
G4ParticleDefinition * positron
static CML2PrimaryGenerationAction * GetInstance(void)
CML2PrimaryGenerationActionMessenger * PrimaryGenerationActionMessenger
void setRotation(G4RotationMatrix *val)
G4int nLoopsPhSpParticles
void setGunCalculatedPhaseSpace()
CML2PrimaryGenerationAction(void)
void setGunStdEnergy(G4double val)
void setGunRadious(G4double val)
void setSourceTypeName(G4String val)
void fillParticlesContainer()
void applySourceRotation()
void design(G4double accTargetZPosition)
G4ParticleGun * particleGun
void setNRecycling(G4int val)
G4int getSourceTypeName()
G4String calculatedPhaseSpaceFileIN
void setNLoopsPhSpParticles(G4int val)
int idCurrentParticleSource
void GeneratePrimaries(G4Event *anEvent)
void inizialize(SPrimaryParticle *primaryParticleData)