Go to the documentation of this file. 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);
double getP(const double E_GeV) const
Get muon energy dependent probability.
Auxiliary classes and methods for linear and iterative data regression.
size_t getN() const
Get number of hits.
double getP() const
Get probability.
Auxiliary class for simultaneously handling light yields and response of PMT.
double getP(const double E_GeV, const bool hit) const
Get probability for observing a hit or not as a function of muon energy.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
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 getChi2(const double E_GeV) const
Get chi2.
Auxiliary class for handling various light yields.
JNPEHit()
Default constructor.
JNPEHit(const JNPE &npe, const size_t n)
Constructor.