51 DetectorInfo(std::unique_ptr<Beamline::DetectorInfo> detectorInfo,
52 std::shared_ptr<const Geometry::Instrument> instrument,
53 std::shared_ptr<
const std::vector<detid_t>> detectorIds,
54 std::shared_ptr<
const std::unordered_map<detid_t, size_t>> detIdToIndexMap);
63 size_t getMemorySize()
const;
64 bool isScanning()
const;
66 bool isMonitor(
const size_t index)
const;
67 bool isMonitor(
const std::pair<size_t, size_t> &
index)
const;
68 bool isMasked(
const size_t index)
const;
69 bool isMasked(
const std::pair<size_t, size_t> &
index)
const;
70 bool hasMaskedDetectors()
const;
71 double l2(
const size_t index)
const;
72 double l2(
const std::pair<size_t, size_t> &
index)
const;
74 double twoTheta(
const std::pair<size_t, size_t> &
index)
const;
75 double signedTwoTheta(
const size_t index)
const;
76 double signedTwoTheta(
const std::pair<size_t, size_t> &
index)
const;
77 double azimuthal(
const size_t index)
const;
78 double azimuthal(
const std::pair<size_t, size_t> &
index)
const;
79 std::tuple<double, double, double> diffractometerConstants(
const size_t index, std::vector<detid_t> &calibratedDets,
80 std::vector<detid_t> &uncalibratedDets)
const;
81 double difcUncalibrated(
const size_t index)
const;
86 std::vector<Kernel::V3D> allPositions()
const;
89 std::vector<Kernel::Quat> allRotations()
const;
90 std::vector<Kernel::V3D> allScaleFactors()
const;
92 void setMasked(
const size_t index,
bool masked);
93 void setMasked(
const std::pair<size_t, size_t> &
index,
bool masked);
94 void clearMaskFlags();
109 const std::vector<detid_t> &detectorIDs()
const;
112 size_t indexOf(
const detid_t id)
const;
115 size_t scanCount()
const;
116 const std::vector<std::pair<Types::Core::DateAndTime, Types::Core::DateAndTime>> scanIntervals()
const;
128 std::shared_ptr<const Geometry::IDetector> getDetectorPtr(
const size_t index)
const;
129 void clearPositionDependentParameters(
const size_t index);