- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/medical/GammaTherapy/src/PhysicsList.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: PhysicsList.cc,v 1.1 6 2008/06/11 15:17:57 vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: PhysicsList.cc,v 1.17 2009/11/21 16:47:07 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //--------------------------------------------------------------------------- … … 46 46 #include "PhysicsListMessenger.hh" 47 47 48 #include "ParticlesBuilder.hh"49 48 #include "G4EmStandardPhysics.hh" 50 49 #include "G4EmStandardPhysics_option1.hh" 51 50 #include "G4EmStandardPhysics_option2.hh" 52 51 #include "G4EmStandardPhysics_option3.hh" 53 #include " PhysListEmLivermore.hh"54 #include " PhysListEmPenelope.hh"52 #include "G4EmLivermorePhysics.hh" 53 #include "G4EmPenelopePhysics.hh" 55 54 #include "G4StepLimiterBuilder.hh" 56 55 #include "G4DecayPhysics.hh" … … 60 59 #include "G4EmExtraPhysics.hh" 61 60 #include "G4QStoppingPhysics.hh" 62 //#include "PhysListEmModelPai.hh"63 61 64 62 #include "G4UnitsTable.hh" … … 89 87 90 88 // Add Physics builders 91 RegisterPhysics(new ParticlesBuilder());89 RegisterPhysics(new G4DecayPhysics()); 92 90 } 93 91 … … 156 154 G4cout << "PhysicsList::AddPhysicsList <" << name << ">" << G4endl; 157 155 158 } else if (name == "livermore" && !emBuilderIsRegisted) { 159 RegisterPhysics(new PhysListEmLivermore()); 160 emBuilderIsRegisted = true; 161 G4cout << "PhysicsList::AddPhysicsList <" << name << ">" << G4endl; 162 163 } else if (name == "penelope" && !emBuilderIsRegisted) { 164 RegisterPhysics(new PhysListEmPenelope()); 165 emBuilderIsRegisted = true; 166 G4cout << "PhysicsList::AddPhysicsList <" << name << ">" << G4endl; 167 /* 168 } else if (name == "pai" && !emBuilderIsRegisted) { 169 RegisterPhysics(new PhysListEmModelPai()); 170 emBuilderIsRegisted = true; 171 G4cout << "PhysicsList::AddPhysicsList <" << name << ">" << G4endl; 172 */ 173 174 } else if (name == "decay" && !decayIsRegisted && emBuilderIsRegisted) { 175 RegisterPhysics(new G4DecayPhysics()); 176 decayIsRegisted = true; 156 } else if (name == "emlivermore" && !emBuilderIsRegisted) { 157 RegisterPhysics(new G4EmLivermorePhysics()); 158 emBuilderIsRegisted = true; 159 G4cout << "PhysicsList::AddPhysicsList <" << name << ">" << G4endl; 160 161 } else if (name == "empenelope" && !emBuilderIsRegisted) { 162 RegisterPhysics(new G4EmPenelopePhysics()); 163 emBuilderIsRegisted = true; 177 164 G4cout << "PhysicsList::AddPhysicsList <" << name << ">" << G4endl; 178 165
Note: See TracChangeset
for help on using the changeset viewer.