1 #ifndef __JFIT__JNPEHIT__
2 #define __JFIT__JNPEHIT__
12 namespace JPP {
using namespace JFIT; }
75 double getP(
const double E_GeV)
const
77 return this->
getP(E_GeV, this->
getN() > 0);
Auxiliary classes and methods for linear and iterative data regression.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class for simultaneously handling light yields and response of PMT.
double getChi2(const double E_GeV, const bool hit) const
Get chi2 for observing a hit or not as a function of muon energy.
double getP(const double E_GeV) const
Get muon energy dependent probability.
size_t getN() const
Get number of hits.
double getChi2(const double E_GeV) const
Get chi2.
JNPEHit(const JNPE &npe, const size_t n)
Constructor.
double getP() const
Get probability.
JNPEHit()
Default constructor.
Auxiliary class for handling various light yields.
double getChi2(const double E_GeV, const bool hit) const
Get chi2 for observing a hit or not as a function of muon energy.
double getP(const double E_GeV, const bool hit) const
Get probability for observing a hit or not as a function of muon energy.