47#ifndef G4VCROSSSECTIONHANDLER_HH
48#define G4VCROSSSECTIONHANDLER_HH 1
80 G4int numberOfBins = 200,
120 std::map<G4int,G4VEMDataSet*,std::less<G4int> >
dataMap;
const G4VDataSetAlgorithm * GetInterpolation() const
G4double ValueForMaterial(const G4Material *material, G4double e) const
void LoadShellData(const G4String &dataFile)
G4VCrossSectionHandler & operator=(const G4VCrossSectionHandler &right)=delete
G4VEMDataSet * BuildMeanFreePathForMaterials(const G4DataVector *energyCuts=nullptr)
G4double FindValue(G4int Z, G4double e) const
virtual ~G4VCrossSectionHandler()
G4VDataSetAlgorithm * interpolation
G4int NumberOfComponents(G4int Z) const
virtual std::vector< G4VEMDataSet * > * BuildCrossSectionsForMaterials(const G4DataVector &energyVector, const G4DataVector *energyCuts=nullptr)=0
void LoadData(const G4String &dataFile)
void LoadNonLogData(const G4String &dataFile)
G4int SelectRandomAtom(const G4MaterialCutsCouple *couple, G4double e) const
G4VCrossSectionHandler(const G4VCrossSectionHandler &)=delete
std::map< G4int, G4VEMDataSet *, std::less< G4int > > dataMap
G4int SelectRandomShell(G4int Z, G4double e) const
const G4Element * SelectRandomElement(const G4MaterialCutsCouple *material, G4double e) const
std::vector< G4VEMDataSet * > * crossSections
void Initialise(G4VDataSetAlgorithm *interpolation=nullptr, G4double minE=250 *CLHEP::eV, G4double maxE=100 *CLHEP::GeV, G4int numberOfBins=200, G4double unitE=CLHEP::MeV, G4double unitData=CLHEP::barn, G4int minZ=1, G4int maxZ=99)
virtual G4VDataSetAlgorithm * CreateInterpolation()
static constexpr double barn
static constexpr double GeV
static constexpr double MeV
static constexpr double eV