SLIC  6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
FieldMessenger.hh
Go to the documentation of this file.
1 #ifndef SLIC_FIELDMESSENGER_HH_
2 #define SLIC_FIELDMESSENGER_HH_ 1
3 
4 // geant4
5 #include "G4UImessenger.hh"
6 
7 class G4UIcmdWithADoubleAndUnit;
8 class G4UIcommand;
9 class G4UIdirectory;
10 
11 namespace slic {
12 class FieldManager;
13 
32 class FieldMessenger: public G4UImessenger {
33 
34  public:
35 
40 
44  virtual ~FieldMessenger();
45 
46  public:
47 
53  virtual void SetNewValue(G4UIcommand* command, G4String newValues);
54 
55  private:
56 
60  void defineCommands();
61 
62  private:
63 
65  G4UIdirectory* m_fieldDir;
66  G4UIcommand* m_selectStepperCmd;
67  G4UIcmdWithADoubleAndUnit* m_setDeltaOneStepCmd;
68  G4UIcmdWithADoubleAndUnit* m_setDeltaIntersectionCmd;
69 };
70 }
71 
72 #endif
A manager of B-fields that currently just holds the pointer to its associated FieldMessenger.
Definition: FieldManager.hh:15
G4UImessenger to G4FieldManager and related classes.
G4UIcommand * m_selectStepperCmd
G4UIcmdWithADoubleAndUnit * m_setDeltaIntersectionCmd
G4UIcmdWithADoubleAndUnit * m_setDeltaOneStepCmd
FieldManager * m_mgr
virtual void SetNewValue(G4UIcommand *command, G4String newValues)
FieldMessenger(FieldManager *mgr)
G4UIdirectory * m_fieldDir