47 primaryAction(primary)
50 primaryDir -> SetGuidance(
"primary particles control.");
53 primaryParticleEnergySpectrumCmd =
55 primaryParticleEnergySpectrumCmd -> SetGuidance(
"Select the energy of gamma emitted by the source.");
56 primaryParticleEnergySpectrumCmd -> SetGuidance(
"Iodium: Iodium Source");
57 primaryParticleEnergySpectrumCmd -> SetGuidance(
"Iridium: Iridium Source");
58 primaryParticleEnergySpectrumCmd -> SetParameterName(
"choice",
true);
59 primaryParticleEnergySpectrumCmd -> SetDefaultValue(
"Iridium");
60 primaryParticleEnergySpectrumCmd -> SetCandidates(
"Iridium / Iodium");
66 delete primaryParticleEnergySpectrumCmd;
73 if(command == primaryParticleEnergySpectrumCmd)
74 primaryAction -> SwitchEnergy(newValue);