Import Geant4 3.0.0 source tree
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPInelasticCompFS.hh,v 1.3 1999/07/02 09:59:12 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
// $Id: G4NeutronHPInelasticCompFS.hh,v 1.4 2000/11/09 16:13:38 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-03-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPInelasticCompFS_h
|
||||
#define G4NeutronHPInelasticCompFS_h 1
|
||||
@@ -56,7 +56,7 @@ class G4NeutronHPInelasticCompFS : public G4NeutronHPFinalState
|
||||
virtual G4NeutronHPFinalState * New() = 0;
|
||||
virtual G4double GetXsec(G4double anEnergy)
|
||||
{
|
||||
return theXsection[50]->GetY(anEnergy);
|
||||
return G4std::max(0., theXsection[50]->GetY(anEnergy));
|
||||
}
|
||||
virtual G4NeutronHPVector * GetXsec() { return theXsection[50]; }
|
||||
G4int SelectExitChannel(G4double eKinetic);
|
||||
|
||||
Reference in New Issue
Block a user