aboutsummaryrefslogtreecommitdiffstats
path: root/include/G4BeamTestPrimaryGeneratorMessenger.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/G4BeamTestPrimaryGeneratorMessenger.h')
-rw-r--r--include/G4BeamTestPrimaryGeneratorMessenger.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/G4BeamTestPrimaryGeneratorMessenger.h b/include/G4BeamTestPrimaryGeneratorMessenger.h
new file mode 100644
index 0000000..0063f95
--- /dev/null
+++ b/include/G4BeamTestPrimaryGeneratorMessenger.h
@@ -0,0 +1,30 @@
+#ifndef G4BeamTestPrimaryGeneratorMessenger_h
+#define G4BeamTestPrimaryGeneratorMessenger_h 1
+
+#include "G4UImessenger.hh"
+#include "globals.hh"
+
+class G4BeamTestPrimaryGeneratorAction;
+class G4UIdirectory;
+class G4UIcmdWithADoubleAndUnit;
+
+//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
+
+class G4BeamTestPrimaryGeneratorMessenger: public G4UImessenger
+{
+ public:
+ G4BeamTestPrimaryGeneratorMessenger(G4BeamTestPrimaryGeneratorAction* );
+ virtual ~G4BeamTestPrimaryGeneratorMessenger();
+
+ virtual void SetNewValue(G4UIcommand*, G4String);
+
+ private:
+ G4BeamTestPrimaryGeneratorAction* fG4BeamTestAction;
+ G4UIdirectory* fGunDir;
+ G4UIcmdWithADoubleAndUnit* fPolarCmd;
+};
+
+//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
+
+#endif
+