Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
quality_sorter.cc
Go to the documentation of this file.
2 
3 /**
4  * Comparison of fit results.
5  *
6  * \param first first fit
7  * \param second second fit
8  * \return true if first fit has better quality than second; else false
9  */
10 extern "C" bool qualitySorter(const JRECONSTRUCTION::JFit& first, const JRECONSTRUCTION::JFit& second)
11 {
12  return first.getQ() > second.getQ();
13 }
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
Data structure for track fit results.
Definition: JEvt.hh:32
double getQ() const
Get quality.
Definition: JEvt.hh:152
bool qualitySorter(const JRECONSTRUCTION::JFit &first, const JRECONSTRUCTION::JFit &second)
Comparison of fit results.