GGS(GenericGEANT4Simulation)Software  2.7.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
GGSGunGeneratorActionMessenger.h
Go to the documentation of this file.
1 /*
2  * GGSGunGeneratorActionMessenger.h
3  *
4  * Created on: 10 Oct 2013
5  * Author: Nicola Mori
6  */
7 
10 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
11 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
12 #ifndef GGSGUNGENERATORACTIONMESSENGER_H_
13 #define GGSGUNGENERATORACTIONMESSENGER_H_
14 
15 #include "G4UIcmdWith3Vector.hh"
16 #include "G4UIcmdWith3VectorAndUnit.hh"
17 #include "G4UIcmdWithABool.hh"
18 #include "G4UIcmdWithADouble.hh"
19 #include "G4UIcmdWithADoubleAndUnit.hh"
20 #include "G4UIcmdWithAString.hh"
21 #include "G4UIdirectory.hh"
22 #include "G4UImessenger.hh"
23 #include "globals.hh"
25 
26 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
27 
29 class GGSGunGeneratorActionMessenger : public G4UImessenger {
30 public:
36 
39 
48  void SetNewValue(G4UIcommand *command, G4String newValue);
49 
50 private:
51  GGSGunGeneratorAction *_gunGenerator;
52 
53  // Gun generator actions commands
54  G4UIdirectory *_gunDir;
55  G4UIcmdWithAString *_checkAcceptance;
56  G4UIcmdWith3VectorAndUnit *_positionCmd;
57  G4UIcmdWith3VectorAndUnit *_minPositionCmd;
58  G4UIcmdWith3VectorAndUnit *_maxPositionCmd;
59  G4UIcmdWithADoubleAndUnit *_thetaCmd;
60  G4UIcmdWithADoubleAndUnit *_minThetaCmd;
61  G4UIcmdWithADoubleAndUnit *_maxThetaCmd;
62  G4UIcmdWithADoubleAndUnit *_phiCmd;
63  G4UIcmdWithADoubleAndUnit *_minPhiCmd;
64  G4UIcmdWithADoubleAndUnit *_maxPhiCmd;
65  G4UIcmdWithADoubleAndUnit *_energyCmd;
66  G4UIcmdWithADoubleAndUnit *_minEnergyCmd;
67  G4UIcmdWithADoubleAndUnit *_maxEnergyCmd;
68  G4UIcmdWithADouble *_spectralIndexCmd;
69  G4UIcmdWithAString *_gunParticleCmd;
70  G4UIcmdWith3VectorAndUnit *_sphereCenterCmd;
71  G4UIcmdWith3VectorAndUnit *_sphereCapPositionCmd;
72  G4UIcmdWithADoubleAndUnit *_sphereCapExtensionCmd;
73 };
74 
75 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
76 
77 #endif // GGSGUNGENERATORACTIONMESSENGER_H_
void SetNewValue(G4UIcommand *command, G4String newValue)
Concrete implementation of the SetNewValue methd of base class.
Messenger class for gun generator action.
A single-particle generator.
GGSGunGeneratorActionMessenger(GGSGunGeneratorAction *gunGenerator)
Constructor.