- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm14/src/PhysicsList.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: PhysicsList.cc,v 1. 6 2009/11/19 10:36:37maire Exp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: PhysicsList.cc,v 1.8 2010/04/05 18:02:39 maire Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 183 183 // 184 184 G4EmProcessOptions emOptions; 185 emOptions.SetStepFunction(1., 1*mm);186 185 emOptions.SetIntegral(false); 187 emOptions.SetLossFluctuations(false);188 186 } 189 187 … … 227 225 228 226 void PhysicsList::SetCuts() 229 { 230 // set cut values for gamma at first and for e- second and next for e+, 231 // because some processes for e+/e- need cut values for gamma 232 SetCutValue(cutForGamma, "gamma"); 233 SetCutValue(cutForElectron, "e-"); 234 SetCutValue(cutForPositron, "e+"); 227 { 228 // fixe lower limit for cut 229 G4ProductionCutsTable::GetProductionCutsTable()->SetEnergyRange(100*eV, 1*GeV); 230 231 // set cut values for gamma at first and for e- second and next for e+, 232 // because some processes for e+/e- need cut values for gamma 233 SetCutValue(cutForGamma, "gamma"); 234 SetCutValue(cutForElectron, "e-"); 235 SetCutValue(cutForPositron, "e+"); 235 236 } 236 237
Note: See TracChangeset
for help on using the changeset viewer.