Changeset 1347 for trunk/source/processes/hadronic/cross_sections/src/G4TripathiLightCrossSection.cc
- Timestamp:
- Dec 22, 2010, 3:52:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/cross_sections/src/G4TripathiLightCrossSection.cc
r1340 r1347 55 55 // 15 March 2004, P R Truscott, QinetiQ Ltd, UK 56 56 // Beta release 57 // 58 // J. M. Quesada 24 November 2010 bug fixed in X_m 59 //(according to eq. 14 in R.K. Tripathi et al. Nucl. Instr. and Meth. in Phys. Res. B 155 (1999) 349-356) 57 60 // 58 61 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% … … 247 250 } 248 251 G4double S_L = 1.2 + 1.6*(1.0-std::exp(-E/15.0)); 249 G4double X_m = 1.0 - X1*std::exp(-E/X1*S_L); 252 //JMQ 241110 bug fixed 253 // G4double X_m = 1.0 - X1*std::exp(-E/X1*S_L); 254 G4double X_m = 1.0 - X1*std::exp(-E/(X1*S_L)); 250 255 // 251 256 // … … 341 346 G4int ZZ = G4lrint(theTarget->GetZ()); 342 347 G4int AA = G4lrint(theTarget->GetN()); 343 xsection = Get IsoZACrossSection(theProjectile, ZZ, AA, theTemperature);348 xsection = GetZandACrossSection(theProjectile, ZZ, AA, theTemperature); 344 349 } 345 350
Note: See TracChangeset
for help on using the changeset viewer.