22 namespace ActsExamples {
23 struct AlgorithmContext;
30 m_selector(config.selectorConfig) {
32 throw std::invalid_argument(
"Input track collection is empty");
36 throw std::invalid_argument(
"Output track collection is empty");
47 const auto&
inputTracks = m_inputTrackContainer(ctx);
49 std::shared_ptr<Acts::ConstVectorMultiTrajectory> trackStateContainer =
52 auto trackContainer = std::make_shared<Acts::VectorTrackContainer>();
56 auto tempTrackStateContainer =
57 std::make_shared<Acts::VectorMultiTrajectory>();
59 TrackContainer filteredTracks{trackContainer, tempTrackStateContainer};
64 m_selector.selectTracks(
inputTracks, filteredTracks);
66 ACTS_DEBUG(
"Track container size after filtering: " << filteredTracks.size());
69 std::make_shared<Acts::ConstVectorTrackContainer>(