File indexing completed on 2025-01-18 09:55:42
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #pragma once
0011
0012
0013 #include <algorithms/algorithm.h>
0014 #include <edm4eic/TrackSegmentCollection.h>
0015 #include <string>
0016 #include <string_view>
0017 #include <vector>
0018
0019 namespace eicrecon {
0020
0021 using MergeTracksAlgorithm =
0022 algorithms::Algorithm<algorithms::Input<std::vector<const edm4eic::TrackSegmentCollection>>,
0023 algorithms::Output<edm4eic::TrackSegmentCollection>>;
0024
0025 class MergeTracks : public MergeTracksAlgorithm {
0026
0027 public:
0028 MergeTracks(std::string_view name)
0029 : MergeTracksAlgorithm{name,
0030 {"inputTrackSegments"},
0031 {"outputTrackSegments"},
0032 "Effectively 'zip' the input track segments."} {}
0033
0034 void init() final{};
0035 void process(const Input&, const Output&) const final;
0036 };
0037 }