Go to the documentation of this file. 1 #ifndef __JFIT__JSTART__
2 #define __JFIT__JSTART__
14 namespace JPP {
using namespace JFIT; }
67 template<
class JHit_t>
70 return observation.getP() <
Pmin1;
86 template<
class JHit_t>
88 const JHit_t& second)
const
90 return ((first.getP() <
Pmin1) ||
91 (first.getP() <
Pmin2 && second.getP() <
Pmin2));
108 inline T
find(T __begin, T __end)
const
110 if (__begin != __end) {
111 for (T q = __begin, p = q++; q != __end; ++p, ++q) {
112 if ((*
this)(*p,*q)) {
146 out << parameters.
Pmin1 <<
' ' << parameters.
Pmin2;
JStart()
Default constructor.
Auxiliary class to set-up Hit.
friend std::istream & operator>>(std::istream &in, JStart ¶meters)
Read parameters from input.
Auxiliary classes and methods for linear and iterative data regression.
bool operator()(const JHit_t &observation) const
Evaluate start or end point conditions.
Auxiliary class for start or end point evaluation.
bool is_valid() const
Check validity of start or end point conditions.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
friend std::ostream & operator<<(std::ostream &out, const JStart ¶meters)
Write parameters to output.
JStart(const double Pmin1, const double Pmin2)
Constructor.
double Pmin2
minimal probability each of two consecutive observations
bool operator()(const JHit_t &first, const JHit_t &second) const
Evaluate start or end point conditions.
double Pmin1
minimal probability single observation
T find(T __begin, T __end) const
Get start or end point of muon trajectory.