2 #ifndef LSST_JOINTCAL_BASE_STAR_H 3 #define LSST_JOINTCAL_BASE_STAR_H 18 #define DECALAGE_IJ_XY 0. 19 #define DECALAGE_XY_IJ 0. 30 BaseStar(
double xx,
double yy,
double flux,
double fluxErr)
36 double getX()
const {
return x; }
38 double getY()
const {
return y; }
47 stream <<
"x: " <<
x <<
" y: " <<
y <<
" flux: " <<
_flux <<
" fluxErr: " <<
_fluxErr;
56 static const char *
typeName() {
return "BaseStar"; }
76 int decodeFormat(
char const *formatLine,
char const *starName);
85 #endif // LSST_JOINTCAL_BASE_STAR_H BaseStarList::const_iterator BaseStarCIterator
double getX() const
access stuff.
virtual void dump(std::ostream &stream=std::cout) const
utility
StarList< BaseStar > BaseStarList
int decodeFormat(char const *formatLine, char const *starName)
BaseStarList::iterator BaseStarIterator
double getFluxErr() const
A Point with uncertainties.
The base class for handling stars. Used by all matching routines.
Class for a simple mapping implementing a generic Gtransfo.
BaseStar & operator=(Point const &point)
static const char * typeName()
void setFluxErr(double fluxErr)
void setFlux(double flux)
bool decreasingFlux(BaseStar const *star1, BaseStar const *star2)
enables to sort easily a starList (of anything that derives from BaseStar)
BaseStar(Point const &point, double flux, double fluxErr)
friend std::ostream & operator<<(std::ostream &stream, BaseStar const &s)
allows std::cout << aBaseStar;
BaseStar(double xx, double yy, double flux, double fluxErr)
constructor