56 : params(opticalParameters)
59 G4bool toBeBroadcasted =
false;
62 "Commands related to the optical physics simulation engine.");
65 new G4UIdirectory(
"/process/optical/cerenkov/", toBeBroadcasted);
68 new G4UIdirectory(
"/process/optical/scintillation/", toBeBroadcasted);
75 new G4UIdirectory(
"/process/optical/boundary/", toBeBroadcasted);
86 new G4UIcommand(
"/process/optical/processActivation",
this);
88 "Activate/deactivate the specified optical process");
126 "Set maximum change of beta of parent particle per step (in percent)");
134 "Set whether or not to stack secondary Cerenkov photons");
138 "/process/optical/cerenkov/setTrackSecondariesFirst",
this);
140 "Whether to track secondary Cerenkov photons before the primary.");
154 "/process/optical/scintillation/setByParticleType",
this);
156 "Activate/Inactivate scintillation process by particle type");
158 "ScintillationByParticleTypeActivation",
false);
164 "Activate/Inactivate scintillation TrackInformation");
169 "/process/optical/scintillation/setFiniteRiseTime",
this);
171 "Set option of a finite rise-time for G4Scintillation");
173 "If set, the G4Scintillation process expects the user to have set the");
175 "constant material property SCINTILLATIONRISETIME{1,2,3}");
180 "/process/optical/scintillation/setStackPhotons",
this);
182 "Set whether or not to stack secondary Scintillation photons");
188 "/process/optical/scintillation/setTrackSecondariesFirst",
this);
190 "Whether to track scintillation secondaries before primary.");
197 "Verbose level for scintillation process.");
206 "Set the WLS time profile (delta or exponential)");
223 "Set the WLS2 time profile (delta or exponential)");
240 "Set option for calling InvokeSD in G4OpBoundaryProcess");
256 "Verbose level for absorption process.");
320 G4bool physicsModified =
true;
325 std::istringstream is(newValue.data());
@ kNoProcess
Number of processes, no selected process.
G4String G4OpticalProcessName(G4int)
Return the name for a given optical process index.
G4GLOB_DLL std::ostream G4cout
G4UIcmdWithABool * fBoundaryInvokeSDCmd
setInvokeSD command
G4UIcmdWithABool * fScintStackPhotonsCmd
setStackPhotons command
G4UIcmdWithABool * fScintTrackSecondariesFirstCmd
G4UIcmdWithABool * fScintFiniteRiseTimeCmd
setFiniteRiseTime command
G4UIcmdWithAnInteger * fCerenkovMaxPhotonsCmd
G4UIcmdWithAnInteger * fWLS2VerboseLevelCmd
G4UIcmdWithABool * fCerenkovTrackSecondariesFirstCmd
virtual ~G4OpticalParametersMessenger()
G4UIcmdWithADouble * fCerenkovMaxBetaChangeCmd
setCerenkovMaxBetaChange command
G4UIcmdWithAnInteger * fCerenkovVerboseLevelCmd
G4UIdirectory * fCerenkovDir
G4UIcommand * fActivateProcessCmd
selectOpProcess command
G4UIdirectory * fScintDir
G4UIcmdWithAnInteger * fVerboseCmd
setProcessVerbose command
G4UIdirectory * fBoundaryDir
virtual void SetNewValue(G4UIcommand *, G4String)
G4UIcmdWithABool * fScintByParticleTypeCmd
setScintillationByParticleType command
G4UIcmdWithAnInteger * fAbsorptionVerboseLevelCmd
G4UIdirectory * fDir
command directory
G4UIcmdWithAnInteger * fWLSVerboseLevelCmd
G4UIcmdWithABool * fScintTrackInfoCmd
setScintillationTrackInfo command
G4UIcmdWithAString * fWLSTimeProfileCmd
setWLSTimeProfile command
G4OpticalParametersMessenger()=delete
G4UIcmdWithAnInteger * fScintVerboseLevelCmd
G4UIcmdWithAString * fWLS2TimeProfileCmd
setWLS2TimeProfile command
G4UIcmdWithABool * fCerenkovStackPhotonsCmd
setStackPhotons command
G4UIcmdWithAnInteger * fBoundaryVerboseLevelCmd
G4OpticalParameters * params
associated class
G4UIcmdWithAnInteger * fMieVerboseLevelCmd
G4UIcmdWithAnInteger * fRayleighVerboseLevelCmd
void SetScintByParticleType(G4bool)
void SetCerenkovMaxBetaChange(G4double)
void SetRayleighVerboseLevel(G4int)
void SetCerenkovMaxPhotonsPerStep(G4int)
void SetBoundaryInvokeSD(G4bool)
void SetBoundaryVerboseLevel(G4int)
void SetWLS2VerboseLevel(G4int)
void SetScintTrackSecondariesFirst(G4bool)
void SetScintVerboseLevel(G4int)
void SetScintStackPhotons(G4bool)
void SetVerboseLevel(G4int)
void SetWLS2TimeProfile(const G4String &)
G4int GetCerenkovMaxPhotonsPerStep() const
void SetAbsorptionVerboseLevel(G4int)
void SetCerenkovStackPhotons(G4bool)
void SetCerenkovTrackSecondariesFirst(G4bool)
void SetScintFiniteRiseTime(G4bool)
void SetMieVerboseLevel(G4int)
void SetScintTrackInfo(G4bool)
void SetWLSTimeProfile(const G4String &)
void SetCerenkovVerboseLevel(G4int)
void SetWLSVerboseLevel(G4int)
void SetProcessActivation(const G4String &, G4bool)
static G4bool GetNewBoolValue(const char *paramString)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4bool defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4double GetNewDoubleValue(const char *paramString)
void SetCandidates(const char *candidateList)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
void SetDefaultValue(G4int defVal)
void SetParameter(G4UIparameter *const newParameter)
void SetGuidance(const char *aGuidance)
static G4bool ConvertToBool(const char *st)
void SetRange(const char *rs)
void AvailableForStates(G4ApplicationState s1)
G4int ApplyCommand(const char *aCommand)
static G4UImanager * GetUIpointer()
void SetDefaultValue(const char *theDefaultValue)
void SetGuidance(const char *theGuidance)
void SetParameterCandidates(const char *theString)