86 G4cout <<
"G4OpticalPhysics:: Add Optical Physics Processes" <<
G4endl;
97 ed <<
"Optical Photon without a Process Manager";
103 if(params->GetProcessActivation(
"OpAbsorption"))
107 if(params->GetProcessActivation(
"OpRayleigh"))
111 if(params->GetProcessActivation(
"OpMieHG"))
115 if(params->GetProcessActivation(
"OpBoundary"))
119 if(params->GetProcessActivation(
"OpWLS"))
123 if(params->GetProcessActivation(
"OpWLS2"))
133 myParticleIterator->reset();
135 while((*myParticleIterator)())
144 ed <<
"Particle " << particleName <<
"without a Process Manager";
151 params->GetProcessActivation(
"Cerenkov"))
157 params->GetProcessActivation(
"Scintillation"))
164 params->GetProcessActivation(
"OpBoundary"))
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)
G4GLOB_DLL std::ostream G4cout
G4bool IsApplicable(const G4ParticleDefinition &aParticleType) override
static G4LossTableManager * Instance()
G4EmSaturation * EmSaturation()
virtual G4bool IsApplicable(const G4ParticleDefinition &aParticleType) override
void SetVerboseLevel(G4int)
static G4OpticalParameters * Instance()
static G4OpticalPhoton * OpticalPhotonDefinition()
static G4OpticalPhoton * OpticalPhoton()
void ConstructProcess() override
~G4OpticalPhysics() override
void ConstructParticle() override
void PrintStatistics() const
G4OpticalPhysics(G4int verbose=0, const G4String &name="Optical")
G4ProcessManager * GetProcessManager() const
const G4String & GetParticleName() const
void SetProcessOrdering(G4VProcess *aProcess, G4ProcessVectorDoItIndex idDoIt, G4int ordDoIt=ordDefault)
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4int AddProcess(G4VProcess *aProcess, G4int ordAtRestDoIt=ordInActive, G4int ordAlongSteptDoIt=ordInActive, G4int ordPostStepDoIt=ordInActive)
void SetProcessOrderingToLast(G4VProcess *aProcess, G4ProcessVectorDoItIndex idDoIt)
void AddSaturation(G4EmSaturation *sat)
G4bool IsApplicable(const G4ParticleDefinition &aParticleType) override
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const