24 #ifndef LSST_MEAS_BASE_SdssCentroid_h_INCLUDED 25 #define LSST_MEAS_BASE_SdssCentroid_h_INCLUDED 34 #include "lsst/pex/config.h" 50 LSST_CONTROL_FIELD(
binmax,
int,
"maximum allowed binning");
51 LSST_CONTROL_FIELD(
peakMin,
double,
"if the peak's less than this insist on binning at least once");
52 LSST_CONTROL_FIELD(
wfac,
double,
"fiddle factor for adjusting the binning");
53 LSST_CONTROL_FIELD(
doFootprintCheck,
bool,
"Do check that the centroid is contained in footprint.");
55 "If set > 0, Centroid Check also checks distance from footprint peak.");
109 #endif // !LSST_MEAS_BASE_SdssCentroid_h_INCLUDED
double maxDistToPeak
"If set > 0, Centroid Check also checks distance from footprint peak." ;
The Sdss Centroid Algorithm.
Simple class used to define and document flags The name and doc constitute the identity of the FlagDe...
A C++ control class to handle SdssCentroidAlgorithm's configuration.
int binmax
"maximum allowed binning" ;
static FlagDefinition const ALMOST_NO_SECOND_DERIVATIVE
Exception to be thrown when a measurement algorithm experiences a known failure mode.
static FlagDefinition const NOT_AT_MAXIMUM
Utility class for handling flag fields that indicate the failure modes of an algorithm.
static FlagDefinition const EDGE
static FlagDefinition const NO_SECOND_DERIVATIVE
double peakMin
"if the peak's less than this insist on binning at least once" ;
double wfac
"fiddle factor for adjusting the binning" ;
An abstract base classes for which the same implementation can be used for both SingleFrameAlgorithm ...
SdssCentroidControl Control
A typedef to the Control object for this algorithm, defined above.
A FunctorKey for CentroidResult.
SdssCentroidControl()
Default constructor.
bool doFootprintCheck
"Do check that the centroid is contained in footprint." ;
vector-type utility class to build a collection of FlagDefinitions
static FlagDefinition const FAILURE