LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
22 #ifndef LSST_AFW_CAMERAGEOM_DETECTORCOLLECTION_H
23 #define LSST_AFW_CAMERAGEOM_DETECTORCOLLECTION_H
35 namespace cameraGeom {
151 public table::io::Persistable {
159 lsst::
geom::Box2D const & getFpBBox() const noexcept {
return _fpBBox; }
183 void write(OutputArchiveHandle& handle)
const override;
197 #endif // LSST_AFW_CAMERAGEOM_DETECTORCOLLECTION_H
DetectorCollection(DetectorCollection &&)=delete
std::size_t size() const noexcept
Get the number of detectors.
void remove(std::string const &name)
std::vector< std::shared_ptr< T > > List
DetectorCollection(DetectorCollection const &)=delete
def write(self, patchRef, catalog)
Write the output.
NameMap const & getNameMap() const noexcept
Get a map keyed and ordered by name.
DetectorCollection & operator=(DetectorCollection const &)=delete
std::shared_ptr< T > operator[](std::string const &name) const
Implement the [name] operator.
bool isPersistable() const noexcept override
DetectorCollections are always persistable.
bool empty() const noexcept
Determine if the collection contains any detectors.
DetectorCollection & operator=(DetectorCollection &&)=delete
std::shared_ptr< T > get(std::string const &name, std::shared_ptr< T > def=nullptr) const
Retrieve a detector by name, or fall back to a default.
A vector of catalogs used by Persistable.
virtual ~DetectorCollectionBase() noexcept=0
IdMap const & getIdMap() const noexcept
Get a map keyed and ordered by ID.
A base class for image defects.
An immutable collection of Detectors that can be accessed by name or ID.
DetectorCollectionBase() noexcept=default
daf::base::PropertyList * list
void add(std::shared_ptr< T > detector)
Add a detector to the collection.
table::Key< int > detector
virtual ~DetectorCollection() noexcept
A floating-point coordinate rectangle geometry.
A representation of a detector in a mosaic camera.
An abstract base class for collections of Detectors and specific subclasses thereof.