Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4CascadeNNChannel Class Reference

#include <G4CascadeNNChannel.hh>

Inheritance diagram for G4CascadeNNChannel:
Collaboration diagram for G4CascadeNNChannel:

Public Member Functions

 G4CascadeNNChannel ()
 
virtual ~G4CascadeNNChannel ()
 
virtual G4double findCrossSection (G4double ke, const G4double(&xsec)[30]) const
 
- Public Member Functions inherited from G4CascadeFunctions< G4CascadeNNChannelData, G4PionNucSampler >
 G4CascadeFunctions ()
 
virtual ~G4CascadeFunctions ()
 
virtual G4double getCrossSection (double ke) const
 
virtual G4double getCrossSectionSum (double ke) const
 
virtual G4int getMultiplicity (G4double ke) const
 
virtual void getOutgoingParticleTypes (std::vector< G4int > &kinds, G4int mult, G4double ke) const
 
virtual void printTable (std::ostream &os=G4cout) const
 
- Public Member Functions inherited from G4CascadeChannel
 G4CascadeChannel ()
 
virtual ~G4CascadeChannel ()
 
- Public Member Functions inherited from G4PionNucSampler
 G4PionNucSampler ()
 
- Public Member Functions inherited from G4CascadeSampler< 30, 8 >
 energyScale (ebins)
 
virtual ~G4CascadeSampler ()
 
virtual G4double findCrossSection (double ke, const G4double(&xsec)[energyBins]) const
 
virtual G4int findMultiplicity (G4double ke, const G4double xmult[][energyBins]) const
 
virtual G4int findFinalStateIndex (G4int mult, G4double ke, const G4int index[], const G4double xsec[][energyBins]) const
 
virtual void print (std::ostream &os) const
 

Additional Inherited Members

- Public Types inherited from G4CascadeSampler< 30, 8 >
enum  
 
- Public Attributes inherited from G4CascadeSampler< 30, 8 >
 __pad0__
 

Detailed Description

Definition at line 40 of file G4CascadeNNChannel.hh.

Constructor & Destructor Documentation

G4CascadeNNChannel::G4CascadeNNChannel ( )
inline
virtual G4CascadeNNChannel::~G4CascadeNNChannel ( )
inlinevirtual

Definition at line 45 of file G4CascadeNNChannel.hh.

45 {;}

Member Function Documentation

G4double G4CascadeNNChannel::findCrossSection ( G4double  ke,
const G4double(&)  xsec[30] 
) const
virtual

Definition at line 598 of file G4CascadeNNChannel.cc.

599  {
600  if (ke < 0.01 && (xsec == nnTotXSec || xsec == nnCrossSections[0])) {
601  // Stepanov's function for ke < 10 MeV, up to zero-energy value
602  const G4double kemin = 4.0/nnTotXSec[0];
603  return (ke>0.001 ? (9.0692 - 0.0050574/ke)/ke + 6.9466 :
604  ke>kemin ? 4.0/ke : nnTotXSec[0]);
605  }
606  return G4PionNucSampler::findCrossSection(ke, xsec); // Call through to base
607 }
virtual G4double findCrossSection(double ke, const G4double(&xsec)[energyBins]) const
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:


The documentation for this class was generated from the following files: