3 #ifndef _Chi2ForSphericalWaveFitVarC_h_
4 #define _Chi2ForSphericalWaveFitVarC_h_
12 #include <utl/Vector.h>
13 #include <utl/Point.h>
14 #include <utl/TimeStamp.h>
15 #include <utl/PhysicalConstants.h>
17 #include <Math/IFunction.h>
28 void Set(
const std::vector<utl::Vector> &_AntennaPositions,
const std::vector<double> &_AntennaTimes,
const std::vector<double> &_AntennaTimesError,
const utl::CoordinateSystemPtr &_fgLocalCS);
39 unsigned int NDim()
const {
int n=4;
return n;};
42 double DoEval(
const double* x)
const;
~Chi2ForSphericalWaveFitVarC()
utl::CoordinateSystemPtr fgLocalCS
std::vector< double > AntennaTimes
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
std::vector< utl::Vector > AntennaPositions
virtual ROOT::Math::IBaseFunctionMultiDim * Clone() const
void Set(const std::vector< utl::Vector > &_AntennaPositions, const std::vector< double > &_AntennaTimes, const std::vector< double > &_AntennaTimesError, const utl::CoordinateSystemPtr &_fgLocalCS)
void SetSigmaGamma(double _sigma_gamma)
double DoEval(const double *x) const
std::vector< double > AntennaTimesError
Chi2ForSphericalWaveFitVarC()
unsigned int NDim() const
Objective function for the spherical wave fit including the speed of light.