1 #ifndef GroupedTrajCandLess_H
2 #define GroupedTrajCandLess_H
19 return score(a) < score(b);
25 return (t.dPhiCacheForLoopersReconstruction() == 0)
27 : 0.5
f * (1.
f -
std::cos(t.dPhiCacheForLoopersReconstruction())) * penalty;
32 auto bb = (t.dPhiCacheForLoopersReconstruction() == 0 && t.foundHits() > 8)
35 if (t.lastMeasurement().updatedState().globalMomentum().perp2() < 0.81f)
37 return t.chiSquared() - t.foundHits() * bb + t.lostHits() * penalty + looperPenalty(t);
Cos< T >::type cos(const T &t)
float score(const T &t) const
bool operator()(const T &a, const T &b) const
GroupedTrajCandLess(float p=5, float b=0)
float looperPenalty(const T &t) const