23 #if !defined(LSST_AFW_CAMERAGEOM_CAMERASYS_H)
24 #define LSST_AFW_CAMERAGEOM_CAMERASYS_H
33 namespace cameraGeom {
128 return _sysName == rhs.getSysName() && _detectorName == rhs.getDetectorName();
135 if (_sysName == rhs.getSysName()) {
136 return _detectorName < rhs.getDetectorName();
138 return _sysName < rhs.getSysName();
153 std::
string _sysName;
154 std::
string _detectorName;
235 struct hash<
lsst::afw::cameraGeom::CameraSysPrefix> {
239 return obj.hash_value();
ItemVariant const * other
Camera coordinate system; used as a key in in TransformMap.
bool operator<(CameraSys const &rhs) const noexcept
bool hasDetectorName() const noexcept
Does this have a non-blank detector name?
std::string getSysName() const
Get coordinate system name.
CameraSys(CameraSysPrefix const &sysPrefix, std::string const &detectorName="")
Construct a CameraSys from a CameraSysPrefix and a detectorName.
std::string getDetectorName() const
Get detector name, or "" if not a detector-specific coordinate system.
bool operator!=(CameraSys const &rhs) const noexcept
bool operator==(CameraSys const &rhs) const noexcept
~CameraSys() noexcept=default
CameraSys(std::string const &sysName, std::string const &detectorName="")
Construct a CameraSys from a sysName and a detectorName.
Camera coordinate system prefix.
~CameraSysPrefix() noexcept=default
bool operator==(CameraSysPrefix const &rhs) const noexcept
bool operator!=(CameraSysPrefix const &rhs) const noexcept
std::size_t hash_value() const noexcept
Hash function for this object.
std::string getSysName() const
Get coordinate system name.
CameraSysPrefix(std::string const &sysName)
CameraSys const FIELD_ANGLE
Field angle coordinates: Angle of a principal ray relative to the optical axis (x,...
CameraSysPrefix const TAN_PIXELS
Tangent-plane pixels on the detector (x, y unbinned pixels)
CameraSys const FOCAL_PLANE
Focal plane coordinates: Position on a 2-d planar approximation to the focal plane (x,...
CameraSysPrefix const PIXELS
Pixel coordinates: Nominal position on the entry surface of a given detector (x, y unbinned pixels).
void swap(CameraSys &a, CameraSys &b)
std::ostream & operator<<(std::ostream &os, CameraSysPrefix const &detSysPrefix)
CameraSysPrefix const ACTUAL_PIXELS
The actual pixels where the photon lands and electrons are generated (x,y unbinned) This takes into a...
class[[deprecated("Removed with no replacement (but see lsst::afw::image::TransmissionCurve). Will be " "removed after v22.")]] FilterProperty final
Describe the properties of a Filter (e.g.
A base class for image defects.
void swap(lsst::afw::cameraGeom::CameraSys &a, lsst::afw::cameraGeom::CameraSys &b) noexcept
size_t operator()(lsst::afw::cameraGeom::CameraSys const &obj) const noexcept
size_t operator()(lsst::afw::cameraGeom::CameraSysPrefix const &obj) const noexcept