lsst.jointcal  master-gc935ebf72c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
lsst::jointcal::Chi2Entry Struct Reference

a class to accumulate chi2 contributions together with pointers to the contributors. More...

Public Member Functions

 Chi2Entry (double c, std::shared_ptr< BaseStar > s)
 
bool operator< (const Chi2Entry &R) const
 
 Chi2Entry (double chi2, std::shared_ptr< MeasuredStar > star)
 
bool operator< (const Chi2Entry &right) const
 

Public Attributes

double chi2
 
std::shared_ptr< BaseStarps
 
std::shared_ptr< MeasuredStarmeasuredStar
 

Detailed Description

a class to accumulate chi2 contributions together with pointers to the contributors.

This structure allows to compute the chi2 statistics (average and variance) and directly point back to the bad guys without relooping. The Chi2Entry routine makes it compatible with accumulateStatImage and accumulateStatImageList.

Definition at line 562 of file AstrometryFit.cc.

Constructor & Destructor Documentation

lsst::jointcal::Chi2Entry::Chi2Entry ( double  c,
std::shared_ptr< BaseStar s 
)
inline

Definition at line 566 of file AstrometryFit.cc.

lsst::jointcal::Chi2Entry::Chi2Entry ( double  chi2,
std::shared_ptr< MeasuredStar star 
)
inline

Definition at line 161 of file PhotometryFit.cc.

Member Function Documentation

bool lsst::jointcal::Chi2Entry::operator< ( const Chi2Entry right) const
inline

Definition at line 163 of file PhotometryFit.cc.

bool lsst::jointcal::Chi2Entry::operator< ( const Chi2Entry R) const
inline

Definition at line 568 of file AstrometryFit.cc.

Member Data Documentation

double lsst::jointcal::Chi2Entry::chi2

Definition at line 563 of file AstrometryFit.cc.

std::shared_ptr<MeasuredStar> lsst::jointcal::Chi2Entry::measuredStar

Definition at line 159 of file PhotometryFit.cc.

std::shared_ptr<BaseStar> lsst::jointcal::Chi2Entry::ps

Definition at line 564 of file AstrometryFit.cc.


The documentation for this struct was generated from the following files: