File indexing completed on 2026-09-22 08:09:42
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 #ifndef WLSDetectorMessenger_h
0030 #define WLSDetectorMessenger_h 1
0031
0032 #include "WLSDetectorConstruction.hh"
0033
0034 #include "G4UImessenger.hh"
0035
0036 class G4UIdirectory;
0037 class G4UIcmdWithABool;
0038 class G4UIcmdWithAString;
0039
0040 class G4UIcmdWithADouble;
0041 class G4UIcmdWithAnInteger;
0042 class G4UIcmdWithADoubleAndUnit;
0043 class G4UIcmdWithoutParameter;
0044 class G4UIcmdWithoutParameter;
0045
0046 class WLSDetectorMessenger : public G4UImessenger
0047 {
0048 public:
0049 WLSDetectorMessenger(WLSDetectorConstruction*);
0050 ~WLSDetectorMessenger() override;
0051
0052 void SetNewValue(G4UIcommand*, G4String) override;
0053
0054 private:
0055 WLSDetectorConstruction* fDetector = nullptr;
0056
0057 G4UIdirectory* fDetDir = nullptr;
0058
0059 G4UIcmdWithAString* fSetPhotonDetGeometryCmd = nullptr;
0060 G4UIcmdWithAnInteger* fSetNumOfCladLayersCmd = nullptr;
0061 G4UIcmdWithADoubleAndUnit* fSetWLSLengthCmd = nullptr;
0062 G4UIcmdWithADoubleAndUnit* fSetWLSRadiusCmd = nullptr;
0063 G4UIcmdWithADoubleAndUnit* fSetClad1RadiusCmd = nullptr;
0064 G4UIcmdWithADoubleAndUnit* fSetClad2RadiusCmd = nullptr;
0065 G4UIcmdWithADoubleAndUnit* fSetPhotonDetHalfLengthCmd = nullptr;
0066 G4UIcmdWithADoubleAndUnit* fSetGapCmd = nullptr;
0067 G4UIcmdWithADoubleAndUnit* fSetPhotonDetAlignmentCmd = nullptr;
0068 G4UIcmdWithADouble* fSetXYRatioCmd = nullptr;
0069 G4UIcmdWithADouble* fSetSurfaceRoughnessCmd = nullptr;
0070 G4UIcmdWithADouble* fSetMirrorPolishCmd = nullptr;
0071 G4UIcmdWithADouble* fSetMirrorReflectivityCmd = nullptr;
0072 G4UIcmdWithADouble* fSetPhotonDetPolishCmd = nullptr;
0073 G4UIcmdWithADouble* fSetPhotonDetReflectivityCmd = nullptr;
0074 G4UIcmdWithABool* fSetMirrorCmd = nullptr;
0075 G4UIcmdWithADoubleAndUnit* fSetBarLengthCmd = nullptr;
0076 G4UIcmdWithADoubleAndUnit* fSetBarBaseCmd = nullptr;
0077 G4UIcmdWithADoubleAndUnit* fSetHoleRadiusCmd = nullptr;
0078 G4UIcmdWithADoubleAndUnit* fSetCoatingThicknessCmd = nullptr;
0079 G4UIcmdWithADoubleAndUnit* fSetCoatingRadiusCmd = nullptr;
0080 };
0081
0082 #endif