Apply command to the associated object.
187 std::istringstream is(newValue.
data());
191 if ( pn ==
"Cerenkov" ) {
193 }
else if ( pn ==
"Scintillation" ) {
195 }
else if ( pn ==
"OpAbsorption" ) {
197 }
else if ( pn ==
"OpRayleigh" ) {
199 }
else if ( pn ==
"OpMieHG" ) {
201 }
else if ( pn ==
"OpBoundary" ) {
203 }
else if ( pn ==
"OpWLS" ) {
207 msg <<
"Not allowed process name: "<<pn<<
" (UI: "<<newValue<<
")";
214 std::istringstream is(newValue.
data());
218 if ( pn ==
"Cerenkov" ) {
220 }
else if ( pn ==
"Scintillation" ) {
222 }
else if ( pn ==
"OpAbsorption" ) {
224 }
else if ( pn ==
"OpRayleigh" ) {
226 }
else if ( pn ==
"OpMieHG" ) {
228 }
else if ( pn ==
"OpBoundary" ) {
230 }
else if ( pn ==
"OpWLS" ) {
234 msg <<
"Not allowed process name: "<<pn<<
" (UI: "<<newValue<<
")";
G4OpticalPhysics * fOpticalPhysics
associated class
G4UIcmdWithABool * fSetFiniteRiseTimeCmd
setFiniteRiseTime command
const char * data() const
std::ostringstream G4ExceptionDescription
G4OpticalProcessIndex fSelectedProcessIndex
selected optical process
static G4int GetNewIntValue(const char *paramString)
void SetMaxBetaChangePerStep(G4double)
G4UIcmdWithAString * fSetWLSTimeProfileCmd
setWLSTimeProfile command
Scintillation process index.
G4UIcommand * fActivateProcessCmd
selectOpProcess command
Mie scattering process index.
G4UIcmdWithAnInteger * fSetOpProcessVerboseCmd
setProcessVerbose command
void SetFiniteRiseTime(G4bool)
Absorption process index.
static G4bool GetNewBoolValue(const char *paramString)
void SetScintillationByParticleType(G4bool)
G4UIcmdWithAnInteger * fSetCerenkovMaxPhotonsCmd
setCerenkovMaxPhotons command
void SetMaxNumPhotonsPerStep(G4int)
void Configure(G4OpticalProcessIndex, G4bool)
static G4double GetNewDoubleValue(const char *paramString)
void SetVerboseLevel(G4int value)
G4UIcmdWithABool * fSetScintillationByParticleTypeCmd
setScintillationByParticleType command
Wave Length Shifting process index.
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void SetScintillationYieldFactor(G4double)
void SetWLSTimeProfile(G4String)
void SetTrackSecondariesFirst(G4OpticalProcessIndex, G4bool)
G4UIcmdWithADouble * fSetScintillationYieldFactorCmd
setScintillationYieldFactor command
G4UIcmdWithADouble * fSetCerenkovMaxBetaChangeCmd
setCerenkovMaxBetaChange command
G4UIcommand * fSetTrackSecondariesFirstCmd
setTrackSecondariesFirst command
Rayleigh scattering process index.