You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: InterSpec/DetectorPeakResponse.h
+21-2Lines changed: 21 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -283,8 +283,27 @@ class DetectorPeakResponse
283
283
constfloat detectorDiameter,
284
284
constfloat energyUnits,
285
285
const EffGeometryType geometry_type );
286
-
287
-
286
+
287
+
structEnergyEffPoint
288
+
{
289
+
float energy, efficiency;
290
+
291
+
/** Currently unused efficiency uncertainty. */
292
+
std::optional<float> efficiencyUncert;
293
+
};//struct EnergyEffPoint
294
+
295
+
/** Sets the detector efficiencies by pairs of energy (in keV) and efficiencies.
296
+
297
+
@param efficiencies The eneryg/efficiency information - must have at least two entries, and its range defines `m_lowerEnergy` and `m_upperEnergy`.
298
+
@param detectorDiameter The detector diameter - set to zero or negative if geometry type is not EffGeometryType::FarField; must be positive if far field
299
+
@param geometry_type The efficiency type these points are for.
0 commit comments