4 edm::LogError(
"FastTrajectoryCleaner") <<
"not implemented for Trajectory";
11 if (tc.size() <= 1)
return;
14 for (
auto & it : tc) {
15 if (!it.isValid())
continue;
19 for (
auto const & im : pd) {
21 auto const &
h = im.recHitR();
22 if (!
h.isValid())
continue;
26 if ( it.lastMeasurement().updatedState().globalMomentum().perp2() < 0.81f ) score -= 0.5
f*
validHitBonus_*
float(dof);
27 else if (it.dPhiCacheForLoopersReconstruction()==0 &&it.foundHits()>8) score+=
validHitBonus_*
float(dof);
28 if (score>=maxScore) {
34 for (
auto & it : tc) {
35 if ((&it)!=bestTr) it.invalidate();
void clean(TempTrajectoryContainer &) const override
const DataContainer & measurements() const
TrajectoryCleaner::TempTrajectoryContainer TempTrajectoryContainer
TrajectoryCleaner::TrajectoryPointerContainer TrajectoryPointerContainer