1#ifndef __JRECONSTRUCTION__JSTART__
2#define __JRECONSTRUCTION__JSTART__
77 inline T
find(T __begin, T __end)
const
79 for (T p = __begin; p != __end; ++p) {
81 if (p->getP() < this->Pmin1) {
85 if (p->getP() < this->Pmin2) {
87 if (q->getP() < this->Pmin2) {
122 out << parameters.
Pmin1 <<
' ' << parameters.
Pmin2 <<
' ' << parameters.
Nmax2;
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class for start or end point evaluation.
int Nmax2
maximal number for twofold observations
bool is_valid() const
Check validity of start or end point conditions.
double Pmin2
minimal probability for twofold observations
friend std::ostream & operator<<(std::ostream &out, const JStart ¶meters)
Write parameters to output.
T find(T __begin, T __end) const
Get start point of muon trajectory.
JStart()
Default constructor.
JStart(const double Pmin1, const double Pmin2, const int Nmax2)
Constructor.
friend std::istream & operator>>(std::istream &in, JStart ¶meters)
Read parameters from input.
double Pmin1
minimal probability single observation