24 ACTS_ERROR(
"Missing output vertices collection");
35 const std::vector<ActsExamples::SimSpacePoint>& inputSpacepoints =
36 m_inputSpacepoints(ctx);
41 SingleSeedVertexFinder(singleSeedVtxCfg);
44 auto t1 = std::chrono::high_resolution_clock::now();
45 auto vtx = SingleSeedVertexFinder.
findVertex(inputSpacepoints);
46 auto t2 = std::chrono::high_resolution_clock::now();
50 ACTS_INFO(
"Found vertex at x = " << vtx.value()[0]
51 <<
"mm, y = " << vtx.value()[1]
52 <<
"mm, z = " << vtx.value()[2] <<
"mm");
54 std::vector<Acts::Vertex<Acts::BoundTrackParameters>> vertexCollection;
55 vertexCollection.emplace_back(vtx.value());
58 m_outputVertices(ctx,
std::move(vertexCollection));
60 ACTS_INFO(
"Not found a vertex in the event after "