35 #ifndef G4_CASCADE_SAMPLER_HH
36 #define G4_CASCADE_SAMPLER_HH
43 template <
int NBINS,
int NMULT>
63 virtual void print(std::ostream& os)
const;
77 #include "G4CascadeSampler.icc"
virtual G4int findMultiplicity(G4double ke, const G4double xmult[][energyBins]) const
virtual ~G4CascadeSampler()
void fillSigmaBuffer(G4double ke, const G4double x[][energyBins], G4int startBin=0, G4int stopBin=multBins) const
std::vector< G4double > sigmaBuf
G4CascadeInterpolator< NBINS > interpolator
virtual void print(std::ostream &os) const
const G4double(& energyScale)[energyBins]
virtual G4double findCrossSection(double ke, const G4double(&xsec)[energyBins]) const
virtual G4int findFinalStateIndex(G4int mult, G4double ke, const G4int index[], const G4double xsec[][energyBins]) const