#include <TrajCandLess.h>
Public Member Functions | |
bool | operator() (const TR &a, const TR &b) const |
TrajCandLess (float p=5) | |
Private Attributes | |
float | penalty |
Defines an ordering of Trajectories in terms of "goodness" The comparison is done in terms of total chi**2 plus a penalty for "lost" hits. This is OK for tracks of almost same number of hits, as in TrajectoryBuilder use, but is not applicable for tracks of different number of thits: the shortest track is likely to be considered "better".
Definition at line 16 of file TrajCandLess.h.
TrajCandLess< TR >::TrajCandLess | ( | float | p = 5 | ) | [inline] |
Definition at line 21 of file TrajCandLess.h.
bool TrajCandLess< TR >::operator() | ( | const TR & | a, |
const TR & | b | ||
) | const [inline] |
Definition at line 23 of file TrajCandLess.h.
References TrajCandLess< TR >::penalty.
float TrajCandLess< TR >::penalty [private] |
Definition at line 30 of file TrajCandLess.h.
Referenced by TrajCandLess< TR >::operator()().