Class DetectorCollection

Inheritance Relationships

Base Types

Derived Type

Class Documentation

class DetectorCollection : public lsst::afw::cameraGeom::DetectorCollectionBase<Detector const>, public lsst::afw::table::io::PersistableFacade<DetectorCollection>, public lsst::afw::table::io::Persistable

An immutable collection of Detectors that can be accessed by name or ID

Subclassed by lsst::afw::cameraGeom::Camera

Public Functions

DetectorCollection(List const &list)
virtual ~DetectorCollection()
lsst::geom::Box2D const &getFpBBox() const

Return a focal plane bounding box that encompasses all detectors.

DetectorCollection(DetectorCollection const&)
DetectorCollection(DetectorCollection&&)
DetectorCollection &operator=(DetectorCollection const&)
DetectorCollection &operator=(DetectorCollection&&)
bool isPersistable() const

DetectorCollections are always persistable.

Protected Functions

DetectorCollection(table::io::InputArchive const &archive, table::io::CatalogVector const &catalogs)
std::string getPersistenceName() const

Return the unique name used to persist this object and look up its factory.

Must be less than ArchiveIndexSchema::MAX_NAME_LENGTH characters.

std::string getPythonModule() const

Return the fully-qualified Python module that should be imported to guarantee that its factory is registered.

Must be less than ArchiveIndexSchema::MAX_MODULE_LENGTH characters.

Will be ignored if empty.

void write(OutputArchiveHandle &handle) const

Write the object to one or more catalogs.

The handle object passed to this function provides an interface for adding new catalogs and adding nested objects to the same archive (while checking for duplicates). See OutputArchiveHandle for more information.