17 namespace ActsExamples {
23 inline std::vector<const Acts::BoundTrackParameters*>
26 std::vector<const Acts::BoundTrackParameters*> trackParametersPointers;
27 trackParametersPointers.reserve(trackParameters.size());
29 for (
const auto& trackParam : trackParameters) {
30 trackParametersPointers.push_back(&trackParam);
32 return trackParametersPointers;
48 protoVertices.reserve(vertices.size());
53 for (
const auto& vertex : vertices) {
55 protoVertex.reserve(vertex.tracks().size());
57 for (
const auto& track : vertex.tracks()) {
58 protoVertex.push_back(std::distance(first, track.originalParams));
60 protoVertices.push_back(std::move(protoVertex));