44 : primaryAction(genaction)
47 dir-> SetGuidance(
"Control commands for primary generator");
56 select-> SetGuidance(
"select generator type");
57 select-> SetParameterName(
"generator_type",
false,
false);
58 select-> SetCandidates(
"particleGun pythia hepmcAscii");
59 select-> SetDefaultValue(
"particleGun");
77 G4cout <<
"current generator type: "
H02PrimaryGeneratorAction * primaryAction
Definition of the H02PrimaryGeneratorAction class.
void SetNewValue(G4UIcommand *command, G4String newValues)
G4UIcmdWithAString * select
G4GLOB_DLL std::ostream G4cout
Definition of the H02PrimaryGeneratorMessenger class.
H02PrimaryGeneratorMessenger(H02PrimaryGeneratorAction *genaction)
G4String GetCurrentValue(G4UIcommand *command)
~H02PrimaryGeneratorMessenger()