130 MF_LOG_DEBUG(
"FastOpticalPhysics") <<
"PROCESSES BEING CONSTRUCTED IN OPTICAL PHYSICS";
146 mf::LogInfo(
"FastOpticalPhysics") <<
"Cerenkov enabled : " << CerenkovEnabled;
147 static G4ParticleTable* fParticleTable = G4ParticleTable::GetParticleTable();
148 G4ParticleTable::G4PTblDicIterator* aParticleIterator;
149 aParticleIterator = fParticleTable->GetIterator();
150 aParticleIterator->reset();
151 while ((*aParticleIterator)()) {
152 G4ParticleDefinition* particle = aParticleIterator->value();
153 G4ProcessManager* pmanager = particle->GetProcessManager();
154 G4String particleName = particle->GetParticleName();
162 pmanager->AddProcess(ptr);
163 pmanager->SetProcessOrderingToLast(ptr, idxAtRest);
164 pmanager->SetProcessOrderingToLast(ptr, idxPostStep);
167 if (particleName ==
"opticalphoton") {
168 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