Berkeley Nuclear Data Software
CLYCMessenger.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 _CLYC_MESSENGER_H_
4 #define _CLYC_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;
16 class G4UIcmdWithADoubleAndUnit;
18 
19 namespace NSDG4
20 {
22 class CLYCMessenger: public G4UImessenger
23 {
24 public:
27 
28  void SetNewValue(G4UIcommand*, G4String);
29 
30 private:
31  // Pointer to the construction
32  CLYCDetConstruction* m_detector;
33  G4UIdirectory* m_changeTheDetector;
34  G4UIcmdWithAString* m_setTargetMaterial;
35  G4UIcmdWithADoubleAndUnit* m_setTargetRadius;
36  G4UIcmdWithADoubleAndUnit* m_setTargetLength;
37  G4UIcmdWithADouble* m_setNumScatterCells;
38  G4UIcmdWithADoubleAndUnit* m_setScatterCellDistance;
39  G4UIcmdWithADoubleAndUnit* m_setScatteringAngle;
40 
41 };
42 
43 
44 }
45 
46 
47 #endif
48 
Definition: CLYCDetConstruction.h:24
user interface class for moving bits around
Definition: CLYCMessenger.h:23
CLYCMessenger(CLYCDetConstruction *)
Definition: CLYCMessenger.cpp:14
~CLYCMessenger()
Definition: CLYCMessenger.cpp:64
void SetNewValue(G4UIcommand *, G4String)
Definition: CLYCMessenger.cpp:75
Definition: AbsLYAna.h:7