Class DetectorBase¶
Defined in File Detector.h
Inheritance Relationships¶
Derived Types¶
public lsst::afw::cameraGeom::Detector(Class Detector)public lsst::afw::cameraGeom::Detector::Builder(Class Detector::Builder)
Class Documentation¶
- 
class 
DetectorBase¶ An abstract base class that provides common accessors for Detector and Detector::Builder.
Subclassed by lsst::afw::cameraGeom::Detector, lsst::afw::cameraGeom::Detector::Builder
Unnamed Group
- 
DetectorBase()¶ DetectorBase has no state, and is hence default-constructable, copyable, and movable.
- 
DetectorBase(DetectorBase const&)¶ 
- 
DetectorBase(DetectorBase&&)¶ 
- 
DetectorBase &
operator=(DetectorBase const&)¶ 
- 
DetectorBase &
operator=(DetectorBase&&)¶ 
Public Types
- 
using 
CrosstalkMatrix= ndarray::Array<float const, 2>¶ 
Public Functions
- 
virtual 
~DetectorBase()¶ 
- 
std::string 
getName() const¶ Get the detector name.
- 
int 
getId() const¶ Get the detector ID.
- 
DetectorType 
getType() const¶ Return the purpose of this detector.
- 
std::string 
getSerial() const¶ Get the detector serial “number”.
- 
std::string 
getPhysicalType() const¶ Get the detector’s physical type.
This may mean different things for different cameras; possibilities include the manufacturer (“ITL” vs “E2V”) or fundamental technology (“CCD” vs “HgCdTe”).
- 
Orientation 
getOrientation() const¶ Get detector’s orientation in the focal plane
- 
bool 
hasCrosstalk() const¶ Have we got crosstalk coefficients?
- 
CrosstalkMatrix 
getCrosstalk() const¶ Get the crosstalk coefficients
- 
CameraSys 
makeCameraSys(CameraSys const &cameraSys) const¶ Get a coordinate system from a coordinate system (return input unchanged and untested)
- Return
 cameraSysunchanged- Note
 the CameraSysPrefix version needs the detector name, which is why this is not static.
- Parameters
 [in] cameraSys: Camera coordinate system
- 
CameraSys 
makeCameraSys(CameraSysPrefix const &cameraSysPrefix) const¶ Get a coordinate system from a detector system prefix (add detector name)
- Return
 cameraSysPrefixwith the detector name added- Parameters
 [in] cameraSysPrefix: Camera coordinate system prefix
Protected Functions
- 
struct 
Fields¶ Public Members
- 
std::string 
name= ""¶ 
- 
int 
id= 0¶ 
- 
DetectorType 
type= DetectorType::SCIENCE¶ 
- 
std::string 
serial= ""¶ 
- 
Orientation 
orientation¶ 
- 
CrosstalkMatrix 
crosstalk¶ 
- 
std::string 
physicalType¶ 
- 
std::string 
 
-