1#ifndef __JFIT__JNPEHIT__
2#define __JFIT__JNPEHIT__
12namespace JPP {
using namespace JFIT; }
76 double getP(
const double E_GeV)
const
78 const double x = this->
getH1(E_GeV) + this->
getH0();
80 const double p0 = exp(-x) * (1.0 +
98 return -log(this->
getP(E_GeV));
Auxiliary classes and methods for linear and iterative data regression.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
double getH0() const
Expected number of photo-electrons for random background hypothesis.
Auxiliary class for simultaneously handling light yields and response of PMT.
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.
double getPS() const
Get survival probability of one photo-electron.
double ps
survival probability of one photo-electron
JNPEHit()
Default constructor.
JNPEHit(const JNPE &npe, const size_t ns, const double ps)
Constructor.
Auxiliary class for handling various light yields.
double getH1(const double E_GeV) const
Expected number of photo-electrons for muon hypothesis as a function of muon energy.