23 #if !defined(LSST_AFW_CAMERAGEOM_CAMERASYS_H) 24 #define LSST_AFW_CAMERAGEOM_CAMERASYS_H 33 namespace cameraGeom {
48 : _sysName(sysName) {}
68 size_t hash()
const noexcept;
83 std::string
const &detectorName =
"" 85 : _sysName(sysName), _detectorName(detectorName){};
91 std::string
const &detectorName =
"" 93 : _sysName(sysPrefix.
getSysName()), _detectorName(detectorName){};
136 size_t hash()
const noexcept;
139 std::string _sysName;
140 std::string _detectorName;
201 struct hash<
lsst::afw::cameraGeom::CameraSysPrefix> {
Camera coordinate system; used as a key in in TransformMap.
bool operator!=(CameraSysPrefix const &rhs) const
std::string getSysName() const
Get coordinate system name.
CameraSysPrefix const PIXELS
Nominal pixels on the detector (unbinned) This ignores manufacturing imperfections, "tree ring" distortions and all other such effects.
std::ostream & operator<<(std::ostream &os, CameraPoint const &cameraPoint)
bool operator!=(CameraSys const &rhs) const
bool hasDetectorName() const
Does this have a non-blank detector name?
CameraSysPrefix const ACTUAL_PIXELS
The actual pixels where the photon lands and electrons are generated (unbinned) This takes into accou...
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
bool operator==(CameraSys const &rhs) const
size_t hash() const noexcept
Hash function for this object.
bool operator<(CameraSys const &rhs) const
Camera coordinate system prefix.
CameraSys(CameraSysPrefix const &sysPrefix, std::string const &detectorName="")
Construct a CameraSys from a CameraSysPrefix and a detectorName.
CameraSysPrefix(std::string const &sysName)
CameraSys const FIELD_ANGLE
Field angle coordinates: Angular x,y offset from the optic axis (radians).
CameraSysPrefix const TAN_PIXELS
Tangent-plane pixels on the detector (unbinned)
size_t operator()(lsst::afw::cameraGeom::CameraSysPrefix const &obj) const noexcept
size_t operator()(lsst::afw::cameraGeom::CameraSys const &obj) const noexcept
CameraSys const FOCAL_PLANE
Focal plane coordinates: Rectilinear x, y (and z when talking about the location of a detector) on th...