10#include <tracking/trackFindingVXD/trackSetEvaluator/OverlapResolverNodeInfo.h>
36 std::sort(overlapResolverNodeInfo.begin(), overlapResolverNodeInfo.end(),
38 return lhs.qualityIndicator > rhs.qualityIndicator;
42 auto endOfOverlapResolverNodeInfo = overlapResolverNodeInfo.cend();
43 for (
auto trackIter = overlapResolverNodeInfo.begin(); trackIter != endOfOverlapResolverNodeInfo; trackIter++) {
44 if (!trackIter->activityState)
continue;
45 for (
auto testTrackIter = trackIter; testTrackIter != endOfOverlapResolverNodeInfo; testTrackIter++) {
46 if (std::find(trackIter->overlaps.begin(), trackIter->overlaps.end(), testTrackIter->trackIndex) !=
47 trackIter->overlaps.end()) {
48 testTrackIter->activityState = 0.;
Executes greedy algorithm for vector of QITrackOverlap structs.
void performSelection(std::vector< OverlapResolverNodeInfo > &overlapResolverNodeInfo)
Sets the isActive flag in m_qiTrackOverlap to false, for killed tracks.
Abstract base class for different kinds of events.
Struct for holding information needed by overlap resolving algorithms for one node.