Go to the documentation of this file. 1 #ifndef __JFIT__JMODEL__
2 #define __JFIT__JMODEL__
17 namespace JPP {
using namespace JFIT; }
26 template<
class JModel_t>
51 this->Rmax_m = Rmax_m;
52 this->compare = compare;
63 template<
class JHit_t>
70 if (hit.getZ() - this->getZ() >= z_m.getLowerLimit() &&
72 return compare(hit.getT() - this->getT(hit));
136 this->Dmax_m = Dmax_m;
137 this->compare = compare;
147 template<
class JHit_t>
151 return compare(hit.getT() - this->getT(hit));
Auxiliary class to set-up Hit.
Data structure for fit of energy.
Auxiliary classes and methods for linear and iterative data regression.
bool operator()(const JNPE &npe) const
Test compatibility of given light yields with muon energy.
double getYB() const
Get light yield due to bremsstrahlung.
double getY0() const
Get expectation value for number of single hits.
JTOOLS::JRange< double > JZRange
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class to match data points with given model.
double getDistance(const JFirst_t &first, const JSecond_t &second)
Get distance between objects.
Data structure for vertex fit.
bool operator()(const JHit_t &hit) const
Test compatibility of given hit with track.
JModel(const JEnergy &X)
Constructor.
Data structure for fit of straight line paralel to z-axis.
Auxiliary class for handling various light yields.
JModel(const JPoint4D &point, const double Dmax_m, const JTimeRange &compare)
Constructor.
bool operator()(const JHit_t &hit) const
Test compatibility of given hit with bright point.
JModel(const JLine1Z &tz, const double Rmax_m, const JTimeRange &compare, const JZRange &z_m=JZRange())
Constructor.
double getYA() const
Get light yield due to muon itself.