23 #if !defined(LSST_AFW_CAMERAGEOM_DETECTOR_H)
24 #define LSST_AFW_CAMERAGEOM_DETECTOR_H
37 namespace cameraGeom {
78 std::string
const &
name,
81 std::string
const &serial,
247 typedef boost::unordered_map<std::string, table::AmpInfoCatalog::const_iterator>
_AmpInfoMap;
std::string getSerial() const
table::AmpInfoCatalog _ampInfoCatalog
list of amplifier data
Orientation _orientation
position and orientation of detector in focal plane
table::Key< std::string > name
std::string getSysName() const
Geometry and electronic information about raw amplifier images.
int _id
detector numeric ID
geom::Box2I _bbox
bounding box
A custom container class for records, based on std::vector.
geom::Point2D getPoint() const
geom::Extent2D getPixelSize() const
std::string getName() const
lsst::afw::table::AmpInfoCatalog const getAmpInfoCatalog() const
DetectorType _type
type of detectorsize_t
An integer coordinate rectangle.
CameraPoint transform(CameraPoint const &fromCameraPoint, CameraSysPrefix const &toSys) const
geom::Extent2D _pixelSize
pixel size (mm)
lsst::afw::table::AmpInfoCatalog::const_iterator end() const
CameraSys const makeCameraSys(CameraSys const &cameraSys) const
CameraPoint makeCameraPoint(geom::Point2D point, CameraSys cameraSys) const
CameraTransformMap _transformMap
registry of coordinate transforms
std::string _name
name of detector's location in the camera
lsst::afw::geom::Box2I getBBox() const
Iterator class for CatalogT.
CameraTransformMap const getTransformMap() const
boost::unordered_map< std::string, table::AmpInfoCatalog::const_iterator > _AmpInfoMap
CameraPoint makeCameraPoint(geom::Point2D point, CameraSysPrefix cameraSysPrefix) const
CameraSys const makeCameraSys(CameraSysPrefix const &cameraSysPrefix) const
DetectorType getType() const
CameraPoint transform(CameraPoint const &fromCameraPoint, CameraSys const &toSys) const
std::vector< geom::Point2D > getCorners(CameraSys const &cameraSys) const
std::string _serial
serial "number" that identifies the physical detector
reference at(size_type i) const
Return the record at index i (throws std::out_of_range).
lsst::afw::table::AmpInfoCatalog::const_iterator begin() const
bool hasTransform(CameraSys const &cameraSys) const
Point< double, 2 > Point2D
_AmpInfoMap _ampNameIterMap
map of amplifier name: catalog iterator
Orientation const getOrientation() const
CameraPoint getCenter(CameraSys const &cameraSys) const
Detector(std::string const &name, int id, DetectorType type, std::string const &serial, geom::Box2I const &bbox, lsst::afw::table::AmpInfoCatalog const &InfoCatalog, Orientation const &orientation, geom::Extent2D const &pixelSize, CameraTransformMap::Transforms const &transforms)
CameraSys getCameraSys() const
boost::shared_ptr< afw::geom::XYTransform const > getTransform(CameraSys const &cameraSys) const
size_type size() const
Return the number of elements in the catalog.
lsst::afw::table::AmpInfoRecord const & operator[](size_t i) const