QwGeant4
QweakSimMagneticFieldMessenger.hh
Go to the documentation of this file.
1 //=============================================================================
2 //
3 // ---------------------------
4 // | Doxygen File Information |
5 // ---------------------------
6 /**
7 
8  \file QweakSimMagneticFieldMessenger.hh
9  $Revision: 1.2 $
10  $Date: 2005/12/27 19:25:29 $
11  \author Klaus Hans Grimm
12 
13 */
14 //=============================================================================
15 //
16 //=============================================================================
17 //
18 // ---------------------------
19 // | Doxygen Class Information |
20 // ---------------------------
21 /**
22  \class QweakSimMagneticFieldMessenger
23 
24  \brief Scans input file for /MagnetField/xyz commands
25 
26  Not used yet. Intended to set the StepperType and SetMinStep for the magnet fields.
27 
28  Placeholder for a long explaination
29 
30  */
31 //=============================================================================
32 //
33 //=============================================================================
34 // -----------------------
35 // | CVS File Information |
36 // -----------------------
37 //
38 // Last Update: $Author: grimm $
39 // Update Date: $Date: 2005/12/27 19:25:29 $
40 // CVS/RCS Revision: $Revision: 1.2 $
41 // Status: $State: Exp $
42 //
43 // ===================================
44 // CVS Revision Log at end of file !!
45 // ===================================
46 //
47 //=============================================================================
48 
49 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
50 
51 #ifndef QweakSimMagneticFieldMessenger_h
52 #define QweakSimMagneticFieldMessenger_h 1
53 
54 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
55 
56 // user includes
58 
59 // user classes
61 
62 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
63 
64 class QweakSimMagneticFieldMessenger: public G4UImessenger
65 {
66  public:
69 
70  void SetNewValue(G4UIcommand* command, G4String newValue);
71 
72  private:
73 
75 
76  G4UIdirectory* MagneticFieldDir;
77 
78  G4UIcmdWithAString* ReadCmd;
79 
80  G4UIcmdWith3VectorAndUnit* PrintCmd;
81 
82  G4UIcmdWithADoubleAndUnit* RotationCmd;
83  G4UIcmdWithADoubleAndUnit* TranslationCmd;
84  G4UIcmdWith3VectorAndUnit* TranslationVectorCmd;
85 
86  G4UIcmdWithADoubleAndUnit* MinZCmd;
87  G4UIcmdWithADoubleAndUnit* MaxZCmd;
88  G4UIcmdWithADoubleAndUnit* StepZCmd;
89 
90  G4UIcmdWithADoubleAndUnit* MinRCmd;
91  G4UIcmdWithADoubleAndUnit* MaxRCmd;
92  G4UIcmdWithADoubleAndUnit* StepRCmd;
93 
94  G4UIcmdWithADoubleAndUnit* MinPhiCmd;
95  G4UIcmdWithADoubleAndUnit* MaxPhiCmd;
96  G4UIcmdWithADoubleAndUnit* StepPhiCmd;
97  G4UIcmdWithAnInteger* WrapPhiCmd;
98 
99  G4UIcmdWithADouble* ScaleCmd;
100  G4UIcmdWithADouble* RefCurrentCmd;
101  G4UIcmdWithADouble* ActCurrentCmd;
102 
103  G4UIcmdWithAnInteger* StepperCmd;
104  G4UIcmdWithADoubleAndUnit* MinStepCmd;
105  G4UIcmdWithoutParameter* UpdateCmd;
106 
107 
108 };
109 
110 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
111 
112 #endif
113 
114 //=======================================================================================
115 // -----------------------
116 // | CVS File Information |
117 // -----------------------
118 //
119 // $Revisions$
120 // $Log: QweakSimMagneticFieldMessenger.hh,v $
121 // Revision 1.2 2005/12/27 19:25:29 grimm
122 // - Redesign of Doxygen header containing CVS info like revision and date
123 // - Added CVS revision log at the end of file
124 //
125 //
QweakSimMagneticFieldMessenger(QweakSimMagneticField *)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4UIcmdWith3VectorAndUnit * TranslationVectorCmd
Scans input file for /MagnetField/xyz commands.