Ignore:
Timestamp:
Jan 8, 2010, 11:56:51 AM (14 years ago)
Author:
garnier
Message:

update geant4.9.3 tag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/de_excitation/photon_evaporation/src/G4NeutronRadCapture.cc

    r1197 r1228  
    2424// ********************************************************************
    2525//
    26 // $Id: G4NeutronRadCapture.cc,v 1.3 2009/09/15 19:05:31 vnivanch Exp $
    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 $
    2828//
    2929//
     
    9797  if(cost > 1.0) {cost = 1.0;}
    9898  else if(cost < -1.0) {cost = -1.0;}
    99   G4double sint = sqrt((1. - cost)*(1.0 + cost));
     99  G4double sint = std::sqrt((1. - cost)*(1.0 + cost));
    100100  G4double phi  = G4UniformRand()*CLHEP::twopi;
    101101  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.