49 : fLXeDetector(detector)
53 fDetectorDir->
SetGuidance(
"Detector geometry control");
61 fDimensionsCmd->
SetGuidance(
"Set the dimensions of the detector volume.");
68 (
"/LXe/detector/housingThickness",
this);
69 fHousingThicknessCmd->
SetGuidance(
"Set the thickness of the housing.");
76 (
"/LXe/detector/pmtRadius",
this);
77 fPmtRadiusCmd->
SetGuidance(
"Set the radius of the PMTs.");
84 fNxCmd->
SetGuidance(
"Set the number of PMTs along the x-dimension.");
90 fNyCmd->
SetGuidance(
"Set the number of PMTs along the y-dimension.");
96 fNzCmd->
SetGuidance(
"Set the number of PMTs along the z-dimension.");
102 fSphereCmd->
SetGuidance(
"Enable/Disable the sphere.");
107 fReflectivityCmd->
SetGuidance(
"Set the reflectivity of the housing.");
112 fWlsCmd->
SetGuidance(
"Enable/Disable the WLS slab");
117 fLxeCmd->
SetGuidance(
"Enable/Disable the main detector volume.");
122 fNFibersCmd->
SetGuidance(
"Set the number of WLS fibers in the WLS slab.");
127 fMainScintYield->
SetGuidance(
"Set scinitillation yield of main volume.");
128 fMainScintYield->
SetGuidance(
"Specified in photons/MeV");
133 fWLSScintYield->
SetGuidance(
"Set scintillation yield of WLS Slab");
134 fWLSScintYield->
SetGuidance(
"Specified in photons/MeV");
138 fDefaultsCmd =
new G4UIcommand(
"/LXe/detector/defaults",
this);
139 fDefaultsCmd->
SetGuidance(
"Set all detector geometry values to defaults.");
148 delete fDimensionsCmd;
149 delete fHousingThicknessCmd;
150 delete fPmtRadiusCmd;
160 delete fReflectivityCmd;
161 delete fMainScintYield;
162 delete fWLSScintYield;
170 if( command == fDimensionsCmd ){
173 else if (command == fHousingThicknessCmd){
175 ->GetNewDoubleValue(newValue));
177 else if (command == fPmtRadiusCmd){
180 else if (command == fNxCmd){
183 else if (command == fNyCmd){
186 else if (command == fNzCmd){
189 else if (command == fSphereCmd){
192 else if (command == fReflectivityCmd){
196 else if (command == fWlsCmd){
199 else if (command == fLxeCmd){
202 else if (command == fNFibersCmd){
205 else if (command == fMainScintYield){
209 else if (command == fWLSScintYield){
212 else if (command == fDefaultsCmd){
void SetMainVolumeOn(G4bool b)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
void SetDefaultUnit(const char *defUnit)
void SetToBeBroadcasted(G4bool val)
static G4ThreeVector GetNew3VectorValue(const char *paramString)
Definition of the LXeDetectorConstruction class.
static G4double GetNewDoubleValue(const char *paramString)
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
static G4bool GetNewBoolValue(const char *paramString)
void SetHousingReflectivity(G4double)
static G4double GetNewDoubleValue(const char *paramString)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetHousingThickness(G4double)
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
void SetDimensions(G4ThreeVector)
static G4RunManager * GetRunManager()
void SetWLSScintYield(G4double)
void SetDefaultUnit(const char *defUnit)
void SetPMTRadius(G4double)
LXeDetectorMessenger(LXeDetectorConstruction *)
virtual ~LXeDetectorMessenger()
void SetWLSSlabOn(G4bool b)
Definition of the LXeDetectorMessenger class.
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
virtual void SetNewValue(G4UIcommand *, G4String)