64 fOpticalPhysics(opticalPhysics),
66 fActivateProcessCmd(nullptr),
68 fTrackSecondariesFirstCmd(nullptr),
70 fCerenkovMaxPhotonsCmd(nullptr),
71 fCerenkovMaxPhotons1Cmd(nullptr),
72 fCerenkovMaxBetaChangeCmd(nullptr),
73 fCerenkovMaxBetaChange1Cmd(nullptr),
74 fCerenkovStackPhotonsCmd(nullptr),
75 fCerenkovStackPhotons1Cmd(nullptr),
76 fCerenkovTrackSecondariesFirstCmd(nullptr),
77 fCerenkovVerbosityCmd(nullptr),
79 fScintYieldFactorCmd(nullptr),
80 fScintYieldFactor1Cmd(nullptr),
81 fScintByParticleTypeCmd(nullptr),
82 fScintByParticleType1Cmd(nullptr),
83 fScintTrackInfoCmd(nullptr),
84 fScintTrackInfo1Cmd(nullptr),
85 fScintStackPhotonsCmd(nullptr),
86 fScintStackPhotons1Cmd(nullptr),
87 fScintTrackSecondariesFirstCmd(nullptr),
88 fScintFiniteRiseTimeCmd(nullptr),
89 fScintFiniteRiseTime1Cmd(nullptr),
90 fScintVerbosityCmd(nullptr),
92 fWLSTimeProfileCmd(nullptr),
93 fWLSTimeProfile1Cmd(nullptr),
94 fWLSVerbosityCmd(nullptr),
96 fBoundaryInvokeSDCmd(nullptr),
97 fBoundaryInvokeSD1Cmd(nullptr),
98 fBoundaryVerbosityCmd(nullptr),
100 fAbsorptionVerbosityCmd(nullptr),
101 fRayleighVerbosityCmd(nullptr),
102 fMieVerbosityCmd(nullptr)
105 G4bool toBeBroadcasted =
false;
107 fDir->
SetGuidance(
"DEPRECATED Commands related to the optical physics simulation engine.");
109 fDir2->
SetGuidance(
"Commands related to the optical physics simulation engine.");
111 CreateDirectory(
"/process/optical/defaults/cerenkov/",
"DEPRECATED Cerenkov process commands");
112 CreateDirectory(
"/process/optical/defaults/scintillation/",
"DEPRECATED Scintillation process commands");
113 CreateDirectory(
"/process/optical/defaults/wls/",
"DEPRECATED Wave length shifting process commands");
114 CreateDirectory(
"/process/optical/defaults/boundary/",
"DEPRECATED Boundary scattering commands");
116 CreateDirectory(
"/process/optical/cerenkov/",
"Cerenkov process commands");
117 CreateDirectory(
"/process/optical/scintillation/",
"Scintillation process commands");
118 CreateDirectory(
"/process/optical/wls/",
"Wave length shifting process commands");
119 CreateDirectory(
"/process/optical/boundary/",
"Boundary scattering commands");
120 CreateDirectory(
"/process/optical/mie/",
"Mie scattering process commands");
121 CreateDirectory(
"/process/optical/absorption/",
"absorption process commands");
122 CreateDirectory(
"/process/optical/rayleigh/",
"Rayleigh scattering commands");
416 std::istringstream is(newValue.
data());
420 if ( pn ==
"Cerenkov" ) {
422 }
else if ( pn ==
"Scintillation" ) {
424 }
else if ( pn ==
"OpAbsorption" ) {
426 }
else if ( pn ==
"OpRayleigh" ) {
428 }
else if ( pn ==
"OpMieHG" ) {
430 }
else if ( pn ==
"OpBoundary" ) {
432 }
else if ( pn ==
"OpWLS" ) {
436 msg <<
"Not allowed process name: "<<pn<<
" (UI: "<<newValue<<
")";
444 std::istringstream is(newValue.
data());
448 if ( pn ==
"Cerenkov" ) {
450 }
else if ( pn ==
"Scintillation" ) {
452 }
else if ( pn ==
"OpAbsorption" ) {
454 }
else if ( pn ==
"OpRayleigh" ) {
456 }
else if ( pn ==
"OpMieHG" ) {
458 }
else if ( pn ==
"OpBoundary" ) {
460 }
else if ( pn ==
"OpWLS" ) {
464 msg <<
"Not allowed process name: "<<pn<<
" (UI: "<<newValue<<
")";
600 ed <<
" This command has been deprecated and will be removed in the next" <<
G4endl
601 <<
"major release. Use the same command without /defaults/ instead.";