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();
109 G4int nBeam, nRecycling, nLoopsPhSpParticles, idGunType, nMaxParticlesInRamPhaseSpace,
idParticleSource;
110 G4double GunMeanEnegy, GunStdEnegy, GunRadious;
111 G4String calculatedPhaseSpaceFileIN;
130 int nParticle, nPhSpParticles, nRandomParticles, idCurrentParticleSource;