18#include <G4UIcmdWithABool.hh>
19#include <G4UIcmdWithAString.hh>
20#include <G4UIcmdWithAnInteger.hh>
21#include <G4UIdirectory.hh>
33 fDirectory =
new G4UIdirectory(
"/mcPrimaryGenerator/");
34 fDirectory->SetGuidance(
"TGeant4 primary generator action commands.");
37 new G4UIcmdWithABool(
"/mcPrimaryGenerator/skipUnknownParticles",
this);
39 "Switch on|off applying range cuts for gamma");
Definition of the TG4PrimaryGeneratorAction class.
Definition of the TG4PrimaryGeneratorMessenger class.
Primary generator action defined via TVirtualMCStack and TVirtualMCApplication.
G4UIcmdWithABool * fSkipUnknownParticlesCmd
command: /mcPrimaryGenerator/skipUnknownParticles
virtual ~TG4PrimaryGeneratorMessenger()
TG4PrimaryGeneratorAction * fPrimaryGeneratorAction
associated class
virtual void SetNewValue(G4UIcommand *command, G4String string)
G4UIdirectory * fDirectory
command directory
TG4PrimaryGeneratorMessenger()
Not implemented.