QwGeant4
QweakSimVDCMessenger.hh
Go to the documentation of this file.
1 
2 //=============================================================================
3 //
4 // ---------------------------
5 // | Doxygen File Information |
6 // ---------------------------
7 /**
8 
9  \file QweakSimVDCMessenger.hh
10  $Revision: 1.4 $
11  $Date: 2006/05/05 21:42:14 $
12  \author Klaus Hans Grimm
13 
14 */
15 //=============================================================================
16 //
17 //=============================================================================
18 //
19 // ---------------------------
20 // | Doxygen Class Information |
21 // ---------------------------
22 /**
23  \class QweakSimVDCMessenger
24 
25  \brief Scans the input file for /VDC/xyz commands
26 
27  Placeholder for a long explaination
28 
29  */
30 //=============================================================================
31 //
32 //=============================================================================
33 // -----------------------
34 // | CVS File Information |
35 // -----------------------
36 //
37 // Last Update: $Author: grimm $
38 // Update Date: $Date: 2006/05/05 21:42:14 $
39 // CVS/RCS Revision: $Revision: 1.4 $
40 // Status: $State: Exp $
41 //
42 // ===================================
43 // CVS Revision Log at end of file !!
44 // ===================================
45 //
46 //=============================================================================
47 
48 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
49 #ifndef QweakSimVDCMessenger_h
50 #define QweakSimVDCMessenger_h 1
51 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
52 
53 // geant4 includes
54 #include "G4UImessenger.hh"
55 
56 // geant4 classes
57 class G4UIcommand;
58 class G4UIdirectory;
59 class G4UIcmdWithAString;
60 class G4UIcmdWithAnInteger;
61 class G4UIcmdWithADoubleAndUnit;
62 
63 // user classes
64 class QweakSimVDC;
65 class QweakSimVDCRotator;
67 
68 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
69 
70 class QweakSimVDCMessenger: public G4UImessenger
71 {
72  public:
73  QweakSimVDCMessenger(QweakSimVDC*, G4int pkg = 0);
75 
76  G4int GetPackage() {return fPackage;}
77  void SetNewValue(G4UIcommand*, G4String);
78  void SetVDCRotator(QweakSimVDCRotator* theRotator){myRotator = theRotator;};
79 
80 private:
84 
85  G4UIdirectory* VDCDir;
86 
87  G4int fPackage;
88  G4UIdirectory* DirPerPackage;
89 
90  G4UIcmdWithAString* VDC_MasterContainerMatCmd;
91  G4UIcmdWithAString* VDC_SubContainerMatCmd;
92 
93  G4UIcmdWithAString* VDC_G10FrameMatCmd;
94  G4UIcmdWithAString* VDC_AluFrameMatCmd;
95 
96  G4UIcmdWithAString* VDC_FoilMatCmd;
97  G4UIcmdWithAString* VDC_WirePlaneMatCmd;
98 
99  G4UIcmdWithADoubleAndUnit* VDC_FrontCenterPositionInX_Cmd;
100  G4UIcmdWithADoubleAndUnit* VDC_FrontCenterPositionInY_Cmd;
101  G4UIcmdWithADoubleAndUnit* VDC_FrontCenterPositionInZ_Cmd;
102  G4UIcmdWithADoubleAndUnit* VDC_RotationAngleInPhi_Cmd;
103  G4UIcmdWithADoubleAndUnit* VDC_MeanTrackAngleInTheta_Cmd;
104 
105  G4UIdirectory* DriftCellDir;
106 
107  G4UIcmdWithAString* DCMatCmd;
108  G4UIcmdWithADoubleAndUnit* DCFrontWireAngleCmd;
109  G4UIcmdWithADoubleAndUnit* DCBackWireAngleCmd;
110  G4UIcmdWithADoubleAndUnit* DCThicknessCmd;
111  G4UIcmdWithADoubleAndUnit* DCHeightCmd;
112  G4UIcmdWithADoubleAndUnit* DCWidthOnFrameCmd;
113  G4UIcmdWithAnInteger* DCNumberPerPlaneCmd;
114 
115  //-------------------individual package commands------------------
116  G4UIcmdWithADoubleAndUnit* VDC_FrontCenterPositionInX_Pkg_Cmd;
117  G4UIcmdWithADoubleAndUnit* VDC_FrontCenterPositionInY_Pkg_Cmd;
118  G4UIcmdWithADoubleAndUnit* VDC_FrontCenterPositionInZ_Pkg_Cmd;
119  G4UIcmdWithADoubleAndUnit* VDC_RotationAngleInPhi_Pkg_Cmd;
120 
121 };
122 
123 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
124 
125 #endif
126 
127 //=======================================================================================
128 // -----------------------
129 // | CVS File Information |
130 // -----------------------
131 //
132 // $Revisions$
133 // $Log: QweakSimVDCMessenger.hh,v $
134 // Revision 1.4 2006/05/05 21:42:14 grimm
135 // Added
136 //
137 // G4UIcmdWithAString* DCMatCmd;
138 //
139 // Revision 1.3 2006/01/06 21:37:36 grimm
140 // Trivial renaming of internal variables
141 //
142 // Revision 1.2 2005/12/27 19:32:43 grimm
143 // - Redesign of Doxygen header containing CVS info like revision and date
144 // - Added CVS revision log at the end of file
145 //
146 //
147 
QweakSimVDCMessenger(QweakSimVDC *, G4int pkg=0)
G4UIcmdWithADoubleAndUnit * VDC_FrontCenterPositionInZ_Pkg_Cmd
G4UIcmdWithADoubleAndUnit * VDC_FrontCenterPositionInY_Cmd
Definition of the Trigger Scintillator detector.
G4UIcmdWithAString * DCMatCmd
G4UIcmdWithADoubleAndUnit * DCFrontWireAngleCmd
Region 3 Vertical Drift Chamber.
Definition: QweakSimVDC.hh:67
G4UIcmdWithADoubleAndUnit * DCThicknessCmd
G4UIcmdWithADoubleAndUnit * VDC_FrontCenterPositionInZ_Cmd
QweakSimVDCRotator * myRotator
Definition of the Support/Shielding of the Collimators.
G4UIcmdWithADoubleAndUnit * VDC_FrontCenterPositionInX_Cmd
G4UIdirectory * DirPerPackage
void SetNewValue(G4UIcommand *, G4String)
G4UIcmdWithAString * VDC_MasterContainerMatCmd
G4UIcmdWithADoubleAndUnit * VDC_FrontCenterPositionInX_Pkg_Cmd
G4UIcmdWithAString * VDC_WirePlaneMatCmd
G4UIcmdWithAString * VDC_SubContainerMatCmd
G4UIcmdWithAString * VDC_G10FrameMatCmd
G4UIcmdWithADoubleAndUnit * DCBackWireAngleCmd
G4UIcmdWithADoubleAndUnit * DCWidthOnFrameCmd
Scans the input file for /VDC/xyz commands.
G4UIcmdWithAString * VDC_FoilMatCmd
G4UIcmdWithADoubleAndUnit * VDC_FrontCenterPositionInY_Pkg_Cmd
G4UIcmdWithADoubleAndUnit * VDC_RotationAngleInPhi_Cmd
G4UIcmdWithAnInteger * DCNumberPerPlaneCmd
QweakSimTriggerScintillator * myTriggerScintillator
void SetVDCRotator(QweakSimVDCRotator *theRotator)
G4UIcmdWithAString * VDC_AluFrameMatCmd
G4UIcmdWithADoubleAndUnit * DCHeightCmd
G4UIcmdWithADoubleAndUnit * VDC_MeanTrackAngleInTheta_Cmd
G4UIcmdWithADoubleAndUnit * VDC_RotationAngleInPhi_Pkg_Cmd