72 G4double lenghtOfBins = (maxIntExtreme - minIntExtreme)/nBins;
74 for (
G4int i = 0; i<nBins; i++)
76 G4double midPoint = minIntExtreme + i*lenghtOfBins+lenghtOfBins/2;
80 partialHeight += heightOfRectangle;
84 G4double integral = lenghtOfBins * partialHeight;
G4double Integrate(G4double, G4double, G4int, XrayFluoDataSet *)
G4double FindValue(G4double e, G4int) const
const XrayFluoDataSet * Normalize(G4double, G4double, G4int, G4String)