#include <G4CascadePPChannel.hh>
Inheritance diagram for G4CascadePPChannel:
Public Member Functions | |
G4CascadePPChannel () | |
virtual | ~G4CascadePPChannel () |
virtual G4double | findCrossSection (G4double ke, const G4double(&xsec)[30]) const |
Definition at line 43 of file G4CascadePPChannel.hh.
G4CascadePPChannel::G4CascadePPChannel | ( | ) | [inline] |
virtual G4CascadePPChannel::~G4CascadePPChannel | ( | ) | [inline, virtual] |
G4double G4CascadePPChannel::findCrossSection | ( | G4double | ke, | |
const G4double & | xsec[30] | |||
) | const [virtual] |
Definition at line 600 of file G4CascadePPChannel.cc.
References G4CascadeSampler< 30, 8 >::findCrossSection().
00601 { 00602 if (ke < 0.01 && (xsec == ppTotXSec || xsec == ppCrossSections[0])) { 00603 // Stepanov's function for ke < 10 MeV, up to zero-energy value 00604 const G4double kemin = 4.0/ppTotXSec[0]; 00605 return (ke>0.001 ? (9.0692 - 0.0050574/ke)/ke + 6.9466 : 00606 ke>kemin ? 4.0/ke : ppTotXSec[0]); 00607 } 00608 return G4PionNucSampler::findCrossSection(ke, xsec); // Call through to base 00609 }