00001 00002 #include "Physics/G4BuilderPhysicsList.h" 00003 #include "G4ParticleTypes.hh" 00004 00005 00006 G4BuilderPhysicsList::G4BuilderPhysicsList() 00007 {;} 00008 00009 G4BuilderPhysicsList::~G4BuilderPhysicsList() 00010 {;} 00011 00012 void G4BuilderPhysicsList::ConstructParticle() 00013 { 00014 // In this method, static member functions should be called 00015 // for all particles which you want to use. 00016 // This ensures that objects of these particle types will be 00017 // created in the program. 00018 00019 G4Geantino::GeantinoDefinition(); 00020 G4ChargedGeantino::ChargedGeantinoDefinition(); 00021 } 00022 00023 void G4BuilderPhysicsList::ConstructProcess() 00024 { 00025 // Define transportation process 00026 00027 AddTransportation(); 00028 } 00029 00030 void G4BuilderPhysicsList::SetCuts() 00031 { 00032 // uppress error messages even in case e/gamma/proton do not exist 00033 G4int temp = GetVerboseLevel(); 00034 SetVerboseLevel(0); 00035 // " G4VUserPhysicsList::SetCutsWithDefault" method sets 00036 // the default cut value for all particle types 00037 SetCutsWithDefault(); 00038 00039 // Retrieve verbose level 00040 SetVerboseLevel(temp); 00041 } 00042 00043 00044