trout
Phlex-based reconstruction framework for the SHiP experiment.
Loading...
Searching...
No Matches
generate_seeds.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 CERN for the benefit of the SHiP Collaboration
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#pragma once
6
9#include "SpillContext.hpp"
10#include "phlex/core/product_selector.hpp"
11
12#include <string>
13
14namespace SHiP::trout {
15
16// generate_seeds' per-child output, a single seed's identity: two hit
17// indices into SpillContext::measurements (one at station 1, one at station
18// 2). fit_seed takes it together with the spill's SpillContext and rebuilds
19// the actual BoundTrackParameters via makeSeedFromHitPair.
24
25// generate_seeds (spill layer, unfold): walks every station-1/station-2 hit
26// pair in the spill, applying a time-coincidence + forward-direction cut,
27// and spawns one "seed"-layer child data cell per surviving pair. No static
28// `total` is declared for the "seed" layer — phlex::unfold sizes it
29// dynamically at runtime.
30void register_generate_seeds(ModuleProxy const& m, phlex::experimental::identifier const& layer,
31 std::string const& seedLayerName);
32
33} // namespace SHiP::trout
std::uint32_t Index
Index type to reference elements in a container.
Definition Index.hpp:22
Definition fit_seed.cpp:16
phlex::detail::module_graph_proxy< phlex::detail::void_tag > ModuleProxy
Definition PhlexModuleProxy.hpp:16
void register_generate_seeds(ModuleProxy const &m, phlex::experimental::identifier const &layer, std::string const &seedLayerName)
Definition generate_seeds.cpp:100
Definition generate_seeds.hpp:20
ActsExamples::Index idx1
Definition generate_seeds.hpp:22
ActsExamples::Index idx0
Definition generate_seeds.hpp:21