LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
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();
bool operator<(CameraSys const &rhs) const noexcept
bool operator!=(CameraSys const &rhs) const noexcept
size_t operator()(lsst::afw::cameraGeom::CameraSysPrefix const &obj) const noexcept
void swap(lsst::afw::cameraGeom::CameraSys &a, lsst::afw::cameraGeom::CameraSys &b) noexcept
std::string getSysName() const
Get coordinate system name.
CameraSys(std::string const &sysName, std::string const &detectorName="")
Construct a CameraSys from a sysName and a detectorName.
CameraSysPrefix const TAN_PIXELS
Tangent-plane pixels on the detector (x, y unbinned pixels)
std::ostream & operator<<(std::ostream &os, CameraSysPrefix const &detSysPrefix)
bool operator!=(CameraSysPrefix const &rhs) const noexcept
~CameraSys() noexcept=default
CameraSysPrefix const ACTUAL_PIXELS
The actual pixels where the photon lands and electrons are generated (x,y unbinned) This takes into a...
CameraSys(CameraSysPrefix const &sysPrefix, std::string const &detectorName="")
Construct a CameraSys from a CameraSysPrefix and a detectorName.
bool operator==(CameraSys const &rhs) const noexcept
ItemVariant const * other
bool operator==(CameraSysPrefix const &rhs) const noexcept
A base class for image defects.
CameraSys const FOCAL_PLANE
Focal plane coordinates: Position on a 2-d planar approximation to the focal plane (x,...
std::string getDetectorName() const
Get detector name, or "" if not a detector-specific coordinate system.
size_t operator()(lsst::afw::cameraGeom::CameraSys const &obj) const noexcept
void swap(CameraSys &a, CameraSys &b)
std::size_t hash_value() const noexcept
Hash function for this object.
CameraSys const FIELD_ANGLE
Field angle coordinates: Angle of a principal ray relative to the optical axis (x,...
~CameraSysPrefix() noexcept=default
std::string getSysName() const
Get coordinate system name.
CameraSysPrefix(std::string const &sysName)
Camera coordinate system prefix.
bool hasDetectorName() const noexcept
Does this have a non-blank detector name?
CameraSysPrefix const PIXELS
Pixel coordinates: Nominal position on the entry surface of a given detector (x, y unbinned pixels).
Camera coordinate system; used as a key in in TransformMap.