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;
void fillSigmaBuffer(G4double ke, const G4double x[][energyBins], G4int startBin=0, G4int stopBin=multBins) const
virtual G4double findCrossSection(double ke, const G4double(&xsec)[energyBins]) const
std::vector< G4double > sigmaBuf
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
G4CascadeInterpolator< NBINS > interpolator
virtual ~G4CascadeSampler()
virtual void print(std::ostream &os) const
G4CascadeSampler(const G4double(&ebins)[energyBins])
const G4double(& energyScale)[energyBins]