LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | Friends | List of all members
lsst::jointcal::Chi2Star Struct Reference

#include <Chi2.h>

Public Member Functions

 Chi2Star (double chi2, std::shared_ptr< BaseStar > star)
 
bool operator< (Chi2Star const &rhs) const
 

Public Attributes

double chi2
 
std::shared_ptr< BaseStarstar
 

Friends

std::ostreamoperator<< (std::ostream &s, Chi2Star const &chi2Star)
 

Detailed Description

Definition at line 85 of file Chi2.h.

Constructor & Destructor Documentation

◆ Chi2Star()

lsst::jointcal::Chi2Star::Chi2Star ( double  chi2,
std::shared_ptr< BaseStar star 
)
inline

Definition at line 89 of file Chi2.h.

89 : chi2(chi2), star(std::move(star)) {}

Member Function Documentation

◆ operator<()

bool lsst::jointcal::Chi2Star::operator< ( Chi2Star const &  rhs) const
inline

Definition at line 91 of file Chi2.h.

91 { return (chi2 < rhs.chi2); }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream s,
Chi2Star const &  chi2Star 
)
friend

Definition at line 93 of file Chi2.h.

93  {
94  s << "chi2: " << chi2Star.chi2 << " star: " << *(chi2Star.star) << std::endl;
95  return s;
96  }

Member Data Documentation

◆ chi2

double lsst::jointcal::Chi2Star::chi2

Definition at line 86 of file Chi2.h.

◆ star

std::shared_ptr<BaseStar> lsst::jointcal::Chi2Star::star

Definition at line 87 of file Chi2.h.


The documentation for this struct was generated from the following file:
std::move
T move(T... args)
lsst::jointcal::Chi2Star::star
std::shared_ptr< BaseStar > star
Definition: Chi2.h:87
lsst::jointcal::Chi2Star::chi2
double chi2
Definition: Chi2.h:86
std::endl
T endl(T... args)