Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion source/physics/src/GatePhysicsList.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
#include "G4LossTableManager.hh"
#include "G4UAtomicDeexcitation.hh"
#include "G4RadioactiveDecayPhysics.hh"
#include "G4QuasiOpticalPhoton.hh"

#include "GatePhysicsList.hh"
#include "GateUserLimits.hh"
Expand Down Expand Up @@ -337,7 +338,10 @@ void GatePhysicsList::ConstructPhysicsList(G4String name)
pl = new G4EmStandardPhysics_option3();
}
if (mUserPhysicListName == "emstandard_opt4") {
pl = new G4EmStandardPhysics_option4();

GateWarning("Since Geant4 11.4.0 it is recommended to use G4EmStandardPhysics_option3 instead of opt4... Switching from opt4 to opt3 automatically for you");
//pl = new G4EmStandardPhysics_option4();
pl = new G4EmStandardPhysics_option3();
}
if (mUserPhysicListName == "emstandard_SS") {
pl = new G4EmStandardPhysicsSS();
Expand Down Expand Up @@ -496,6 +500,8 @@ void GatePhysicsList::ConstructParticle()
//Construct positroniums
GateParaPositronium::ParaPositroniumDefinition();
GateOrthoPositronium::OrthoPositroniumDefinition();

G4QuasiOpticalPhoton::QuasiOpticalPhotonDefinition();
}
//-----------------------------------------------------------------------------------------

Expand Down
Loading