70 std::vector<double> temp;
72 for(
G4int j=0; j<=bins; ++j) {
80 G4double fact = (cross > 0.0) ? 1.0/cross : 0.0;
82 G4double y = (i<n-1) ? temp[i]*fact : 1.0;
133 for(
G4int j=0; j<=bins; ++j) {
G4double Energy(size_t index) const
T max(const T t1, const T t2)
brief Return the largest of the two arguments
static size_t GetNumberOfMaterials()
static G4MaterialTable * GetMaterialTable()
void SetKineticEnergy(G4double aEnergy)
std::vector< G4PhysicsVector * > xSections
G4double ComputeCrossSection(const G4DynamicParticle *, const G4Material *)
G4HadElementSelector(G4DynamicParticle *, G4CrossSectionDataStore *, const G4Material *, G4int bins, G4double emin, G4double emax, G4bool spline)
const G4ElementVector * GetElementVector() const
static const G4double emax
std::vector< G4HadElementSelector * > elmSelectors
void Initialise(G4DynamicParticle *, G4CrossSectionDataStore *, G4int bins, G4double emin, G4double emax, G4bool spline)
std::vector< G4Material * > G4MaterialTable
G4double GetCrossSection(const G4DynamicParticle *, const G4Material *)
std::vector< G4PhysicsVector * > xsData
const G4ElementVector * theElementVector
void PutValue(size_t index, G4double theValue)
size_t GetNumberOfElements() const