- Timestamp:
- Jan 8, 2010, 11:56:51 AM (15 years ago)
- Location:
- trunk/source/processes/hadronic/models/de_excitation/photon_evaporation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/de_excitation/photon_evaporation/include/G4NeutronRadCapture.hh
r1197 r1228 25 25 // 26 26 // $Id: G4NeutronRadCapture.hh,v 1.1 2009/08/31 13:52:42 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03 -cand-01$27 // GEANT4 tag $Name: geant4-09-03 $ 28 28 // 29 29 // -
trunk/source/processes/hadronic/models/de_excitation/photon_evaporation/src/G4NeutronRadCapture.cc
r1197 r1228 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4NeutronRadCapture.cc,v 1. 3 2009/09/15 19:05:31 vnivanchExp $27 // GEANT4 tag $Name: geant4-09-03 -cand-01$26 // $Id: G4NeutronRadCapture.cc,v 1.4 2009/12/16 17:51:11 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-03 $ 28 28 // 29 29 // … … 97 97 if(cost > 1.0) {cost = 1.0;} 98 98 else if(cost < -1.0) {cost = -1.0;} 99 G4double sint = s qrt((1. - cost)*(1.0 + cost));99 G4double sint = std::sqrt((1. - cost)*(1.0 + cost)); 100 100 G4double phi = G4UniformRand()*CLHEP::twopi; 101 101 G4LorentzVector lv2(e1*sint*std::cos(phi),e1*sint*std::sin(phi),e1*cost,e1);
Note: See TracChangeset
for help on using the changeset viewer.