74 G4double lenghtOfBins = (maxIntExtreme - minIntExtreme)/nBins;
76 for (
G4int i = 0; i<nBins; i++)
78 G4double midPoint = minIntExtreme + i*lenghtOfBins+lenghtOfBins/2;
82 partialHeight += heightOfRectangle;
86 G4double integral = lenghtOfBins * partialHeight;
static constexpr double keV
G4double Integrate(G4double, G4double, G4int, XrayFluoDataSet *)
const XrayFluoDataSet * Normalize(G4double, G4double, G4int, G4String)
G4double FindValue(G4double e, G4int) const