49 : primaryAction(genaction)
53 dir-> SetGuidance(
"Control commands for primary generator");
62 select-> SetGuidance(
"select generator type");
63 select-> SetParameterName(
"generator_type",
false,
false);
64 select-> SetCandidates(
"particleGun pythia hepmcAscii");
65 select-> SetDefaultValue(
"particleGun");
83 if ( command==select) {
84 primaryAction-> SetGenerator(newValues);
85 G4cout <<
"current generator type: "
86 << primaryAction-> GetGeneratorName() <<
G4endl;
97 if (command == select) {
98 cv= primaryAction-> GetGeneratorName();