Import Geant4 10.4.1 source tree

This commit is contained in:
Gabriele Cosmo
2018-03-02 09:34:30 +01:00
parent fc6af9e721
commit fe04dcb406
341 changed files with 18389 additions and 24522 deletions
@@ -15,6 +15,10 @@ code and to keep track of all tags.
* Please list in reverse chronological order (last date on top)
---------------------------------------------------------------
27 February 2018 Alberto Ribon (hadr-casc-V10-03-07)
-----------------------------------------------------
- G4NucleiModel : replaced obsolete std::bind2nd with std::bind .
27 November 2017 Dennis Wright (hadr-casc-V10-03-06)
-----------------------------------------------------
- G4CascadeInterface::createBullet, G4CascadeInterface::ApplyYourself:
@@ -142,7 +142,7 @@
// Check zone argument to inverseMFP() to ensure within range.
// 20130611 M. Kelsey -- Undo "spath<=path" change (20130511), replace with
// explicit check on spath==0.
// 20130619 A. Ribon -- Fixed reproducibility problem in the method
// 20130619 A. Ribon -- Fixed reproducibility problem in the method
// generateParticleFate
// 20130627 M. Kelsey -- Check "path==0.", rather than spath.
// 20130628 M. Kelsey -- Print deuteron type code, rather than array index,
@@ -158,6 +158,7 @@
// 20141001 M. Kelsey -- Change sign of "dv" in boundaryTransition
// 20150608 M. Kelsey -- Label all while loops as terminating.
// 20150622 M. Kelsey -- Use G4AutoDelete for _TLS_ buffers.
// 20180227 A. Ribon -- Replaced obsolete std::bind2nd with std::bind
#include "G4NucleiModel.hh"
#include "G4AutoDelete.hh"
@@ -1264,7 +1265,7 @@ void G4NucleiModel::choosePointAlongTraj(G4CascadParticle& cparticle) {
// Normalize CDF to unit integral
std::transform(wtlen.begin(), wtlen.end(), wtlen.begin(),
std::bind2nd(std::divides<G4double>(), wtlen.back()));
std::bind(std::divides<G4double>(), std::placeholders::_1, wtlen.back()));
if (verboseLevel > 3) {
G4cout << " weights";