48 #ifndef G4VCROSSSECTIONHANDLER_HH
49 #define G4VCROSSSECTIONHANDLER_HH 1
53 #include <CLHEP/Units/SystemOfUnits.h>
83 G4int numberOfBins = 200,
149 std::map<G4int,G4VEMDataSet*,std::less<G4int> >
dataMap;
virtual std::vector< G4VEMDataSet * > * BuildCrossSectionsForMaterials(const G4DataVector &energyVector, const G4DataVector *energyCuts=0)=0
G4VCrossSectionHandler & operator=(const G4VCrossSectionHandler &right)
G4int SelectRandomShell(G4int Z, G4double e) const
G4double ValueForMaterial(const G4Material *material, G4double e) const
G4int NumberOfComponents(G4int Z) const
G4double FindValue(G4int Z, G4double e) const
const G4VDataSetAlgorithm * GetInterpolation() const
static constexpr double eV
std::vector< G4VEMDataSet * > * crossSections
G4VEMDataSet * BuildMeanFreePathForMaterials(const G4DataVector *energyCuts=0)
void LoadShellData(const G4String &dataFile)
std::map< G4int, G4VEMDataSet *, std::less< G4int > > dataMap
G4VDataSetAlgorithm * interpolation
void Initialise(G4VDataSetAlgorithm *interpolation=0, 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)
void LoadNonLogData(const G4String &dataFile)
void LoadData(const G4String &dataFile)
static constexpr double GeV
const G4Element * SelectRandomElement(const G4MaterialCutsCouple *material, G4double e) const
static constexpr double MeV
virtual G4VDataSetAlgorithm * CreateInterpolation()
static constexpr double barn
virtual ~G4VCrossSectionHandler()
G4int SelectRandomAtom(const G4MaterialCutsCouple *couple, G4double e) const