47 : fLXeDetector(detector)
51 fDetectorDir->
SetGuidance(
"Detector geometry control");
59 fDimensionsCmd->
SetGuidance(
"Set the dimensions of the detector volume.");
66 (
"/LXe/detector/housingThickness",
this);
67 fHousingThicknessCmd->
SetGuidance(
"Set the thickness of the housing.");
74 (
"/LXe/detector/pmtRadius",
this);
75 fPmtRadiusCmd->
SetGuidance(
"Set the radius of the PMTs.");
82 fNxCmd->
SetGuidance(
"Set the number of PMTs along the x-dimension.");
88 fNyCmd->
SetGuidance(
"Set the number of PMTs along the y-dimension.");
94 fNzCmd->
SetGuidance(
"Set the number of PMTs along the z-dimension.");
100 fSphereCmd->
SetGuidance(
"Enable/Disable the sphere.");
105 fReflectivityCmd->
SetGuidance(
"Set the reflectivity of the housing.");
110 fWlsCmd->
SetGuidance(
"Enable/Disable the WLS slab");
115 fLxeCmd->
SetGuidance(
"Enable/Disable the main detector volume.");
120 fNFibersCmd->
SetGuidance(
"Set the number of WLS fibers in the WLS slab.");
124 fDefaultsCmd =
new G4UIcommand(
"/LXe/detector/defaults",
this);
125 fDefaultsCmd->
SetGuidance(
"Set all detector geometry values to defaults.");
130 fMainScintYield->
SetGuidance(
"Set scinitillation yield of main volume.");
131 fMainScintYield->
SetGuidance(
"Specified in photons/MeV");
136 fWLSScintYield->
SetGuidance(
"Set scintillation yield of WLS Slab");
137 fWLSScintYield->
SetGuidance(
"Specified in photons/MeV");
146 delete fDimensionsCmd;
147 delete fHousingThicknessCmd;
148 delete fPmtRadiusCmd;
159 delete fReflectivityCmd;
160 delete fMainScintYield;
161 delete fWLSScintYield;
168 if( command == fDimensionsCmd ){
171 else if (command == fHousingThicknessCmd){
173 ->GetNewDoubleValue(newValue));
175 else if (command == fPmtRadiusCmd){
178 else if (command == fNxCmd){
181 else if (command == fNyCmd){
184 else if (command == fNzCmd){
187 else if (command == fDefaultsCmd){
190 else if (command == fSphereCmd){
193 else if (command == fReflectivityCmd){
197 else if (command == fWlsCmd){
200 else if (command == fLxeCmd){
203 else if (command == fNFibersCmd){
206 else if (command == fMainScintYield){
209 else if (command == fWLSScintYield){
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 SetMainScintYield(G4double)
void SetDimensions(G4ThreeVector)
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)