Geant4-11
|
#include <G4OpticalParameters.hh>
Static Public Member Functions | |
static G4OpticalParameters * | Instance () |
Private Member Functions | |
G4OpticalParameters () | |
void | Initialise () |
G4bool | IsLocked () const |
void | PrintWarning (G4ExceptionDescription &ed) const |
Static Private Attributes | |
static G4OpticalParameters * | theInstance = nullptr |
Friends | |
std::ostream & | operator<< (std::ostream &os, const G4OpticalParameters &) |
Definition at line 104 of file G4OpticalParameters.hh.
G4OpticalParameters::~G4OpticalParameters | ( | ) |
Definition at line 80 of file G4OpticalParameters.cc.
References theMessenger.
|
private |
Definition at line 84 of file G4OpticalParameters.cc.
References fStateManager, G4StateManager::GetStateManager(), Initialise(), and theMessenger.
void G4OpticalParameters::Dump | ( | ) | const |
Definition at line 534 of file G4OpticalParameters.cc.
References G4cout, G4MUTEXLOCK, G4MUTEXUNLOCK, and StreamInfo().
Referenced by G4OpticalPhysics::PrintStatistics(), and G4OpticalParametersMessenger::SetNewValue().
G4int G4OpticalParameters::GetAbsorptionVerboseLevel | ( | ) | const |
Definition at line 440 of file G4OpticalParameters.cc.
References absorptionVerboseLevel.
G4bool G4OpticalParameters::GetBoundaryInvokeSD | ( | ) | const |
Definition at line 426 of file G4OpticalParameters.cc.
References boundaryInvokeSD.
Referenced by G4OpBoundaryProcess::Initialise().
G4int G4OpticalParameters::GetBoundaryVerboseLevel | ( | ) | const |
Definition at line 412 of file G4OpticalParameters.cc.
References boundaryVerboseLevel.
Referenced by G4OpBoundaryProcess::Initialise().
G4double G4OpticalParameters::GetCerenkovMaxBetaChange | ( | ) | const |
Definition at line 247 of file G4OpticalParameters.cc.
References cerenkovMaxBetaChange.
Referenced by G4Cerenkov::Initialise(), and G4Cerenkov::ProcessDescription().
G4int G4OpticalParameters::GetCerenkovMaxPhotonsPerStep | ( | ) | const |
Definition at line 233 of file G4OpticalParameters.cc.
References cerenkovMaxPhotons.
Referenced by G4Cerenkov::Initialise(), G4Cerenkov::ProcessDescription(), and G4OpticalParametersMessenger::SetNewValue().
G4bool G4OpticalParameters::GetCerenkovStackPhotons | ( | ) | const |
Definition at line 205 of file G4OpticalParameters.cc.
References cerenkovStackPhotons.
Referenced by G4Cerenkov::Initialise(), and G4Cerenkov::ProcessDescription().
G4bool G4OpticalParameters::GetCerenkovTrackSecondariesFirst | ( | ) | const |
Definition at line 261 of file G4OpticalParameters.cc.
References cerenkovTrackSecondariesFirst.
Referenced by G4Cerenkov::Initialise(), and G4Cerenkov::ProcessDescription().
G4int G4OpticalParameters::GetCerenkovVerboseLevel | ( | ) | const |
Definition at line 219 of file G4OpticalParameters.cc.
References cerenkovVerboseLevel.
Referenced by G4Cerenkov::Initialise(), and G4Cerenkov::ProcessDescription().
G4int G4OpticalParameters::GetMieVerboseLevel | ( | ) | const |
Definition at line 191 of file G4OpticalParameters.cc.
References processActivation.
Referenced by StreamInfo().
G4int G4OpticalParameters::GetRayleighVerboseLevel | ( | ) | const |
Definition at line 454 of file G4OpticalParameters.cc.
References rayleighVerboseLevel.
G4bool G4OpticalParameters::GetScintByParticleType | ( | ) | const |
Definition at line 275 of file G4OpticalParameters.cc.
References scintByParticleType.
Referenced by G4Scintillation::Initialise(), and G4Scintillation::ProcessDescription().
G4bool G4OpticalParameters::GetScintEnhancedTimeConstants | ( | ) | const |
G4bool G4OpticalParameters::GetScintFiniteRiseTime | ( | ) | const |
Definition at line 314 of file G4OpticalParameters.cc.
References scintFiniteRiseTime.
Referenced by G4Scintillation::Initialise(), and G4Scintillation::ProcessDescription().
G4bool G4OpticalParameters::GetScintStackPhotons | ( | ) | const |
Definition at line 328 of file G4OpticalParameters.cc.
References scintStackPhotons.
Referenced by G4Scintillation::Initialise(), and G4Scintillation::ProcessDescription().
G4bool G4OpticalParameters::GetScintTrackInfo | ( | ) | const |
Definition at line 289 of file G4OpticalParameters.cc.
References scintTrackInfo.
Referenced by G4Scintillation::Initialise(), and G4Scintillation::ProcessDescription().
G4bool G4OpticalParameters::GetScintTrackSecondariesFirst | ( | ) | const |
Definition at line 300 of file G4OpticalParameters.cc.
References scintTrackSecondariesFirst.
Referenced by G4Scintillation::Initialise(), and G4Scintillation::ProcessDescription().
G4int G4OpticalParameters::GetScintVerboseLevel | ( | ) | const |
Definition at line 342 of file G4OpticalParameters.cc.
References scintVerboseLevel.
Referenced by G4Scintillation::Initialise(), and G4Scintillation::ProcessDescription().
G4int G4OpticalParameters::GetVerboseLevel | ( | ) | const |
G4String G4OpticalParameters::GetWLS2TimeProfile | ( | ) | const |
Definition at line 384 of file G4OpticalParameters.cc.
References wls2TimeProfileName.
Referenced by G4OpWLS2::Initialise().
G4int G4OpticalParameters::GetWLS2VerboseLevel | ( | ) | const |
Definition at line 398 of file G4OpticalParameters.cc.
References wls2VerboseLevel.
Referenced by G4OpWLS2::Initialise().
G4String G4OpticalParameters::GetWLSTimeProfile | ( | ) | const |
Definition at line 356 of file G4OpticalParameters.cc.
References wlsTimeProfileName.
Referenced by G4OpWLS::Initialise().
G4int G4OpticalParameters::GetWLSVerboseLevel | ( | ) | const |
Definition at line 370 of file G4OpticalParameters.cc.
References wlsVerboseLevel.
Referenced by G4OpWLS::Initialise().
|
private |
Definition at line 100 of file G4OpticalParameters.cc.
References absorptionVerboseLevel, boundaryInvokeSD, boundaryVerboseLevel, cerenkovMaxBetaChange, cerenkovMaxPhotons, cerenkovStackPhotons, cerenkovTrackSecondariesFirst, cerenkovVerboseLevel, mieVerboseLevel, processActivation, rayleighVerboseLevel, scintByParticleType, scintFiniteRiseTime, scintStackPhotons, scintTrackInfo, scintTrackSecondariesFirst, scintVerboseLevel, verboseLevel, wls2TimeProfileName, wls2VerboseLevel, wlsTimeProfileName, and wlsVerboseLevel.
Referenced by G4OpticalParameters(), and SetDefaults().
|
static |
Definition at line 59 of file G4OpticalParameters.cc.
References G4MUTEXLOCK, G4MUTEXUNLOCK, and theInstance.
Referenced by G4OpticalPhysics::ConstructProcess(), G4OpticalPhysics::G4OpticalPhysics(), G4Cerenkov::Initialise(), G4Scintillation::Initialise(), G4OpAbsorption::Initialise(), G4OpBoundaryProcess::Initialise(), G4OpMieHG::Initialise(), G4OpRayleigh::Initialise(), G4OpWLS::Initialise(), G4OpWLS2::Initialise(), G4OpticalPhysics::PrintStatistics(), G4Scintillation::ProcessDescription(), G4Cerenkov::ProcessDescription(), G4Scintillation::SetFiniteRiseTime(), G4OpBoundaryProcess::SetInvokeSD(), G4Cerenkov::SetMaxBetaChangePerStep(), G4Cerenkov::SetMaxNumPhotonsPerStep(), G4Scintillation::SetScintillationByParticleType(), G4Scintillation::SetScintillationTrackInfo(), G4Cerenkov::SetStackPhotons(), G4Scintillation::SetStackPhotons(), G4Cerenkov::SetTrackSecondariesFirst(), G4Scintillation::SetTrackSecondariesFirst(), G4Cerenkov::SetVerboseLevel(), G4Scintillation::SetVerboseLevel(), G4OpAbsorption::SetVerboseLevel(), G4OpBoundaryProcess::SetVerboseLevel(), G4OpMieHG::SetVerboseLevel(), G4OpRayleigh::SetVerboseLevel(), G4OpWLS::SetVerboseLevel(), G4OpWLS2::SetVerboseLevel(), G4OpWLS::UseTimeProfile(), and G4OpWLS2::UseTimeProfile().
|
private |
Definition at line 551 of file G4OpticalParameters.cc.
References fStateManager, G4State_Idle, G4State_Init, G4State_PreInit, G4StateManager::GetCurrentState(), and G4Threading::IsMasterThread().
Referenced by SetAbsorptionVerboseLevel(), SetBoundaryInvokeSD(), SetBoundaryVerboseLevel(), SetCerenkovMaxBetaChange(), SetCerenkovMaxPhotonsPerStep(), SetCerenkovStackPhotons(), SetCerenkovTrackSecondariesFirst(), SetCerenkovVerboseLevel(), SetDefaults(), SetMieVerboseLevel(), SetProcessActivation(), SetRayleighVerboseLevel(), SetScintByParticleType(), SetScintFiniteRiseTime(), SetScintStackPhotons(), SetScintTrackInfo(), SetScintTrackSecondariesFirst(), SetScintVerboseLevel(), SetVerboseLevel(), SetWLS2TimeProfile(), SetWLS2VerboseLevel(), SetWLSTimeProfile(), and SetWLSVerboseLevel().
|
private |
Definition at line 473 of file G4OpticalParameters.cc.
References G4Exception(), and JustWarning.
void G4OpticalParameters::SetAbsorptionVerboseLevel | ( | G4int | val | ) |
Definition at line 431 of file G4OpticalParameters.cc.
References absorptionVerboseLevel, and IsLocked().
Referenced by G4OpticalParametersMessenger::SetNewValue(), SetVerboseLevel(), and G4OpAbsorption::SetVerboseLevel().
void G4OpticalParameters::SetBoundaryInvokeSD | ( | G4bool | val | ) |
Definition at line 417 of file G4OpticalParameters.cc.
References boundaryInvokeSD, and IsLocked().
Referenced by G4OpBoundaryProcess::SetInvokeSD(), and G4OpticalParametersMessenger::SetNewValue().
void G4OpticalParameters::SetBoundaryVerboseLevel | ( | G4int | val | ) |
Definition at line 403 of file G4OpticalParameters.cc.
References boundaryVerboseLevel, and IsLocked().
Referenced by G4OpticalParametersMessenger::SetNewValue(), SetVerboseLevel(), and G4OpBoundaryProcess::SetVerboseLevel().
void G4OpticalParameters::SetCerenkovMaxBetaChange | ( | G4double | val | ) |
Definition at line 238 of file G4OpticalParameters.cc.
References cerenkovMaxBetaChange, and IsLocked().
Referenced by G4Cerenkov::SetMaxBetaChangePerStep(), and G4OpticalParametersMessenger::SetNewValue().
void G4OpticalParameters::SetCerenkovMaxPhotonsPerStep | ( | G4int | val | ) |
Definition at line 224 of file G4OpticalParameters.cc.
References cerenkovMaxPhotons, and IsLocked().
Referenced by G4Cerenkov::SetMaxNumPhotonsPerStep(), and G4OpticalParametersMessenger::SetNewValue().
void G4OpticalParameters::SetCerenkovStackPhotons | ( | G4bool | val | ) |
Definition at line 196 of file G4OpticalParameters.cc.
References cerenkovStackPhotons, and IsLocked().
Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4Cerenkov::SetStackPhotons().
void G4OpticalParameters::SetCerenkovTrackSecondariesFirst | ( | G4bool | val | ) |
Definition at line 252 of file G4OpticalParameters.cc.
References cerenkovTrackSecondariesFirst, and IsLocked().
Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4Cerenkov::SetTrackSecondariesFirst().
void G4OpticalParameters::SetCerenkovVerboseLevel | ( | G4int | val | ) |
Definition at line 210 of file G4OpticalParameters.cc.
References cerenkovVerboseLevel, and IsLocked().
Referenced by G4OpticalParametersMessenger::SetNewValue(), SetVerboseLevel(), and G4Cerenkov::SetVerboseLevel().
void G4OpticalParameters::SetDefaults | ( | ) |
Definition at line 92 of file G4OpticalParameters.cc.
References Initialise(), and IsLocked().
void G4OpticalParameters::SetMieVerboseLevel | ( | G4int | val | ) |
Definition at line 459 of file G4OpticalParameters.cc.
References IsLocked(), and mieVerboseLevel.
Referenced by G4OpticalParametersMessenger::SetNewValue(), SetVerboseLevel(), and G4OpMieHG::SetVerboseLevel().
Definition at line 161 of file G4OpticalParameters.cc.
References FatalException, G4Exception(), IsLocked(), and processActivation.
Referenced by G4OpticalParametersMessenger::SetNewValue().
void G4OpticalParameters::SetRayleighVerboseLevel | ( | G4int | val | ) |
Definition at line 445 of file G4OpticalParameters.cc.
References IsLocked(), and rayleighVerboseLevel.
Referenced by G4OpticalParametersMessenger::SetNewValue(), SetVerboseLevel(), and G4OpRayleigh::SetVerboseLevel().
void G4OpticalParameters::SetScintByParticleType | ( | G4bool | val | ) |
Definition at line 266 of file G4OpticalParameters.cc.
References IsLocked(), and scintByParticleType.
Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4Scintillation::SetScintillationByParticleType().
void G4OpticalParameters::SetScintEnhancedTimeConstants | ( | G4bool | ) |
void G4OpticalParameters::SetScintFiniteRiseTime | ( | G4bool | val | ) |
Definition at line 305 of file G4OpticalParameters.cc.
References IsLocked(), and scintFiniteRiseTime.
Referenced by G4Scintillation::SetFiniteRiseTime(), and G4OpticalParametersMessenger::SetNewValue().
void G4OpticalParameters::SetScintStackPhotons | ( | G4bool | val | ) |
Definition at line 319 of file G4OpticalParameters.cc.
References IsLocked(), and scintStackPhotons.
Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4Scintillation::SetStackPhotons().
void G4OpticalParameters::SetScintTrackInfo | ( | G4bool | val | ) |
Definition at line 280 of file G4OpticalParameters.cc.
References IsLocked(), and scintTrackInfo.
Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4Scintillation::SetScintillationTrackInfo().
void G4OpticalParameters::SetScintTrackSecondariesFirst | ( | G4bool | val | ) |
Definition at line 291 of file G4OpticalParameters.cc.
References IsLocked(), and scintTrackSecondariesFirst.
Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4Scintillation::SetTrackSecondariesFirst().
void G4OpticalParameters::SetScintVerboseLevel | ( | G4int | val | ) |
Definition at line 333 of file G4OpticalParameters.cc.
References IsLocked(), and scintVerboseLevel.
Referenced by G4OpticalParametersMessenger::SetNewValue(), SetVerboseLevel(), and G4Scintillation::SetVerboseLevel().
void G4OpticalParameters::SetVerboseLevel | ( | G4int | val | ) |
Definition at line 142 of file G4OpticalParameters.cc.
References IsLocked(), SetAbsorptionVerboseLevel(), SetBoundaryVerboseLevel(), SetCerenkovVerboseLevel(), SetMieVerboseLevel(), SetRayleighVerboseLevel(), SetScintVerboseLevel(), SetWLS2VerboseLevel(), SetWLSVerboseLevel(), and verboseLevel.
Referenced by G4OpticalPhysics::G4OpticalPhysics(), and G4OpticalParametersMessenger::SetNewValue().
void G4OpticalParameters::SetWLS2TimeProfile | ( | const G4String & | val | ) |
Definition at line 375 of file G4OpticalParameters.cc.
References IsLocked(), and wls2TimeProfileName.
Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4OpWLS2::UseTimeProfile().
void G4OpticalParameters::SetWLS2VerboseLevel | ( | G4int | val | ) |
Definition at line 389 of file G4OpticalParameters.cc.
References IsLocked(), and wls2VerboseLevel.
Referenced by G4OpticalParametersMessenger::SetNewValue(), SetVerboseLevel(), and G4OpWLS2::SetVerboseLevel().
void G4OpticalParameters::SetWLSTimeProfile | ( | const G4String & | val | ) |
Definition at line 347 of file G4OpticalParameters.cc.
References IsLocked(), and wlsTimeProfileName.
Referenced by G4OpticalParametersMessenger::SetNewValue(), and G4OpWLS::UseTimeProfile().
void G4OpticalParameters::SetWLSVerboseLevel | ( | G4int | val | ) |
Definition at line 361 of file G4OpticalParameters.cc.
References IsLocked(), and wlsVerboseLevel.
Referenced by G4OpticalParametersMessenger::SetNewValue(), SetVerboseLevel(), and G4OpWLS::SetVerboseLevel().
void G4OpticalParameters::StreamInfo | ( | std::ostream & | os | ) | const |
Definition at line 478 of file G4OpticalParameters.cc.
References boundaryInvokeSD, cerenkovMaxBetaChange, cerenkovMaxPhotons, cerenkovStackPhotons, cerenkovTrackSecondariesFirst, GetProcessActivation(), CLHEP::prec, scintByParticleType, scintFiniteRiseTime, scintStackPhotons, scintTrackInfo, scintTrackSecondariesFirst, wls2TimeProfileName, and wlsTimeProfileName.
Referenced by Dump().
|
friend |
Definition at line 545 of file G4OpticalParameters.cc.
|
private |
Definition at line 236 of file G4OpticalParameters.hh.
Referenced by GetAbsorptionVerboseLevel(), Initialise(), and SetAbsorptionVerboseLevel().
|
private |
boundary G4OpBoundaryProcess to call InvokeSD method
Definition at line 246 of file G4OpticalParameters.hh.
Referenced by GetBoundaryInvokeSD(), Initialise(), SetBoundaryInvokeSD(), and StreamInfo().
|
private |
Definition at line 247 of file G4OpticalParameters.hh.
Referenced by GetBoundaryVerboseLevel(), Initialise(), and SetBoundaryVerboseLevel().
|
private |
Definition at line 203 of file G4OpticalParameters.hh.
Referenced by GetCerenkovMaxBetaChange(), Initialise(), SetCerenkovMaxBetaChange(), and StreamInfo().
|
private |
Definition at line 202 of file G4OpticalParameters.hh.
Referenced by GetCerenkovMaxPhotonsPerStep(), Initialise(), SetCerenkovMaxPhotonsPerStep(), and StreamInfo().
|
private |
Definition at line 199 of file G4OpticalParameters.hh.
Referenced by GetCerenkovStackPhotons(), Initialise(), SetCerenkovStackPhotons(), and StreamInfo().
|
private |
Definition at line 200 of file G4OpticalParameters.hh.
Referenced by GetCerenkovTrackSecondariesFirst(), Initialise(), SetCerenkovTrackSecondariesFirst(), and StreamInfo().
|
private |
Definition at line 201 of file G4OpticalParameters.hh.
Referenced by GetCerenkovVerboseLevel(), Initialise(), and SetCerenkovVerboseLevel().
|
private |
Definition at line 191 of file G4OpticalParameters.hh.
Referenced by G4OpticalParameters(), and IsLocked().
|
private |
Definition at line 242 of file G4OpticalParameters.hh.
Referenced by GetMieVerboseLevel(), Initialise(), and SetMieVerboseLevel().
Definition at line 196 of file G4OpticalParameters.hh.
Referenced by GetProcessActivation(), Initialise(), and SetProcessActivation().
|
private |
Definition at line 239 of file G4OpticalParameters.hh.
Referenced by GetRayleighVerboseLevel(), Initialise(), and SetRayleighVerboseLevel().
|
private |
option to allow for the light yield to be a function of particle type and deposited energy in case of non-linear light emission in scintillators
Definition at line 215 of file G4OpticalParameters.hh.
Referenced by GetScintByParticleType(), Initialise(), SetScintByParticleType(), and StreamInfo().
|
private |
option to set a finite rise-time; Note: the G4Scintillation process expects the user to have set the constant material property SCINTILLATIONRISETIME{1,2,3}
Definition at line 210 of file G4OpticalParameters.hh.
Referenced by GetScintFiniteRiseTime(), Initialise(), SetScintFiniteRiseTime(), and StreamInfo().
|
private |
option to allow stacking of secondary Scintillation photons
Definition at line 222 of file G4OpticalParameters.hh.
Referenced by GetScintStackPhotons(), Initialise(), SetScintStackPhotons(), and StreamInfo().
|
private |
option to allow for G4ScintillationTrackInformation to be attached to a scintillation photon's track
Definition at line 219 of file G4OpticalParameters.hh.
Referenced by GetScintTrackInfo(), Initialise(), SetScintTrackInfo(), and StreamInfo().
|
private |
Definition at line 225 of file G4OpticalParameters.hh.
Referenced by GetScintTrackSecondariesFirst(), Initialise(), SetScintTrackSecondariesFirst(), and StreamInfo().
|
private |
Definition at line 224 of file G4OpticalParameters.hh.
Referenced by GetScintVerboseLevel(), Initialise(), and SetScintVerboseLevel().
|
staticprivate |
Definition at line 188 of file G4OpticalParameters.hh.
Referenced by Instance().
|
private |
Definition at line 190 of file G4OpticalParameters.hh.
Referenced by G4OpticalParameters(), and ~G4OpticalParameters().
|
private |
Definition at line 193 of file G4OpticalParameters.hh.
Referenced by GetVerboseLevel(), Initialise(), and SetVerboseLevel().
|
private |
Definition at line 232 of file G4OpticalParameters.hh.
Referenced by GetWLS2TimeProfile(), Initialise(), SetWLS2TimeProfile(), and StreamInfo().
|
private |
Definition at line 233 of file G4OpticalParameters.hh.
Referenced by GetWLS2VerboseLevel(), Initialise(), and SetWLS2VerboseLevel().
|
private |
Definition at line 228 of file G4OpticalParameters.hh.
Referenced by GetWLSTimeProfile(), Initialise(), SetWLSTimeProfile(), and StreamInfo().
|
private |
Definition at line 229 of file G4OpticalParameters.hh.
Referenced by GetWLSVerboseLevel(), Initialise(), and SetWLSVerboseLevel().