43 #ifndef CML2PrimaryGenerationActionH
44 #define CML2PrimaryGenerationActionH
86 if (sourceTypeName==
"randomTarget")
90 else if (sourceTypeName==
"phaseSpace")
101 void setGunCalculatedPhaseSpace();
102 void GenerateFromRandom();
103 void GenerateFromCalculatedPhaseSpace();
104 void fillParticlesContainer();
105 void applySourceRotation();
110 G4double GunMeanEnegy, GunStdEnegy, GunRadious;
111 G4String calculatedPhaseSpaceFileIN;
129 int nParticle, nPhSpParticles, nRandomParticles, idCurrentParticleSource;
void setNRecycling(G4int val)
G4int getSourceTypeName()
void setGunStdEnergy(G4double val)
void setNLoopsPhSpParticles(G4int val)
void design(G4double accTargetZPosition)
void inizialize(SPrimaryParticle *primaryParticleData)
~CML2PrimaryGenerationAction(void)
void setGunRadious(G4double val)
CML2PrimaryGenerationAction(void)
void setCalculatedPhaseSpaceFileIN(G4String val)
void setRotation(G4RotationMatrix *val)
void setSourceTypeName(G4String val)
void GeneratePrimaries(G4Event *anEvent)
static CML2PrimaryGenerationAction * GetInstance(void)
void setGunMeanEnergy(G4double val)
void setNMaxParticlesInRamPhaseSpace(G4int val)