2#ifndef LSST_AFW_TABLE_slots_h_INCLUDED
3#define LSST_AFW_TABLE_slots_h_INCLUDED
84 bool isValid()
const {
return _measKey.isValid(); }
131 bool isValid()
const {
return _measKey.isValid(); }
178 bool isValid()
const {
return _measKey.isValid(); }
SlotDefinition specialization for centroids.
lsst::geom::Point2D MeasValue
Type returned by accessing the slot measurement.
CentroidSlotDefinition(std::string const &name)
Construct a SlotDefinition from the name of the slot (e.g. "Centroid")
Eigen::Matrix< float, 2, 2 > ErrValue
Type returned by accessing the slot uncertainty.
CentroidSlotDefinition & operator=(CentroidSlotDefinition const &)=default
CentroidSlotDefinition(CentroidSlotDefinition const &)=default
Key< Flag > getFlagKey() const
Return the cached Key used to access the slot failure flag.
~CentroidSlotDefinition()=default
CentroidSlotDefinition & operator=(CentroidSlotDefinition &&)=default
CentroidSlotDefinition(CentroidSlotDefinition &&)=default
CovarianceMatrixKey< float, 2 > ErrKey
Key type used to access the slot uncertainty.
ErrKey getErrKey() const
Return the cached Key used to access the slot uncertainty.
Point2DKey MeasKey
Key type used to access the slot measurement.
bool isValid() const
Return true if the key associated with the measurement is valid.
MeasKey getMeasKey() const
Return the cached Key used to access the slot measurement.
void setKeys(std::string const &alias, Schema const &schema)
Update the cached Keys following an change of aliases in the given Schema.
SlotDefinition specialization for fluxes.
Key< Flag > getFlagKey() const
Return the cached Key used to access the slot failure flag.
~FluxSlotDefinition()=default
FluxSlotDefinition & operator=(FluxSlotDefinition const &)=default
bool isValid() const
Return true if the key associated with the measurement is valid.
MeasKey getMeasKey() const
Return the cached Key used to access the slot measurement.
double ErrValue
Type returned by accessing the slot uncertainty.
FluxSlotDefinition & operator=(FluxSlotDefinition &&)=default
Key< double > MeasKey
Key type used to access the slot measurement.
Key< double > ErrKey
Key type used to access the slot uncertainty.
void setKeys(std::string const &alias, Schema const &schema)
Update the cached Keys following an change of aliases in the given Schema.
double MeasValue
Type returned by accessing the slot measurement.
FluxSlotDefinition(FluxSlotDefinition &&)=default
FluxSlotDefinition(std::string const &name)
Construct a SlotDefinition from the name of the slot (e.g. "PsfFlux")
FluxSlotDefinition(FluxSlotDefinition const &)=default
ErrKey getErrKey() const
Return the cached Key used to access the slot uncertainty.
A class used as a handle to a particular field in a table.
A FunctorKey used to get or set a geom::ellipses::Quadrupole from a tuple of constituent Keys.
Defines the fields and offsets for a table.
SlotDefinition specialization for shapes.
ShapeSlotDefinition(ShapeSlotDefinition const &)=default
Eigen::Matrix< float, 3, 3 > ErrValue
Type returned by accessing the slot uncertainty.
ShapeSlotDefinition & operator=(ShapeSlotDefinition &&)=default
CovarianceMatrixKey< float, 3 > ErrKey
Key type used to access the slot uncertainty.
void setKeys(std::string const &alias, Schema const &schema)
Update the cached Keys following an change of aliases in the given Schema.
ErrKey getErrKey() const
Return the cached Key used to access the slot uncertainty.
MeasKey getMeasKey() const
Return the cached Key used to access the slot measurement.
ShapeSlotDefinition(std::string const &name)
Construct a SlotDefinition from the name of the slot (e.g. "Shape")
QuadrupoleKey MeasKey
Key type used to access the slot measurement.
geom::ellipses::Quadrupole MeasValue
Type returned by accessing the slot measurement.
Key< Flag > getFlagKey() const
Return the cached Key used to access the slot failure flag.
bool isValid() const
Return true if the key associated with the measurement is valid.
ShapeSlotDefinition & operator=(ShapeSlotDefinition const &)=default
~ShapeSlotDefinition()=default
ShapeSlotDefinition(ShapeSlotDefinition &&)=default
std::string getName() const
Return the name of the slot (e.g. "Centroid" or "PsfFlux")
~SlotDefinition()=default
SlotDefinition & operator=(SlotDefinition &&)=default
SlotDefinition & operator=(SlotDefinition const &)=default
SlotDefinition(std::string const &name)
Construct a SlotDefinition from the name of the slot (e.g. "Centroid" or "PsfFlux")
SlotDefinition(SlotDefinition &&)=default
std::string getAlias() const
Return the alias field prefix used to lookup Keys for the slot.
SlotDefinition(SlotDefinition const &)=default
Class for storing generic metadata.
PointKey< double > Point2DKey
Point< double, 2 > Point2D
CentroidSlotDefinition defCentroid
FluxSlotDefinition defModelFlux
SlotSuite(Schema const &schema)
Initialize the slots.
FluxSlotDefinition defCalibFlux
FluxSlotDefinition defApFlux
FluxSlotDefinition defPsfFlux
ShapeSlotDefinition defShape
FluxSlotDefinition defGaussianFlux
void handleAliasChange(std::string const &alias, Schema const &schema)
Handle a callback from an AliasMap informing the table that an alias has changed.