Objective function for the spherical wave fit including the speed of light. More...
#include <Chi2ForSphericalWaveFitVarC.h>
Public Member Functions | |
Chi2ForSphericalWaveFitVarC () | |
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 | SetPenalty (bool dP) |
void | SetSigmaGamma (double _sigma_gamma) |
~Chi2ForSphericalWaveFitVarC () | |
Private Attributes | |
std::vector< utl::Vector > | AntennaPositions |
std::vector< double > | AntennaTimes |
std::vector< double > | AntennaTimesError |
bool | computeSigmaGamma |
bool | doPenalty |
utl::CoordinateSystemPtr | fgLocalCS |
double | sigma_gamma |
bool | Spherical |
Objective function for the spherical wave fit including the speed of light.
Definition at line 21 of file Chi2ForSphericalWaveFitVarC.h.
Chi2ForSphericalWaveFitVarC::Chi2ForSphericalWaveFitVarC | ( | ) |
Definition at line 7 of file Chi2ForSphericalWaveFitVarC.cc.
Referenced by Clone().
Chi2ForSphericalWaveFitVarC::~Chi2ForSphericalWaveFitVarC | ( | ) |
Definition at line 14 of file Chi2ForSphericalWaveFitVarC.cc.
|
inlinevirtual |
Definition at line 36 of file Chi2ForSphericalWaveFitVarC.h.
References AntennaPositions, AntennaTimes, AntennaTimesError, Chi2ForSphericalWaveFitVarC(), fgLocalCS, and Set().
double Chi2ForSphericalWaveFitVarC::DoEval | ( | const double * | x | ) | const |
Definition at line 50 of file Chi2ForSphericalWaveFitVarC.cc.
References RdGeoCeLDFFitter::c, utl::kSpeedOfLight, utl::BasicVector< HepVector >::kSpherical, un2::Mean(), and std::pow().
|
inline |
Definition at line 39 of file Chi2ForSphericalWaveFitVarC.h.
void Chi2ForSphericalWaveFitVarC::Set | ( | const std::vector< utl::Vector > & | _AntennaPositions, |
const std::vector< double > & | _AntennaTimes, | ||
const std::vector< double > & | _AntennaTimesError, | ||
const utl::CoordinateSystemPtr & | _fgLocalCS | ||
) |
Definition at line 24 of file Chi2ForSphericalWaveFitVarC.cc.
References utl::kSpeedOfLight, utl::m, and un2::Mean().
Referenced by Clone(), and RdWaveFit::RdWaveFit::SphericalWaveFitVarC().
void Chi2ForSphericalWaveFitVarC::SetPenalty | ( | bool | dP | ) |
Definition at line 16 of file Chi2ForSphericalWaveFitVarC.cc.
Referenced by RdWaveFit::RdWaveFit::Init().
void Chi2ForSphericalWaveFitVarC::SetSigmaGamma | ( | double | _sigma_gamma | ) |
Definition at line 18 of file Chi2ForSphericalWaveFitVarC.cc.
Referenced by RdWaveFit::RdWaveFit::Init().
|
private |
Definition at line 45 of file Chi2ForSphericalWaveFitVarC.h.
Referenced by Clone().
|
private |
Definition at line 46 of file Chi2ForSphericalWaveFitVarC.h.
Referenced by Clone().
|
private |
Definition at line 47 of file Chi2ForSphericalWaveFitVarC.h.
Referenced by Clone().
|
private |
Definition at line 52 of file Chi2ForSphericalWaveFitVarC.h.
|
private |
Definition at line 51 of file Chi2ForSphericalWaveFitVarC.h.
|
private |
Definition at line 48 of file Chi2ForSphericalWaveFitVarC.h.
Referenced by Clone().
|
private |
Definition at line 53 of file Chi2ForSphericalWaveFitVarC.h.
|
private |
Definition at line 50 of file Chi2ForSphericalWaveFitVarC.h.