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