#include <LXeDetectorMessenger.hh>
Definition at line 47 of file LXeDetectorMessenger.hh.
Definition at line 48 of file LXeDetectorMessenger.cc.
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.");
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultUnit(const char *defUnit)
void SetToBeBroadcasted(G4bool val)
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetDefaultUnit(const char *defUnit)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
LXeDetectorMessenger::~LXeDetectorMessenger |
( |
| ) |
|
|
virtual |
Definition at line 146 of file LXeDetectorMessenger.cc.
148 delete fDimensionsCmd;
149 delete fHousingThicknessCmd;
150 delete fPmtRadiusCmd;
160 delete fReflectivityCmd;
161 delete fMainScintYield;
162 delete fWLSScintYield;
Reimplemented from G4UImessenger.
Definition at line 168 of file LXeDetectorMessenger.cc.
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)
static G4int GetNewIntValue(const char *paramString)
static G4ThreeVector GetNew3VectorValue(const char *paramString)
static G4double GetNewDoubleValue(const char *paramString)
static G4bool GetNewBoolValue(const char *paramString)
void SetHousingReflectivity(G4double)
static G4double GetNewDoubleValue(const char *paramString)
void SetHousingThickness(G4double)
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
void SetDimensions(G4ThreeVector)
static G4RunManager * GetRunManager()
void SetWLSScintYield(G4double)
void SetPMTRadius(G4double)
void SetWLSSlabOn(G4bool b)
The documentation for this class was generated from the following files: