39 #include "ExN04PrimaryGeneratorMessenger.hh"
40 #include "ExN04PrimaryGeneratorAction.hh"
45 : primaryAction(genaction)
48 mydetdir-> SetGuidance(
"ExN04 detector control commands.");
51 dir-> SetGuidance(
"Control commands for primary generator");
54 select-> SetGuidance(
"select generator type");
55 select-> SetParameterName(
"generator_type",
false,
false);
56 select-> SetCandidates(
"particleGun pythia hepmcAscii");
57 select-> SetDefaultValue(
"particleGun");
74 G4cout <<
"current generator type: "
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValues)
~ExN04PrimaryGeneratorMessenger()
G4UIcmdWithAString * select
ExN04PrimaryGeneratorMessenger(ExN04PrimaryGeneratorAction *genaction)
ExN04PrimaryGeneratorAction * primaryAction
G4GLOB_DLL std::ostream G4cout