10#include <tracking/spacePointCreation/SpacePointTrackCand.h>
11#include <framework/datastore/StoreArray.h>
12#include <framework/core/Module.h>
13#include <framework/datastore/SelectSubset.h>
40 void event()
override final;
Module that selects a subset with a fixed size x out of all SpacePointTrackCandidates.
void initialize() override final
Requires SpacePointTrackCands.
std::string m_newNameSpacePointTrackCands
Name of optional output StoreArray containing SpacePointTrackCands.
StoreArray< SpacePointTrackCand > m_newSpacePointTrackCands
StoreArray for optional output SpacePointTrackCands.
std::vector< int > getSortedTrackCandIndices(bool increasing)
Return StoreArrayIndices of all candidates sorted by their qualityIndicator.
void event() override final
Application of the cut.
SelectSubset< SpacePointTrackCand > m_bestCandidates
SubsetSelector operating on a custom selection criteria.
void selectSubset()
Copy or delete candidates to achieve a subset creation.
BestVXDTrackCandidatesSelectorModule()
Constructor of the module.
unsigned short m_subsetSize
target size of subset
bool m_subsetCreation
If True copy selected SpacePointTrackCands to new StoreArray, If False deactivate remaining SpacePoin...
StoreArray< SpacePointTrackCand > m_spacePointTrackCands
StoreArray for input SpacePointTrackCands.
void deactivateCandidates()
Don't copy/delete candidates but rather deactivate them by setting a SpacePointTrackCandidate flag.
std::string m_nameSpacePointTrackCands
Name of input StoreArray containing SpacePointTrackCands.
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.