Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4OpticalParameters Class Reference

#include <G4OpticalParameters.hh>

Public Member Functions

 ~G4OpticalParameters ()
 
void SetDefaults ()
 
void StreamInfo (std::ostream &os) const
 
void Dump () const
 
void SetVerboseLevel (G4int)
 
G4int GetVerboseLevel () const
 
void SetProcessActivation (const G4String &, G4bool)
 
G4bool GetProcessActivation (const G4String &) const
 
void SetCerenkovMaxPhotonsPerStep (G4int)
 
G4int GetCerenkovMaxPhotonsPerStep () const
 
void SetCerenkovVerboseLevel (G4int)
 
G4int GetCerenkovVerboseLevel () const
 
void SetCerenkovMaxBetaChange (G4double)
 
G4double GetCerenkovMaxBetaChange () const
 
void SetCerenkovTrackSecondariesFirst (G4bool)
 
G4bool GetCerenkovTrackSecondariesFirst () const
 
void SetCerenkovStackPhotons (G4bool)
 
G4bool GetCerenkovStackPhotons () const
 
void SetScintByParticleType (G4bool)
 
G4bool GetScintByParticleType () const
 
void SetScintTrackInfo (G4bool)
 
G4bool GetScintTrackInfo () const
 
void SetScintTrackSecondariesFirst (G4bool)
 
G4bool GetScintTrackSecondariesFirst () const
 
void SetScintFiniteRiseTime (G4bool)
 
G4bool GetScintFiniteRiseTime () const
 
void SetScintStackPhotons (G4bool)
 
G4bool GetScintStackPhotons () const
 
void SetScintVerboseLevel (G4int)
 
G4int GetScintVerboseLevel () const
 
void SetWLSTimeProfile (const G4String &)
 
G4String GetWLSTimeProfile () const
 
void SetWLSVerboseLevel (G4int)
 
G4int GetWLSVerboseLevel () const
 
void SetWLS2TimeProfile (const G4String &)
 
G4String GetWLS2TimeProfile () const
 
void SetWLS2VerboseLevel (G4int)
 
G4int GetWLS2VerboseLevel () const
 
void SetBoundaryVerboseLevel (G4int)
 
G4int GetBoundaryVerboseLevel () const
 
void SetBoundaryInvokeSD (G4bool)
 
G4bool GetBoundaryInvokeSD () const
 
void SetAbsorptionVerboseLevel (G4int)
 
G4int GetAbsorptionVerboseLevel () const
 
void SetRayleighVerboseLevel (G4int)
 
G4int GetRayleighVerboseLevel () const
 
void SetMieVerboseLevel (G4int)
 
G4int GetMieVerboseLevel () const
 

Static Public Member Functions

static G4OpticalParametersInstance ()
 

Friends

std::ostream & operator<< (std::ostream &os, const G4OpticalParameters &par)
 

Detailed Description

Definition at line 104 of file G4OpticalParameters.hh.

Constructor & Destructor Documentation

◆ ~G4OpticalParameters()

G4OpticalParameters::~G4OpticalParameters ( )

Definition at line 80 of file G4OpticalParameters.cc.

80{ delete theMessenger; }

Member Function Documentation

◆ Dump()

void G4OpticalParameters::Dump ( ) const

Definition at line 534 of file G4OpticalParameters.cc.

535{
536#ifdef G4MULTITHREADED
537 G4MUTEXLOCK(&opticalParametersMutex);
538#endif
540#ifdef G4MULTITHREADED
541 G4MUTEXUNLOCK(&opticalParametersMutex);
542#endif
543}
#define G4MUTEXLOCK(mutex)
#define G4MUTEXUNLOCK(mutex)
G4GLOB_DLL std::ostream G4cout
void StreamInfo(std::ostream &os) const

Referenced by G4OpticalPhysics::PrintStatistics(), and G4OpticalParametersMessenger::SetNewValue().

◆ GetAbsorptionVerboseLevel()

G4int G4OpticalParameters::GetAbsorptionVerboseLevel ( ) const

Definition at line 440 of file G4OpticalParameters.cc.

441{
442 return absorptionVerboseLevel;
443}

◆ GetBoundaryInvokeSD()

G4bool G4OpticalParameters::GetBoundaryInvokeSD ( ) const

Definition at line 426 of file G4OpticalParameters.cc.

427{
428 return boundaryInvokeSD;
429}

Referenced by G4OpBoundaryProcess::Initialise().

◆ GetBoundaryVerboseLevel()

G4int G4OpticalParameters::GetBoundaryVerboseLevel ( ) const

Definition at line 412 of file G4OpticalParameters.cc.

413{
414 return boundaryVerboseLevel;
415}

Referenced by G4OpBoundaryProcess::Initialise().

◆ GetCerenkovMaxBetaChange()

G4double G4OpticalParameters::GetCerenkovMaxBetaChange ( ) const

Definition at line 247 of file G4OpticalParameters.cc.

248{
249 return cerenkovMaxBetaChange;
250}

Referenced by G4Cerenkov::Initialise(), and G4Cerenkov::ProcessDescription().

◆ GetCerenkovMaxPhotonsPerStep()

G4int G4OpticalParameters::GetCerenkovMaxPhotonsPerStep ( ) const

Definition at line 233 of file G4OpticalParameters.cc.

234{
235 return cerenkovMaxPhotons;
236}

Referenced by G4Cerenkov::Initialise(), G4Cerenkov::ProcessDescription(), and G4OpticalParametersMessenger::SetNewValue().

◆ GetCerenkovStackPhotons()

G4bool G4OpticalParameters::GetCerenkovStackPhotons ( ) const

Definition at line 205 of file G4OpticalParameters.cc.

206{
207 return cerenkovStackPhotons;
208}

Referenced by G4Cerenkov::Initialise(), and G4Cerenkov::ProcessDescription().

◆ GetCerenkovTrackSecondariesFirst()

G4bool G4OpticalParameters::GetCerenkovTrackSecondariesFirst ( ) const

Definition at line 261 of file G4OpticalParameters.cc.

262{
263 return cerenkovTrackSecondariesFirst;
264}

Referenced by G4Cerenkov::Initialise(), and G4Cerenkov::ProcessDescription().

◆ GetCerenkovVerboseLevel()

G4int G4OpticalParameters::GetCerenkovVerboseLevel ( ) const

Definition at line 219 of file G4OpticalParameters.cc.

220{
221 return cerenkovVerboseLevel;
222}

Referenced by G4Cerenkov::Initialise(), and G4Cerenkov::ProcessDescription().

◆ GetMieVerboseLevel()

G4int G4OpticalParameters::GetMieVerboseLevel ( ) const

Definition at line 468 of file G4OpticalParameters.cc.

469{
470 return mieVerboseLevel;
471}

◆ GetProcessActivation()

G4bool G4OpticalParameters::GetProcessActivation ( const G4String & process) const

Definition at line 191 of file G4OpticalParameters.cc.

192{
193 return processActivation.find(process)->second;
194}

Referenced by StreamInfo().

◆ GetRayleighVerboseLevel()

G4int G4OpticalParameters::GetRayleighVerboseLevel ( ) const

Definition at line 454 of file G4OpticalParameters.cc.

455{
456 return rayleighVerboseLevel;
457}

◆ GetScintByParticleType()

G4bool G4OpticalParameters::GetScintByParticleType ( ) const

Definition at line 275 of file G4OpticalParameters.cc.

276{
277 return scintByParticleType;
278}

Referenced by G4Scintillation::Initialise(), and G4Scintillation::ProcessDescription().

◆ GetScintFiniteRiseTime()

G4bool G4OpticalParameters::GetScintFiniteRiseTime ( ) const

Definition at line 314 of file G4OpticalParameters.cc.

315{
316 return scintFiniteRiseTime;
317}

Referenced by G4Scintillation::Initialise(), and G4Scintillation::ProcessDescription().

◆ GetScintStackPhotons()

G4bool G4OpticalParameters::GetScintStackPhotons ( ) const

Definition at line 328 of file G4OpticalParameters.cc.

329{
330 return scintStackPhotons;
331}

Referenced by G4Scintillation::Initialise(), and G4Scintillation::ProcessDescription().

◆ GetScintTrackInfo()

G4bool G4OpticalParameters::GetScintTrackInfo ( ) const

Definition at line 289 of file G4OpticalParameters.cc.

289{ return scintTrackInfo; }

Referenced by G4Scintillation::Initialise(), and G4Scintillation::ProcessDescription().

◆ GetScintTrackSecondariesFirst()

G4bool G4OpticalParameters::GetScintTrackSecondariesFirst ( ) const

Definition at line 300 of file G4OpticalParameters.cc.

301{
302 return scintTrackSecondariesFirst;
303}

Referenced by G4Scintillation::Initialise(), and G4Scintillation::ProcessDescription().

◆ GetScintVerboseLevel()

G4int G4OpticalParameters::GetScintVerboseLevel ( ) const

Definition at line 342 of file G4OpticalParameters.cc.

343{
344 return scintVerboseLevel;
345}

Referenced by G4Scintillation::Initialise(), and G4Scintillation::ProcessDescription().

◆ GetVerboseLevel()

G4int G4OpticalParameters::GetVerboseLevel ( ) const

Definition at line 159 of file G4OpticalParameters.cc.

159{ return verboseLevel; }

◆ GetWLS2TimeProfile()

G4String G4OpticalParameters::GetWLS2TimeProfile ( ) const

Definition at line 384 of file G4OpticalParameters.cc.

385{
386 return wls2TimeProfileName;
387}

Referenced by G4OpWLS2::Initialise().

◆ GetWLS2VerboseLevel()

G4int G4OpticalParameters::GetWLS2VerboseLevel ( ) const

Definition at line 398 of file G4OpticalParameters.cc.

399{
400 return wls2VerboseLevel;
401}

Referenced by G4OpWLS2::Initialise().

◆ GetWLSTimeProfile()

G4String G4OpticalParameters::GetWLSTimeProfile ( ) const

Definition at line 356 of file G4OpticalParameters.cc.

357{
358 return wlsTimeProfileName;
359}

Referenced by G4OpWLS::Initialise().

◆ GetWLSVerboseLevel()

G4int G4OpticalParameters::GetWLSVerboseLevel ( ) const

Definition at line 370 of file G4OpticalParameters.cc.

371{
372 return wlsVerboseLevel;
373}

Referenced by G4OpWLS::Initialise().

◆ Instance()

G4OpticalParameters * G4OpticalParameters::Instance ( )
static

Definition at line 59 of file G4OpticalParameters.cc.

60{
61 if(nullptr == theInstance)
62 {
63#ifdef G4MULTITHREADED
64 G4MUTEXLOCK(&opticalParametersMutex);
65 if(nullptr == theInstance)
66 {
67#endif
68 static G4OpticalParameters manager;
69 theInstance = &manager;
70#ifdef G4MULTITHREADED
71 }
72 G4MUTEXUNLOCK(&opticalParametersMutex);
73#endif
74 }
75 return theInstance;
76}

Referenced by G4OpticalPhysics::ConstructProcess(), G4OpticalPhysics::G4OpticalPhysics(), G4Cerenkov::Initialise(), G4OpAbsorption::Initialise(), G4OpBoundaryProcess::Initialise(), G4OpMieHG::Initialise(), G4OpRayleigh::Initialise(), G4OpWLS2::Initialise(), G4OpWLS::Initialise(), G4Scintillation::Initialise(), G4OpticalPhysics::PrintStatistics(), G4Cerenkov::ProcessDescription(), G4Scintillation::ProcessDescription(), G4Scintillation::SetFiniteRiseTime(), G4OpBoundaryProcess::SetInvokeSD(), G4Cerenkov::SetMaxBetaChangePerStep(), G4Cerenkov::SetMaxNumPhotonsPerStep(), G4Scintillation::SetScintillationByParticleType(), G4Scintillation::SetScintillationTrackInfo(), G4Cerenkov::SetStackPhotons(), G4Scintillation::SetStackPhotons(), G4Cerenkov::SetTrackSecondariesFirst(), G4Scintillation::SetTrackSecondariesFirst(), G4Cerenkov::SetVerboseLevel(), G4OpAbsorption::SetVerboseLevel(), G4OpBoundaryProcess::SetVerboseLevel(), G4OpMieHG::SetVerboseLevel(), G4OpRayleigh::SetVerboseLevel(), G4OpWLS2::SetVerboseLevel(), G4OpWLS::SetVerboseLevel(), G4Scintillation::SetVerboseLevel(), G4OpWLS2::UseTimeProfile(), and G4OpWLS::UseTimeProfile().

◆ SetAbsorptionVerboseLevel()

void G4OpticalParameters::SetAbsorptionVerboseLevel ( G4int val)

Definition at line 431 of file G4OpticalParameters.cc.

432{
433 if(IsLocked())
434 {
435 return;
436 }
437 absorptionVerboseLevel = val;
438}

Referenced by G4OpticalParametersMessenger::SetNewValue(), G4OpAbsorption::SetVerboseLevel(), and SetVerboseLevel().

◆ SetBoundaryInvokeSD()

void G4OpticalParameters::SetBoundaryInvokeSD ( G4bool val)

Definition at line 417 of file G4OpticalParameters.cc.

418{
419 if(IsLocked())
420 {
421 return;
422 }
423 boundaryInvokeSD = val;
424}

Referenced by G4OpBoundaryProcess::SetInvokeSD(), and G4OpticalParametersMessenger::SetNewValue().

◆ SetBoundaryVerboseLevel()

void G4OpticalParameters::SetBoundaryVerboseLevel ( G4int val)

Definition at line 403 of file G4OpticalParameters.cc.

404{
405 if(IsLocked())
406 {
407 return;
408 }
409 boundaryVerboseLevel = val;
410}

Referenced by G4OpticalParametersMessenger::SetNewValue(), G4OpBoundaryProcess::SetVerboseLevel(), and SetVerboseLevel().

◆ SetCerenkovMaxBetaChange()

void G4OpticalParameters::SetCerenkovMaxBetaChange ( G4double val)

Definition at line 238 of file G4OpticalParameters.cc.

239{
240 if(IsLocked())
241 {
242 return;
243 }
244 cerenkovMaxBetaChange = val;
245}

Referenced by G4Cerenkov::SetMaxBetaChangePerStep(), and G4OpticalParametersMessenger::SetNewValue().

◆ SetCerenkovMaxPhotonsPerStep()

void G4OpticalParameters::SetCerenkovMaxPhotonsPerStep ( G4int val)

Definition at line 224 of file G4OpticalParameters.cc.

225{
226 if(IsLocked())
227 {
228 return;
229 }
230 cerenkovMaxPhotons = val;
231}

Referenced by G4Cerenkov::SetMaxNumPhotonsPerStep(), and G4OpticalParametersMessenger::SetNewValue().

◆ SetCerenkovStackPhotons()

void G4OpticalParameters::SetCerenkovStackPhotons ( G4bool val)

Definition at line 196 of file G4OpticalParameters.cc.

197{
198 if(IsLocked())
199 {
200 return;
201 }
202 cerenkovStackPhotons = val;
203}

Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4Cerenkov::SetStackPhotons().

◆ SetCerenkovTrackSecondariesFirst()

void G4OpticalParameters::SetCerenkovTrackSecondariesFirst ( G4bool val)

Definition at line 252 of file G4OpticalParameters.cc.

253{
254 if(IsLocked())
255 {
256 return;
257 }
258 cerenkovTrackSecondariesFirst = val;
259}

Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4Cerenkov::SetTrackSecondariesFirst().

◆ SetCerenkovVerboseLevel()

void G4OpticalParameters::SetCerenkovVerboseLevel ( G4int val)

Definition at line 210 of file G4OpticalParameters.cc.

211{
212 if(IsLocked())
213 {
214 return;
215 }
216 cerenkovVerboseLevel = val;
217}

Referenced by G4OpticalParametersMessenger::SetNewValue(), G4Cerenkov::SetVerboseLevel(), and SetVerboseLevel().

◆ SetDefaults()

void G4OpticalParameters::SetDefaults ( )

Definition at line 92 of file G4OpticalParameters.cc.

93{
94 if(!IsLocked())
95 {
96 Initialise();
97 }
98}

◆ SetMieVerboseLevel()

void G4OpticalParameters::SetMieVerboseLevel ( G4int val)

Definition at line 459 of file G4OpticalParameters.cc.

460{
461 if(IsLocked())
462 {
463 return;
464 }
465 mieVerboseLevel = val;
466}

Referenced by G4OpticalParametersMessenger::SetNewValue(), G4OpMieHG::SetVerboseLevel(), and SetVerboseLevel().

◆ SetProcessActivation()

void G4OpticalParameters::SetProcessActivation ( const G4String & process,
G4bool val )

Definition at line 161 of file G4OpticalParameters.cc.

163{
164 // Configure the physics constructor to use/not use a selected process.
165 // This method can only be called in PreInit> phase (before execution of
166 // ConstructProcess). The process is not added to particle's process manager
167 // and so it cannot be re-activated later in Idle> phase with the command
168 // /process/activate.
169
170 if(IsLocked())
171 {
172 return;
173 }
174 if(processActivation[process] == val)
175 return;
176
177 // processActivation keys defined at initialisation
178 if(processActivation.find(process) != processActivation.end())
179 {
180 processActivation[process] = val;
181 }
182 else
183 {
185 ed << "Process name " << process << " out of bounds.";
186 G4Exception("G4OpticalParameters::SetProcessActivation()", "Optical013",
187 FatalException, ed);
188 }
189}
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription

Referenced by G4OpticalParametersMessenger::SetNewValue().

◆ SetRayleighVerboseLevel()

void G4OpticalParameters::SetRayleighVerboseLevel ( G4int val)

Definition at line 445 of file G4OpticalParameters.cc.

446{
447 if(IsLocked())
448 {
449 return;
450 }
451 rayleighVerboseLevel = val;
452}

Referenced by G4OpticalParametersMessenger::SetNewValue(), G4OpRayleigh::SetVerboseLevel(), and SetVerboseLevel().

◆ SetScintByParticleType()

void G4OpticalParameters::SetScintByParticleType ( G4bool val)

Definition at line 266 of file G4OpticalParameters.cc.

267{
268 if(IsLocked())
269 {
270 return;
271 }
272 scintByParticleType = val;
273}

Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4Scintillation::SetScintillationByParticleType().

◆ SetScintFiniteRiseTime()

void G4OpticalParameters::SetScintFiniteRiseTime ( G4bool val)

Definition at line 305 of file G4OpticalParameters.cc.

306{
307 if(IsLocked())
308 {
309 return;
310 }
311 scintFiniteRiseTime = val;
312}

Referenced by G4Scintillation::SetFiniteRiseTime(), and G4OpticalParametersMessenger::SetNewValue().

◆ SetScintStackPhotons()

void G4OpticalParameters::SetScintStackPhotons ( G4bool val)

Definition at line 319 of file G4OpticalParameters.cc.

320{
321 if(IsLocked())
322 {
323 return;
324 }
325 scintStackPhotons = val;
326}

Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4Scintillation::SetStackPhotons().

◆ SetScintTrackInfo()

void G4OpticalParameters::SetScintTrackInfo ( G4bool val)

Definition at line 280 of file G4OpticalParameters.cc.

281{
282 if(IsLocked())
283 {
284 return;
285 }
286 scintTrackInfo = val;
287}

Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4Scintillation::SetScintillationTrackInfo().

◆ SetScintTrackSecondariesFirst()

void G4OpticalParameters::SetScintTrackSecondariesFirst ( G4bool val)

Definition at line 291 of file G4OpticalParameters.cc.

292{
293 if(IsLocked())
294 {
295 return;
296 }
297 scintTrackSecondariesFirst = val;
298}

Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4Scintillation::SetTrackSecondariesFirst().

◆ SetScintVerboseLevel()

void G4OpticalParameters::SetScintVerboseLevel ( G4int val)

Definition at line 333 of file G4OpticalParameters.cc.

334{
335 if(IsLocked())
336 {
337 return;
338 }
339 scintVerboseLevel = val;
340}

Referenced by G4OpticalParametersMessenger::SetNewValue(), SetVerboseLevel(), and G4Scintillation::SetVerboseLevel().

◆ SetVerboseLevel()

void G4OpticalParameters::SetVerboseLevel ( G4int val)

Definition at line 142 of file G4OpticalParameters.cc.

143{
144 if(IsLocked())
145 {
146 return;
147 }
148 verboseLevel = val;
149 SetCerenkovVerboseLevel(verboseLevel);
150 SetScintVerboseLevel(verboseLevel);
151 SetRayleighVerboseLevel(verboseLevel);
152 SetAbsorptionVerboseLevel(verboseLevel);
153 SetMieVerboseLevel(verboseLevel);
154 SetBoundaryVerboseLevel(verboseLevel);
155 SetWLSVerboseLevel(verboseLevel);
156 SetWLS2VerboseLevel(verboseLevel);
157}
void SetAbsorptionVerboseLevel(G4int)

Referenced by G4OpticalPhysics::G4OpticalPhysics(), and G4OpticalParametersMessenger::SetNewValue().

◆ SetWLS2TimeProfile()

void G4OpticalParameters::SetWLS2TimeProfile ( const G4String & val)

Definition at line 375 of file G4OpticalParameters.cc.

376{
377 if(IsLocked())
378 {
379 return;
380 }
381 wls2TimeProfileName = val;
382}

Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4OpWLS2::UseTimeProfile().

◆ SetWLS2VerboseLevel()

void G4OpticalParameters::SetWLS2VerboseLevel ( G4int val)

Definition at line 389 of file G4OpticalParameters.cc.

390{
391 if(IsLocked())
392 {
393 return;
394 }
395 wls2VerboseLevel = val;
396}

Referenced by G4OpticalParametersMessenger::SetNewValue(), SetVerboseLevel(), and G4OpWLS2::SetVerboseLevel().

◆ SetWLSTimeProfile()

void G4OpticalParameters::SetWLSTimeProfile ( const G4String & val)

Definition at line 347 of file G4OpticalParameters.cc.

348{
349 if(IsLocked())
350 {
351 return;
352 }
353 wlsTimeProfileName = val;
354}

Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4OpWLS::UseTimeProfile().

◆ SetWLSVerboseLevel()

void G4OpticalParameters::SetWLSVerboseLevel ( G4int val)

Definition at line 361 of file G4OpticalParameters.cc.

362{
363 if(IsLocked())
364 {
365 return;
366 }
367 wlsVerboseLevel = val;
368}

Referenced by G4OpticalParametersMessenger::SetNewValue(), SetVerboseLevel(), and G4OpWLS::SetVerboseLevel().

◆ StreamInfo()

void G4OpticalParameters::StreamInfo ( std::ostream & os) const

Definition at line 478 of file G4OpticalParameters.cc.

479{
480 G4long prec = os.precision(5);
481 os
482 << "======================================================================="
483 << "\n";
484 os
485 << "====== Optical Physics Parameters ========"
486 << "\n";
487 os
488 << "======================================================================="
489 << "\n";
490
491 os << " Cerenkov process active: "
492 << GetProcessActivation("Cerenkov") << "\n";
493 os << " Cerenkov maximum photons per step: " << cerenkovMaxPhotons
494 << "\n";
495 os << " Cerenkov maximum beta change per step: " << cerenkovMaxBetaChange
496 << " %\n";
497 os << " Cerenkov stack photons: " << cerenkovStackPhotons
498 << "\n";
499 os << " Cerenkov track secondaries first: "
500 << cerenkovTrackSecondariesFirst << "\n";
501 os << " Scintillation process active: "
502 << GetProcessActivation("Scintillation") << "\n";
503 os << " Scintillation finite rise time: " << scintFiniteRiseTime
504 << "\n";
505 os << " Scintillation by particle type: " << scintByParticleType
506 << "\n";
507 os << " Scintillation record track info: " << scintTrackInfo << "\n";
508 os << " Scintillation stack photons: " << scintStackPhotons << "\n";
509 os << " Scintillation track secondaries first: " << scintTrackSecondariesFirst
510 << "\n";
511 os << " WLS process active: "
512 << GetProcessActivation("OpWLS") << "\n";
513 os << " WLS time profile name: " << wlsTimeProfileName
514 << "\n";
515 os << " WLS2 process active: "
516 << GetProcessActivation("OpWLS2") << "\n";
517 os << " WLS2 time profile name: " << wls2TimeProfileName
518 << "\n";
519 os << " Boundary process active: "
520 << GetProcessActivation("OpBoundary") << "\n";
521 os << " Boundary invoke sensitive detector: " << boundaryInvokeSD << "\n";
522 os << " Rayleigh process active: "
523 << GetProcessActivation("OpRayleigh") << "\n";
524 os << " MieHG process active: "
525 << GetProcessActivation("OpMieHG") << "\n";
526 os << " Absorption process active: "
527 << GetProcessActivation("OpAbsorption") << "\n";
528 os
529 << "======================================================================="
530 << "\n";
531 os.precision(prec);
532}
long G4long
Definition G4Types.hh:87
G4bool GetProcessActivation(const G4String &) const

Referenced by Dump().

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const G4OpticalParameters & par )
friend

Definition at line 545 of file G4OpticalParameters.cc.

546{
547 par.StreamInfo(os);
548 return os;
549}

The documentation for this class was generated from the following files: