- Timestamp:
- Apr 6, 2009, 12:21:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/standard/src/G4MultipleScattering.cc
r819 r961 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4MultipleScattering.cc,v 1.7 0 2007/10/29 08:57:19vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $26 // $Id: G4MultipleScattering.cc,v 1.75 2008/10/15 17:53:44 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // ----------------------------------------------------------------------------- … … 121 121 // 12-02-07 skin can be changed via UI command, default skin=1 (VI) 122 122 // 24-04-07 default skin=0 (temporal protection) (VI) 123 // 11-03-08 use G4VMscModel interface (VI) 123 124 // 124 125 // ----------------------------------------------------------------------------- … … 130 131 #include "G4UrbanMscModel.hh" 131 132 #include "G4MscStepLimitType.hh" 133 #include "G4UrbanMscModel.hh" 132 134 133 135 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 138 140 : G4VMultipleScattering(processName) 139 141 { 140 dtrl = 0.05; 141 lambdalimit = 1.*mm; 142 143 samplez = false ; 144 isInitialized = false; 142 isInitialized = false; 145 143 } 146 144 … … 178 176 SetLateralDisplasmentFlag(false); 179 177 SetBuildLambdaTable(false); 180 SetSkin(0.0);181 SetRangeFactor(0.2);182 178 } 183 179 184 180 // initialisation of parameters - defaults for particles other 185 181 // than ions can be overwritten by users 186 mscUrban = new G4UrbanMscModel(RangeFactor(),dtrl,lambdalimit, 187 GeomFactor(),Skin(), 188 samplez,StepLimitType()); 182 mscUrban = new G4UrbanMscModel(); 183 mscUrban->SetStepLimitType(StepLimitType()); 189 184 mscUrban->SetLateralDisplasmentFlag(LateralDisplasmentFlag()); 185 mscUrban->SetSkin(Skin()); 186 mscUrban->SetRangeFactor(RangeFactor()); 187 mscUrban->SetGeomFactor(GeomFactor()); 190 188 191 189 AddEmModel(1,mscUrban); … … 204 202 void G4MultipleScattering::PrintInfo() 205 203 { 206 G4cout << " Boundary/stepping algorithm is active with RangeFactor= " 207 << RangeFactor() 208 << " Step limit type " << StepLimitType() 204 G4cout << " RangeFactor= " << RangeFactor() 205 << ", step limit type: " << StepLimitType() 206 << ", lateralDisplacement: " << LateralDisplasmentFlag() 207 << ", skin= " << Skin() 208 << ", geomFactor= " << GeomFactor() 209 209 << G4endl; 210 210 }
Note: See TracChangeset
for help on using the changeset viewer.