Jpp 19.3.0-rc.3
the software that should make you happy
|
Auxiliary methods to evaluate Poisson probabilities and chi2. More...
#include <cmath>
#include "JPhysics/JK40Rates.hh"
#include "JMath/JMath.hh"
#include "JMath/JMathSupportkit.hh"
#include "JFit/JVectorNZ.hh"
#include "JFit/JMatrixNZ.hh"
Go to the source code of this file.
Namespaces | |
namespace | JFIT |
Auxiliary classes and methods for linear and iterative data regression. | |
namespace | JPP |
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES). | |
Functions | |
double | JFIT::getP (const double expval, bool hit) |
Get Poisson probability to observe a hit or not for given expectation value for the number of hits. | |
double | JFIT::getChi2 (const double P) |
Get chi2 corresponding to given probability. | |
double | JFIT::getChi2 (const double expval, bool hit) |
Get chi2 to observe a hit or not for given expectation value for the number of hits. | |
template<class JModel_t , class JHit_t > | |
double | JFIT::getChi2 (const JModel_t &model, const JHit_t &hit, const double sigma) |
Determine chi2 of a hit for a given model and time resolution. | |
template<class JModel_t , class T > | |
double | JFIT::getChi2 (const JModel_t &model, T __begin, T __end, const double sigma) |
Determine chi2 of data for given model and time resolution. | |
double | JFIT::getChi2 (const JVectorNZ &Y, const JMatrixNZ &V) |
Determine chi2 using full covariance matrix. | |
template<class T > | |
double | JFIT::getChi2 (const JLine1Z &track, T __begin, T __end, const JMatrixNZ &V) |
Determine chi2 of data for given track using full covariance matrix. | |
template<class T > | |
double | JFIT::getChi2 (const JLine1Z &track, T __begin, T __end, const double alpha, const double sigma) |
Determine chi2 of data for given track and angular and time resolution. | |
double | JFIT::getChi2 (const JVectorNZ &Y, const JMatrixNZ &V, const int i) |
Determine difference between chi2 with and without hit using full covariance matrix. | |
template<class JModel_t , class JFit_t , class T > | |
double | JFIT::getChi2 (const JModel_t &model, const JFit_t &fit, T __begin, T __end) |
Get chi2 of data for given model and fit function. | |
double | JFIT::getProbability (const size_t N, const size_t M, const JK40Rates &R_Hz, const double T_ns) |
Get probability due to random background. | |
Auxiliary methods to evaluate Poisson probabilities and chi2.
Definition in file JFitToolkit.hh.