#include "PhysicsList.hh" #include "globals.hh" #include "G4ParticleDefinition.hh" #include "G4ParticleWithCuts.hh" #include "G4ProcessManager.hh" #include "G4ProcessVector.hh" #include "G4ParticleTypes.hh" #include "G4ParticleTable.hh" #include "G4Material.hh" #include "G4MaterialTable.hh" #include "G4ios.hh" #include "GeneralPhysics.hh" #include "EMPhysics.hh" #include "MuonPhysics.hh" #include "HadronPhysics.hh" #include "IonPhysics.hh" PhysicsList::PhysicsList(): G4VModularPhysicsList() { // default cut value (1.0mm) defaultCutValue = 0.1*mm; SetVerboseLevel(1); // General Physics RegisterPhysics( new GeneralPhysics("general") ); // EM Physics RegisterPhysics( new EMPhysics("standard EM")); // Muon Physics RegisterPhysics( new MuonPhysics("muon")); // Hadron Physics RegisterPhysics( new HadronPhysics("hadron")); // Ion Physics RegisterPhysics( new IonPhysics("ion")); } PhysicsList::~PhysicsList() { } void PhysicsList::SetCuts() { // " G4VUserPhysicsList::SetCutsWithDefault" method sets // the default cut value for all particle types SetCutsWithDefault(); G4cout<<"CutLength : "<0) DumpCutValuesTable(); }