Import Geant4 3.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:55:53 +02:00
parent e7d7193284
commit cfcb558cfe
3050 changed files with 91703 additions and 48310 deletions
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPInelasticBaseFS.hh,v 1.3 1999/07/02 09:59:11 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// $Id: G4NeutronHPInelasticBaseFS.hh,v 1.4 2000/11/09 16:13:38 hpw Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
#ifndef G4NeutronHPInelasticBaseFS_h
#define G4NeutronHPInelasticBaseFS_h 1
@@ -54,7 +54,7 @@ class G4NeutronHPInelasticBaseFS : public G4NeutronHPFinalState
virtual G4double GetXsec(G4double anEnergy)
{
return theXsection->GetY(anEnergy);
return G4std::max(0., theXsection->GetY(anEnergy));
}
virtual G4NeutronHPVector * GetXsec() { return theXsection; }