Objective function for the spherical wave fit. More...
#include <Chi2ForSphericalWaveFit.h>
Public Member Functions | |
Chi2ForSphericalWaveFit () | |
virtual ROOT::Math::IBaseFunctionMultiDim * | Clone () const |
double | DoEval (const double *x) const |
unsigned int | NDim () const |
void | Set (const std::vector< utl::Vector > &_AntennaPositions, const std::vector< double > &_AntennaTimes, const std::vector< double > &_AntennaTimesError, const utl::CoordinateSystemPtr &_fgLocalCS) |
void | UseCartesicCoordinates () |
void | UseSphericalCoordinates () |
~Chi2ForSphericalWaveFit () | |
Private Attributes | |
std::vector< utl::Vector > | AntennaPositions |
std::vector< double > | AntennaTimes |
std::vector< double > | AntennaTimesError |
utl::CoordinateSystemPtr | fgLocalCS |
bool | Spherical |
Objective function for the spherical wave fit.
Definition at line 21 of file Chi2ForSphericalWaveFit.h.
Chi2ForSphericalWaveFit::Chi2ForSphericalWaveFit | ( | ) |
Definition at line 7 of file Chi2ForSphericalWaveFit.cc.
Referenced by Clone().
Chi2ForSphericalWaveFit::~Chi2ForSphericalWaveFit | ( | ) |
Definition at line 11 of file Chi2ForSphericalWaveFit.cc.
|
inlinevirtual |
Definition at line 37 of file Chi2ForSphericalWaveFit.h.
References AntennaPositions, AntennaTimes, AntennaTimesError, Chi2ForSphericalWaveFit(), fgLocalCS, and Set().
double Chi2ForSphericalWaveFit::DoEval | ( | const double * | x | ) | const |
Definition at line 39 of file Chi2ForSphericalWaveFit.cc.
References RdGeoCeLDFFitter::c, utl::kSpeedOfLight, utl::BasicVector< HepVector >::kSpherical, un2::Mean(), and std::pow().
|
inline |
Definition at line 40 of file Chi2ForSphericalWaveFit.h.
void Chi2ForSphericalWaveFit::Set | ( | const std::vector< utl::Vector > & | _AntennaPositions, |
const std::vector< double > & | _AntennaTimes, | ||
const std::vector< double > & | _AntennaTimesError, | ||
const utl::CoordinateSystemPtr & | _fgLocalCS | ||
) |
Definition at line 19 of file Chi2ForSphericalWaveFit.cc.
References un2::Mean().
Referenced by Clone(), and RdWaveFit::RdWaveFit::SphericalWaveFit().
void Chi2ForSphericalWaveFit::UseCartesicCoordinates | ( | ) |
Definition at line 14 of file Chi2ForSphericalWaveFit.cc.
void Chi2ForSphericalWaveFit::UseSphericalCoordinates | ( | ) |
Definition at line 16 of file Chi2ForSphericalWaveFit.cc.
|
private |
Definition at line 46 of file Chi2ForSphericalWaveFit.h.
Referenced by Clone().
|
private |
Definition at line 47 of file Chi2ForSphericalWaveFit.h.
Referenced by Clone().
|
private |
Definition at line 48 of file Chi2ForSphericalWaveFit.h.
Referenced by Clone().
|
private |
Definition at line 49 of file Chi2ForSphericalWaveFit.h.
Referenced by Clone().
|
private |
Definition at line 51 of file Chi2ForSphericalWaveFit.h.