- Timestamp:
- May 28, 2009, 4:26:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/utils/src/G4VMultipleScattering.cc
r1007 r1055 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4VMultipleScattering.cc,v 1.6 0 2008/11/20 20:32:40vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 2$26 // $Id: G4VMultipleScattering.cc,v 1.66 2009/05/27 11:55:02 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-beta-cand-01 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 83 83 #include "G4GenericIon.hh" 84 84 #include "G4Electron.hh" 85 #include "G4EmConfigurator.hh" 85 86 86 87 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... … … 94 95 stepLimit(fUseSafety), 95 96 skin(3.0), 96 facrange(0.0 2),97 facrange(0.04), 97 98 facgeom(2.5), 98 99 latDisplasment(true), … … 105 106 // Size of tables assuming spline 106 107 minKinEnergy = 0.1*keV; 107 maxKinEnergy = 10 0.0*TeV;108 nBins = 84;108 maxKinEnergy = 10.0*TeV; 109 nBins = 77; 109 110 110 111 // default limit on polar angle … … 132 133 } 133 134 (G4LossTableManager::Instance())->DeRegister(this); 135 } 136 137 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 138 139 void G4VMultipleScattering::AddEmModel(G4int order, G4VEmModel* p, 140 const G4Region* region) 141 { 142 G4VEmFluctuationModel* fm = 0; 143 modelManager->AddEmModel(order, p, fm, region); 144 if(p) p->SetParticleChange(pParticleChange); 145 } 146 147 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 148 149 G4VEmModel* G4VMultipleScattering::GetModelByIndex(G4int idx, G4bool ver) 150 { 151 return modelManager->GetModel(idx, ver); 134 152 } 135 153 … … 208 226 << G4endl; 209 227 } 228 229 (G4LossTableManager::Instance())->EmConfigurator()->AddModels(); 210 230 211 231 if(firstParticle == &part) {
Note: See TracChangeset
for help on using the changeset viewer.