LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
SlotDefinition specialization for centroids. More...
#include <slots.h>
Public Types | |
typedef geom::Point2D | MeasValue |
Type returned by accessing the slot measurement. More... | |
typedef Eigen::Matrix< float, 2, 2 > | ErrValue |
Type returned by accessing the slot uncertainty. More... | |
typedef Point2DKey | MeasKey |
Key type used to access the slot measurement. More... | |
typedef CovarianceMatrixKey < float, 2 > | ErrKey |
Key type used to access the slot uncertainty. More... | |
Public Member Functions | |
CentroidSlotDefinition (std::string const &name) | |
Construct a SlotDefinition from the name of the slot (e.g. "Centroid") More... | |
bool | isValid () const |
Return true if the key associated with the measurement is valid. More... | |
MeasKey | getMeasKey () const |
Return the cached Key used to access the slot measurement. More... | |
ErrKey | getErrKey () const |
Return the cached Key used to access the slot uncertainty. More... | |
Key< Flag > | getFlagKey () const |
Return the cached Key used to access the slot failure flag. More... | |
void | setKeys (std::string const &alias, Schema const &schema) |
Public Member Functions inherited from lsst::afw::table::SlotDefinition | |
SlotDefinition (std::string const &name) | |
Construct a SlotDefinition from the name of the slot (e.g. "Centroid" or "PsfFlux") More... | |
std::string | getName () const |
Return the name of the slot (e.g. "Centroid" or "PsfFlux") More... | |
std::string | getAlias () const |
Private Attributes | |
MeasKey | _measKey |
ErrKey | _errKey |
Key< Flag > | _flagKey |
Additional Inherited Members | |
Protected Attributes inherited from lsst::afw::table::SlotDefinition | |
std::string | _name |
typedef CovarianceMatrixKey<float,2> lsst::afw::table::CentroidSlotDefinition::ErrKey |
typedef Eigen::Matrix<float,2,2> lsst::afw::table::CentroidSlotDefinition::ErrValue |
|
inlineexplicit |
Construct a SlotDefinition from the name of the slot (e.g. "Centroid")
Definition at line 120 of file slots.h.
|
inline |
|
inline |
|
inline |
|
inline |
Return true if the key associated with the measurement is valid.
Definition at line 123 of file slots.h.
void lsst::afw::table::CentroidSlotDefinition::setKeys | ( | std::string const & | alias, |
Schema const & | schema | ||
) |
Update the cached Keys following an change of aliases in the given Schema
This method is intended for internal use by SourceTable only.
[in] | alias | If non-empty, abort early if this string does not start with getAlias() (used to see if an alias change might have affected this slot, and avoid unnecessary work if not). |
[in] | schema | Schema to search for Keys. |
|
private |
|
private |
|
private |