Berkeley Nuclear Data Software
GenArrayMessenger.h
Go to the documentation of this file.
1 //adapted from HadronTherapy advanced example for Geant4
2 //by Josh Brown brown.ja@berkeley.edu
3 #ifndef _GENARRAY_MESSENGER_H_
4 #define _GENARRAY_MESSENGER_H_
5 
6 #include "globals.hh"
7 #include "G4UImessenger.hh"
8 #include <string>
9 
10 class G4UIdirectory;
11 class G4UIcmdWith3VectorAndUnit;
12 class G4UIcmdWithoutParameter;
13 class G4UIcmdWithAString;
14 class G4UIcmdWithABool;
15 class G4UIcmdWithADouble;
17 
18 namespace NSDG4
19 {
21 class GenArrayMessenger: public G4UImessenger
22 {
23 public:
26 
27  void SetNewValue(G4UIcommand*, G4String);
28 
29 private:
30  // Pointer to the construction
31  GenArrayDetConstruction* m_detector;
32  G4UIdirectory* m_changeTheDetector;
33  G4UIcmdWithAString* m_setTargetMaterial;
34  G4UIcmdWithADouble* m_setTargetMajorRadius;
35  G4UIcmdWithADouble* m_setTargetMinorRadius;
36  G4UIcmdWithADouble* m_setTargetLength;
37  G4UIcmdWithADouble* m_setNumScatterCells;
38  G4UIcmdWithADouble* m_setScatterCellDistance;
39  G4UIcmdWithADouble* m_setScatteringAngle;
40  G4UIcmdWithABool* m_add8020Posts;
41  G4UIcmdWithABool* m_addCloverTable;
42  G4UIcmdWithADouble* m_setScintArmLength;
43  G4UIcmdWithABool* m_useHevimets;
44 };
45 
46 
47 }
48 
49 
50 #endif
51 
Definition: GenArrayDetConstruction.h:32
user interface class for moving bits around
Definition: GenArrayMessenger.h:22
void SetNewValue(G4UIcommand *, G4String)
Definition: GenArrayMessenger.cpp:90
~GenArrayMessenger()
Definition: GenArrayMessenger.cpp:77
GenArrayMessenger(GenArrayDetConstruction *)
Definition: GenArrayMessenger.cpp:13
Definition: AbsLYAna.h:7