54 nRecycling->
SetGuidance(
"number of identical particles generated in the primary generator");
56 calculatedPhaseSpaceFileIN=
new G4UIcmdWithAString(
"/primaryParticleData/calculatedPhaseSpaceFileIN",
this);
58 calculatedPhaseSpaceFileIN->
SetGuidance(
"full path and file name of the phase space file to be used as particle generator");
62 sourceTypeName->
SetGuidance(
"type of particle generator source (randomTarget, phaseSpace)");
64 nMaxParticlesInRamPhaseSpace=
new G4UIcmdWithAnInteger(
"/primaryParticleData/nMaxParticlesInRamPhaseSpace",
this);
66 nMaxParticlesInRamPhaseSpace->
SetGuidance(
"maximum particle number loaded from the phase space file each time");
71 GunMeanEnegy->
SetGuidance(
"mean energy of the primary particles");
76 GunStdEnegy->
SetGuidance(
"std energy of the primary particles");
81 GunRadious->
SetGuidance(
"radious primary particles beam");
87 delete nMaxParticlesInRamPhaseSpace;
91 delete calculatedPhaseSpaceFileIN;
92 delete sourceTypeName;
96 if (cmd==GunMeanEnegy)
102 if (cmd==GunStdEnegy)
115 if (cmd==nMaxParticlesInRamPhaseSpace)
124 if (cmd==calculatedPhaseSpaceFileIN)
127 if (cmd==sourceTypeName)