00001 // 00002 // ******************************************************************** 00003 // * DISCLAIMER * 00004 // * * 00005 // * The following disclaimer summarizes all the specific disclaimers * 00006 // * of contributors to this software. The specific disclaimers,which * 00007 // * govern, are listed with their locations in: * 00008 // * http://cern.ch/geant4/license * 00009 // * * 00010 // * Neither the authors of this software system, nor their employing * 00011 // * institutes,nor the agencies providing financial support for this * 00012 // * work make any representation or warranty, express or implied, * 00013 // * regarding this software system or assume any liability for its * 00014 // * use. * 00015 // * * 00016 // * This code implementation is the intellectual property of the * 00017 // * GEANT4 collaboration. * 00018 // * By copying, distributing or modifying the Program (or any work * 00019 // * based on the Program) you indicate your acceptance of this * 00020 // * statement, and all its terms. * 00021 // ******************************************************************** 00022 // 00023 // 00024 // $Id: ExN04PhysicsList.cxx,v 1.1.1.1 2004/09/28 05:16:53 liwd Exp $ 00025 // GEANT4 tag $Name: G4Svc-00-01-52 $ 00026 // 00027 // 00028 00029 #include <cmath> 00030 00031 #include "Physics/ExN04PhysicsList.hh" 00032 00033 #include "globals.hh" 00034 #include "G4ParticleDefinition.hh" 00035 #include "G4ParticleWithCuts.hh" 00036 #include "G4ProcessManager.hh" 00037 #include "G4ProcessVector.hh" 00038 #include "G4ParticleTypes.hh" 00039 #include "G4ParticleTable.hh" 00040 00041 #include "G4Material.hh" 00042 #include "G4MaterialTable.hh" 00043 #include "G4ios.hh" 00044 00045 #include "Physics/ExN04GeneralPhysics.hh" 00046 #include "Physics/ExN04EMPhysics.hh" 00047 #include "Physics/ExN04MuonPhysics.hh" 00048 #include "Physics/ExN04HadronPhysics.hh" 00049 #include "Physics/ExN04IonPhysics.hh" 00050 00051 ExN04PhysicsList::ExN04PhysicsList(): G4VModularPhysicsList() 00052 { 00053 // default cut value (1.0mm) 00054 defaultCutValue = 1.0*mm; 00055 SetVerboseLevel(1); 00056 00057 // General Physics 00058 RegisterPhysics( new ExN04GeneralPhysics("general") ); 00059 00060 // EM Physics 00061 RegisterPhysics( new ExN04EMPhysics("standard EM")); 00062 00063 // Muon Physics 00064 RegisterPhysics( new ExN04MuonPhysics("muon")); 00065 00066 // Hadron Physics 00067 RegisterPhysics( new ExN04HadronPhysics("hadron")); 00068 00069 // Ion Physics 00070 RegisterPhysics( new ExN04IonPhysics("ion")); 00071 00072 00073 } 00074 00075 ExN04PhysicsList::~ExN04PhysicsList() 00076 { 00077 } 00078 00079 void ExN04PhysicsList::SetCuts() 00080 { 00081 // " G4VUserPhysicsList::SetCutsWithDefault" method sets 00082 // the default cut value for all particle types 00083 SetCutsWithDefault(); 00084 } 00085 00086 00087