lsst.jointcal
master-g59ec7209dd
|
A hanger for star associations. More...
#include <StarMatch.h>
Public Member Functions | |
StarMatch (const FatPoint &point1, const FatPoint &point2, std::shared_ptr< const BaseStar > star1, std::shared_ptr< const BaseStar > star2) | |
constructor. More... | |
double | computeDistance (const Gtransfo >ransfo) const |
returns the distance from gtransfo(point1) to point2. More... | |
double | computeChi2 (const Gtransfo >ransfo) const |
returns the chi2 (using errors in the FatPoint's) More... | |
void | setDistance (const Gtransfo >ransfo) |
to be used before sorting on distances. More... | |
double | getDistance () const |
returns the value computed by the above one. More... | |
void | swap () |
StarMatch () | |
~StarMatch () | |
Public Attributes | |
FatPoint | point1 |
FatPoint | point2 |
2 points More... | |
std::shared_ptr< const BaseStar > | s1 |
std::shared_ptr< const BaseStar > | s2 |
double | distance |
double | chi2 |
Friends | |
class | StarMatchList |
std::ostream & | operator<< (std::ostream &stream, const StarMatch &Match) |
bool | compareStar1 (const StarMatch &one, const StarMatch &two) |
bool | sameStar1 (const StarMatch &one, const StarMatch &two) |
bool | compareStar2 (const StarMatch &one, const StarMatch &two) |
bool | sameStar2 (const StarMatch &one, const StarMatch &two) |
A hanger for star associations.
Definition at line 31 of file StarMatch.h.
|
inline |
constructor.
gives 2 points (that contain the geometry), plus pointers to the Star objects (which are there for user convenience).
Definition at line 47 of file StarMatch.h.
|
inlineexplicit |
Definition at line 73 of file StarMatch.h.
|
inline |
Definition at line 77 of file StarMatch.h.
double lsst::jointcal::StarMatch::computeChi2 | ( | const Gtransfo & | gtransfo | ) | const |
returns the chi2 (using errors in the FatPoint's)
Definition at line 20 of file StarMatch.cc.
|
inline |
returns the distance from gtransfo(point1) to point2.
Definition at line 55 of file StarMatch.h.
|
inline |
returns the value computed by the above one.
Definition at line 65 of file StarMatch.h.
|
inline |
to be used before sorting on distances.
Definition at line 63 of file StarMatch.h.
|
inline |
Definition at line 67 of file StarMatch.h.
Definition at line 93 of file StarMatch.h.
Definition at line 99 of file StarMatch.h.
|
friend |
Definition at line 97 of file StarMatch.h.
Definition at line 103 of file StarMatch.h.
|
friend |
Definition at line 32 of file StarMatch.h.
double lsst::jointcal::StarMatch::chi2 |
Definition at line 41 of file StarMatch.h.
double lsst::jointcal::StarMatch::distance |
Definition at line 40 of file StarMatch.h.
FatPoint lsst::jointcal::StarMatch::point1 |
Definition at line 37 of file StarMatch.h.
FatPoint lsst::jointcal::StarMatch::point2 |
2 points
the Star pointers (the pointer is in fact generic, pointed data is never used).
Definition at line 37 of file StarMatch.h.
std::shared_ptr<const BaseStar> lsst::jointcal::StarMatch::s1 |
Definition at line 39 of file StarMatch.h.
std::shared_ptr<const BaseStar> lsst::jointcal::StarMatch::s2 |
Definition at line 39 of file StarMatch.h.