45 : fLXeDetector(detector)
49 fDetectorDir->
SetGuidance(
"Detector geometry control");
57 fDimensionsCmd->
SetGuidance(
"Set the dimensions of the detector volume.");
62 (
"/LXe/detector/housingThickness",
this);
63 fHousingThicknessCmd->
SetGuidance(
"Set the thickness of the housing.");
68 (
"/LXe/detector/pmtRadius",
this);
69 fPmtRadiusCmd->
SetGuidance(
"Set the radius of the PMTs.");
74 fNxCmd->
SetGuidance(
"Set the number of PMTs along the x-dimension.");
78 fNyCmd->
SetGuidance(
"Set the number of PMTs along the y-dimension.");
82 fNzCmd->
SetGuidance(
"Set the number of PMTs along the z-dimension.");
86 fSphereCmd->
SetGuidance(
"Enable/Disable the sphere.");
89 fReflectivityCmd->
SetGuidance(
"Set the reflectivity of the housing.");
92 fWlsCmd->
SetGuidance(
"Enable/Disable the WLS slab");
95 fLxeCmd->
SetGuidance(
"Enable/Disable the main detector volume.");
98 fNFibersCmd->
SetGuidance(
"Set the number of WLS fibers in the WLS slab.");
100 fUpdateCmd =
new G4UIcommand(
"/LXe/detector/update",
this);
101 fUpdateCmd->
SetGuidance(
"Update the detector geometry with changed values.");
103 (
"Must be run before beamOn if detector has been changed.");
105 fDefaultsCmd =
new G4UIcommand(
"/LXe/detector/defaults",
this);
106 fDefaultsCmd->
SetGuidance(
"Set all detector geometry values to defaults.");
107 fDefaultsCmd->
SetGuidance(
"(Update still required)");
110 fMainScintYield->
SetGuidance(
"Set scinitillation yield of main volume.");
111 fMainScintYield->
SetGuidance(
"Specified in photons/MeV");
114 fWLSScintYield->
SetGuidance(
"Set scintillation yield of WLS Slab");
115 fWLSScintYield->
SetGuidance(
"Specified in photons/MeV");
122 delete fDimensionsCmd;
123 delete fHousingThicknessCmd;
124 delete fPmtRadiusCmd;
136 delete fReflectivityCmd;
137 delete fMainScintYield;
138 delete fWLSScintYield;
145 if( command == fDimensionsCmd ){
148 else if (command == fHousingThicknessCmd){
150 ->GetNewDoubleValue(newValue));
152 else if (command == fPmtRadiusCmd){
155 else if (command == fNxCmd){
158 else if (command == fNyCmd){
161 else if (command == fNzCmd){
164 else if (command == fUpdateCmd){
167 else if (command == fDefaultsCmd){
170 else if (command == fSphereCmd){
173 else if (command == fReflectivityCmd){
177 else if (command == fWlsCmd){
180 else if (command == fLxeCmd){
183 else if (command == fNFibersCmd){
186 else if (command == fMainScintYield){
189 else if (command == fWLSScintYield){