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;
 
Auxiliary class for start or end point evaluation. 
 
T find(T __begin, T __end) const 
Get start or end point of muon trajectory. 
 
bool is_valid() const 
Check validity of start or end point conditions. 
 
bool operator()(const JHit_t &first, const JHit_t &second) const 
Evaluate start or end point conditions. 
 
bool operator()(const JHit_t &observation) const 
Evaluate start or end point conditions. 
 
friend std::istream & operator>>(std::istream &in, JStart ¶meters)
Read parameters from input. 
 
double Pmin2
minimal probability each of two consecutive observations 
 
JStart(const double Pmin1, const double Pmin2)
Constructor. 
 
friend std::ostream & operator<<(std::ostream &out, const JStart ¶meters)
Write parameters to output. 
 
JStart()
Default constructor. 
 
double Pmin1
minimal probability single observation