1 #ifndef GroupedTrajCandLess_H 2 #define GroupedTrajCandLess_H 27 return (t.dPhiCacheForLoopersReconstruction()==0) ? 0.
f :
28 0.5
f*(1.
f-
std::cos(t.dPhiCacheForLoopersReconstruction()))*penalty;
34 auto bb = (t.dPhiCacheForLoopersReconstruction()==0 && t.foundHits()>8) ? 2*bonus : bonus;
35 if ( t.lastMeasurement().updatedState().globalMomentum().perp2() < 0.81f ) bb*=0.5
f;
36 return t.chiSquared()-t.foundHits()*bb+t.lostHits()*penalty
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