128 MF_LOG_DEBUG(
"FastOpticalPhysics") <<
"PROCESSES BEING CONSTRUCTED IN OPTICAL PHYSICS";
144 mf::LogInfo(
"FastOpticalPhysics") <<
"Cerenkov enabled : " << CerenkovEnabled;
145 static G4ParticleTable* fParticleTable = G4ParticleTable::GetParticleTable();
146 G4ParticleTable::G4PTblDicIterator* aParticleIterator;
147 aParticleIterator = fParticleTable->GetIterator();
148 aParticleIterator->reset();
149 while ((*aParticleIterator)()) {
150 G4ParticleDefinition* particle = aParticleIterator->value();
151 G4ProcessManager* pmanager = particle->GetProcessManager();
152 G4String particleName = particle->GetParticleName();
160 pmanager->AddProcess(ptr);
161 pmanager->SetProcessOrderingToLast(ptr, idxAtRest);
162 pmanager->SetProcessOrderingToLast(ptr, idxPostStep);
165 if (particleName ==
"opticalphoton") {
166 mf::LogInfo(
"FastOptical") <<
" AddDiscreteProcess to OpticalPhoton ";
virtual bool CerenkovLightEnabled() const =0
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo
G4OpAbsorption * fTheAbsorptionProcess
std::unique_ptr< OpFastScintillation > fTheScintillationProcess
OpBoundaryProcessSimple * fTheBoundaryProcess
G4OpRayleigh * fTheRayleighScatteringProcess
G4Cerenkov * fTheCerenkovProcess