30#include "G4UIcmdWithABool.hh"
31#include "G4UIcmdWithAnInteger.hh"
32#include "G4UIcmdWithAString.hh"
33#include "G4UIcmdWithoutParameter.hh"
34#include "G4UIcommand.hh"
35#include "G4UIdirectory.hh"
36#include "G4UIparameter.hh"
44 fPrimaryAction(genaction)
47 fDir-> SetGuidance(
"Control commands for primary generator");
56 fSelect-> SetGuidance(
"fSelect generator type");
57 fSelect-> SetParameterName(
"generator_type",
false,
false);
58 fSelect-> SetCandidates(
"particleGun pythia hepmcAscii");
59 fSelect-> SetDefaultValue(
"particleGun");
77 G4cout <<
"current generator type: "
Definition of the H02PrimaryGeneratorAction class.
Definition of the H02PrimaryGeneratorMessenger class.
H02PrimaryGeneratorMessenger(H02PrimaryGeneratorAction *genaction)
virtual void SetNewValue(G4UIcommand *command, G4String newValues)
H02PrimaryGeneratorAction * fPrimaryAction
virtual G4String GetCurrentValue(G4UIcommand *command)
G4UIcmdWithAString * fSelect
~H02PrimaryGeneratorMessenger()