68 for (
size_t i = 0 ; i < VectorLength ; i++)
92 std::vector<G4double>::iterator binLoc =
95 size_t binIdx = binLoc -
binVector.begin();
97 std::vector<G4double>::iterator dataLoc =
dataVector.begin() + binIdx;
120 size_t closestBin = FindValueBinLocation(aValue);
121 G4double theEnergy = LinearInterpolationOfEnergy(aValue, closestBin);
127 size_t G4PhysicsOrderedFreeVector::FindValueBinLocation(
G4double aValue)
132 while (n1 != n3 - 1) {
137 n2 = n1 + (n3 - n1 + 1)/2;
142 G4double G4PhysicsOrderedFreeVector::LinearInterpolationOfEnergy(
G4double aValue,
153 size_t G4PhysicsOrderedFreeVector::FindBinLocation(
G4double theEnergy)
const
164 n2 = n1 + (n3 - n1 + 1)/2;