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);
size_t getN() const
Get number of hits.
double getChi2(const double E_GeV) const
Get chi2.
JNPEHit()
Default constructor.
double getP(const double E_GeV, const bool hit) const
Get probability for observing a hit or not as a function of muon energy.
Auxiliary class for handling various light yields.
Auxiliary class for simultaneously handling light yields and response of PMT.
double getP(const double E_GeV) const
Get muon energy dependent probability.
double getP() const
Get probability.
double getChi2(const double E_GeV, const bool hit) const
Get chi2 for observing a hit or not as a function of muon energy.
JNPEHit(const JNPE &npe, const size_t n)
Constructor.