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));
double getY0() const
Get light yield due to random background.
Data structure for vertex fit.
double getYB() const
Get light yield due to bremsstrahlung.
bool operator()(const JNPE &npe) const
Test compatibility of given light yields with muon energy.
bool operator()(const JHit_t &hit) const
Test compatibility of given hit with bright point.
double getDistance(const JFirst_t &first, const JSecond_t &second)
Get distance between objects.
double getYA() const
Get light yield due to delta-rays.
Auxiliary class for handling various light yields.
Auxiliary class to match data points with given model.
bool operator()(const JHit_t &hit) const
Test compatibility of given hit with track.
JModel(const JPoint4D &point, const double Dmax_m, const JTimeRange &compare)
Constructor.
Auxiliary class to define a range between two values.
Data structure for fit of straight line paralel to z-axis.
JModel(const JEnergy &X)
Constructor.
no fit printf nominal n $STRING awk v X
Data structure for fit of energy.
double getTanThetaC()
Get average tangent of Cherenkov angle of water corresponding to group velocity.
JModel(const JLine1Z &tz, const double Rmax_m, const JTimeRange &compare, const JZRange &z_m=JZRange())
Constructor.
JTOOLS::JRange< double > JZRange
JTOOLS::JRange< double > JTimeRange
Type definition for time range (unit [s]).