- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/standard/src/G4UrbanMscModel93.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4UrbanMscModel93.cc,v 1. 5 2010/06/25 09:41:44 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4UrbanMscModel93.cc,v 1.7 2010/11/04 17:30:32 vnivanch Exp $ 28 // GEANT4 tag $Name: emstand-V09-03-25 $ 29 29 // 30 30 // ------------------------------------------------------------------- … … 166 166 insideskin = false; 167 167 168 skindepth = skin*stepmin; 169 170 mass = proton_mass_c2; 171 charge = ChargeSquare = 1.0; 172 currentKinEnergy = currentRadLength = lambda0 = lambdaeff = tPathLength 173 = zPathLength = par1 = par2 = par3 = 0; 174 175 currentMaterialIndex = -1; 168 176 } 169 177 … … 179 187 { 180 188 skindepth = skin*stepmin; 181 if(isInitialized) return; 189 190 if(isInitialized) { return; } 182 191 // set values of some data members 183 192 SetParticle(p); … … 460 469 461 470 // stop here if small range particle 462 if(inside) return tPathLength;471 if(inside) { return tPathLength; } 463 472 464 if(tPathLength > currentRange) tPathLength = currentRange;473 if(tPathLength > currentRange) { tPathLength = currentRange; } 465 474 466 475 presafety = sp->GetSafety(); 467 476 468 // G4cout << "G4Urban2::StepLimit tPathLength= "469 // <<tPathLength<<" safety= " << presafety470 // << " range= " <<currentRange<< " lambda= "<<lambda0471 // << " Alg: " << steppingAlgorithm <<G4endl;477 // G4cout << "G4Urban2::StepLimit tPathLength= " 478 // <<tPathLength<<" safety= " << presafety 479 // << " range= " <<currentRange<< " lambda= "<<lambda0 480 // << " Alg: " << steppingAlgorithm <<G4endl; 472 481 473 482 // far from geometry boundary
Note: See TracChangeset
for help on using the changeset viewer.