![]() |
Precalibrated Ion Beam Identification Detector Simulation 1.0
A pilot study detector simulation, written in C++ with Geant4.
|
00001 00011 #ifndef DetectorMessenger_h 00012 #define DetectorMessenger_h 1 00013 #include "globals.hh" 00014 #include "G4UImessenger.hh" 00015 00016 #include "DetectorConstruction.hh" 00017 #include "G4UIdirectory.hh" 00018 #include "G4UIcmdWithAString.hh" 00019 #include "G4UIcmdWithAnInteger.hh" 00020 #include "G4UIcmdWithADoubleAndUnit.hh" 00021 #include "G4UIcmdWithoutParameter.hh" 00022 #include "G4UIcmdWithABool.hh" 00023 00024 00025 class DetectorConstruction; 00026 class G4UIdirectory; 00027 class G4UIcmdWithAString; 00028 class G4UIcmdWithAnInteger; 00029 class G4UIcmdWithADoubleAndUnit; 00030 class G4UIcmdWithoutParameter; 00031 class G4UIcmdWithABool; 00032 00035 class DetectorMessenger: public G4UImessenger 00036 { 00037 public: 00038 DetectorMessenger(DetectorConstruction* 00039 ); 00040 ~DetectorMessenger(); 00041 00042 void SetNewValue(G4UIcommand* 00043 , G4String 00044 ); 00045 00046 private: 00047 DetectorConstruction* Detector; 00048 00049 G4UIdirectory* PIBIDSDir; 00050 G4UIdirectory* detDir; 00051 G4UIcmdWithAString* ScintillatorMaterialCmd; 00052 G4UIcmdWithAString* GapMaterCmd; 00053 G4UIcmdWithADoubleAndUnit* ScintillatorDiameterCmd; 00054 G4UIcmdWithADoubleAndUnit* ScintillatorShieldingGapThicknessCmd; 00055 00056 G4UIcmdWithAnInteger* NumberOfScintillatorsPerBoxCmd; 00057 00058 G4UIcmdWithAnInteger* NumberOfScintillatorBoxesCmd; 00059 00060 G4UIcmdWithoutParameter* UpdateCmd; 00061 00062 00063 00064 G4UIcmdWithADoubleAndUnit* EffectiveSlowdownThicknessCmd; 00065 00066 G4UIcmdWithADoubleAndUnit* SlowdownLengthCmd; 00067 00068 G4UIcmdWithADoubleAndUnit* SlowdownThicknessCmd; 00069 00070 G4UIcmdWithADoubleAndUnit* BeamBlockerThicknessCmd; 00071 00072 G4UIcmdWithADoubleAndUnit* ShieldingBeamBlockerThicknessCmd; 00073 00074 G4UIcmdWithADoubleAndUnit* ShieldingThicknessCmd; 00075 00076 G4UIcmdWithADoubleAndUnit* TopShieldingThicknessCmd; 00077 00078 G4UIcmdWithADoubleAndUnit* GeDetectorRadiusCmd; 00079 00080 G4UIcmdWithADoubleAndUnit* GeDetectorShellLengthCmd; 00081 00082 G4UIcmdWithADoubleAndUnit* GeDetectorLengthCmd; 00083 00084 G4UIcmdWithADoubleAndUnit* GeDetectorShellInnerRadiusCmd; 00085 00086 G4UIcmdWithADoubleAndUnit* GeDetectorShellOuterRadiusCmd; 00087 00088 G4UIcmdWithAString* ShieldingMaterialCmd; 00089 G4UIcmdWithAString* GeDetectorShellMaterialCmd; 00090 00091 G4UIcmdWithAString* GermaniumDetectorMaterialCmd; 00092 00093 G4UIcmdWithAString* BeamBlockerMaterialCmd; 00094 00095 G4UIcmdWithAString* ShieldingBeamBlockerMaterialCmd; 00096 00097 G4UIcmdWithAString* SlowdownMaterialCmd; 00098 00099 G4UIcmdWithABool* FlipBetaCmd; 00100 00101 }; 00102 00103 #endif 00104