23 #if !defined(LSST_AFW_CAMERAGEOM_CAMERASYS_H) 24 #define LSST_AFW_CAMERAGEOM_CAMERASYS_H 33 namespace cameraGeom {
48 : _sysName(sysName) {}
126 return _sysName == rhs.
getSysName() && _detectorName == rhs.getDetectorName();
133 if (_sysName == rhs.getSysName()) {
136 return _sysName < rhs.getSysName();
223 struct hash<
lsst::afw::cameraGeom::CameraSysPrefix> {
227 return obj.hash_value();
Camera coordinate system; used as a key in in TransformMap.
std::size_t hash_value() const noexcept
Hash function for this object.
std::string getSysName() const
Get coordinate system name.
CameraSysPrefix const PIXELS
Pixel coordinates: Nominal position on the entry surface of a given detector (x, y unbinned pixels)...
bool operator!=(CameraSys const &rhs) const noexcept
CameraSysPrefix const ACTUAL_PIXELS
The actual pixels where the photon lands and electrons are generated (x,y unbinned) This takes into a...
std::ostream & operator<<(std::ostream &os, CameraSysPrefix const &detSysPrefix)
CameraSys(std::string const &sysName, std::string const &detectorName="")
Construct a CameraSys from a sysName and a detectorName.
CameraSys()
default constructor so SWIG can wrap a vector of pairs containing these
std::string getSysName() const
Get coordinate system name.
A base class for image defects.
std::string getDetectorName() const
Get detector name, or "" if not a detector-specific coordinate system.
bool operator!=(CameraSysPrefix const &rhs) const noexcept
Camera coordinate system prefix.
bool operator<(CameraSys const &rhs) const noexcept
CameraSys(CameraSysPrefix const &sysPrefix, std::string const &detectorName="")
Construct a CameraSys from a CameraSysPrefix and a detectorName.
bool hasDetectorName() const noexcept
Does this have a non-blank detector name?
CameraSysPrefix(std::string const &sysName)
CameraSys const FIELD_ANGLE
Field angle coordinates: Angle of a principal ray relative to the optical axis (x,y radians).
CameraSysPrefix const TAN_PIXELS
Tangent-plane pixels on the detector (x, y unbinned pixels)
size_t operator()(lsst::afw::cameraGeom::CameraSysPrefix const &obj) const noexcept
~CameraSysPrefix() noexcept=default
CameraSysPrefix & operator=(CameraSysPrefix const &)=default
size_t operator()(lsst::afw::cameraGeom::CameraSys const &obj) const noexcept
bool operator==(CameraSys const &rhs) const noexcept
CameraSys const FOCAL_PLANE
Focal plane coordinates: Position on a 2-d planar approximation to the focal plane (x...
bool operator==(CameraSysPrefix const &rhs) const noexcept