22 #ifndef LSST_AFW_CAMERAGEOM_DETECTORCOLLECTION_H 23 #define LSST_AFW_CAMERAGEOM_DETECTORCOLLECTION_H 35 namespace cameraGeom {
142 #endif // LSST_AFW_CAMERAGEOM_DETECTORCOLLECTION_H
NameMap const & getNameMap() const noexcept
Get an unordered map over detector names.
A floating-point coordinate rectangle geometry.
An object passed to Persistable::write to allow it to persist itself.
bool empty() const noexcept
Determine if the DetectorCollection contains any Detectors.
DetectorCollection(List const &detectorList)
A base class for objects that can be persisted via afw::table::io Archive classes.
std::size_t size() const noexcept
Get the number of detectors.
std::string getPythonModule() const override
Return the fully-qualified Python module that should be imported to guarantee that its factory is reg...
lsst::geom::Box2D const & getFpBBox() const noexcept
Return a focal plane bounding box that encompasses all detectors.
A base class for image defects.
std::string getPersistenceName() const override
Return the unique name used to persist this object and look up its factory.
virtual ~DetectorCollection() noexcept
std::shared_ptr< Detector > operator[](std::string const &name) const
Implement the [name] operator.
An immutable collection of Detectors that can be accessed by name or ID.
A vector of catalogs used by Persistable.
void write(OutputArchiveHandle &handle) const override
Write the object to one or more catalogs.
DetectorCollection & operator=(DetectorCollection const &)=delete
IdMap const & getIdMap() const noexcept
Get an unordered map over detector IDs.
bool isPersistable() const noexcept override
DetectorCollections are always persistable.
A CRTP facade class for subclasses of Persistable.