34#ifndef G4_CASCADE_SAMPLER_HH
35#define G4_CASCADE_SAMPLER_HH
42template <
int NBINS,
int NMULT>
48 : interpolator(ebins), energyScale(ebins) {}
62 virtual void print(std::ostream& os)
const;
69 G4int sampleFlat()
const;
72 mutable std::vector<G4double> sigmaBuf;
76#include "G4CascadeSampler.icc"
G4CascadeSampler(const G4double(&ebins)[energyBins])
virtual G4int findFinalStateIndex(G4int mult, G4double ke, const G4int index[], const G4double xsec[][energyBins]) const
virtual void print(std::ostream &os) const
virtual G4int findMultiplicity(G4double ke, const G4double xmult[][energyBins]) const
virtual G4double findCrossSection(double ke, const G4double(&xsec)[energyBins]) const
virtual ~G4CascadeSampler()