31#include "G4UIcommand.hh"
32#include "G4UIcmdWithoutParameter.hh"
33#include "G4UIcmdWithABool.hh"
34#include "G4UIcmdWithAnInteger.hh"
35#include "G4UIcmdWithAString.hh"
36#include "G4UIdirectory.hh"
37#include "G4UIparameter.hh"
44 : fPrimaryAction(genaction)
47 fMyDetDir-> SetGuidance(
"ExN04 detector control commands.");
50 fDir-> SetGuidance(
"Control commands for primary generator");
53 fSelect-> SetGuidance(
"fSelect generator type");
54 fSelect-> SetParameterName(
"generator_type",
false,
false);
55 fSelect-> SetCandidates(
"particleGun pythia hepmcAscii");
56 fSelect-> SetDefaultValue(
"particleGun");
73 G4cout <<
"current generator type: "
Definition of the ExN04PrimaryGeneratorAction class.
Definition of the ExN04PrimaryGeneratorMessenger class.
virtual G4String GetCurrentValue(G4UIcommand *command)
virtual void SetNewValue(G4UIcommand *command, G4String newValues)
~ExN04PrimaryGeneratorMessenger()
ExN04PrimaryGeneratorAction * fPrimaryAction
G4UIdirectory * fMyDetDir
ExN04PrimaryGeneratorMessenger(ExN04PrimaryGeneratorAction *genaction)
G4UIcmdWithAString * fSelect