Jpp
software
JFit
quality_sorter.cc
Go to the documentation of this file.
1
#include "
JFit/JEvt.hh
"
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
JFIT::JFit
& first,
const
JFIT::JFit
& second)
11
{
12
return
first.
getQ
() > second.
getQ
();
13
}
qualitySorter
bool qualitySorter(const JFIT::JFit &first, const JFIT::JFit &second)
Comparison of fit results.
Definition:
quality_sorter.cc:10
JFIT::JFit::getQ
double getQ() const
Get quality.
Definition:
JEvt.hh:150
JEvt.hh
JFIT::JFit
Data structure for track fit results.
Definition:
JEvt.hh:31
Generated by
1.8.16