ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
geometry.hpp
1// This file is part of the ACTS project.
2//
3// Copyright (C) 2016 CERN for the benefit of the ACTS project
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
9#pragma once
10
11// Project include(s)
12#include "detray/plugins/svgtools/meta/proto/eta_lines.hpp"
13
14// Actsvg include(s)
15#include "actsvg/display/geometry.hpp"
16
17// System include(s)
18#include <tuple>
19
20namespace detray::svgtools::meta::display {
21
23inline auto eta_lines(const std::string& id,
24 const svgtools::meta::proto::eta_lines& el) {
25 return actsvg::display::eta_lines(
26 id, el._z, el._r,
27 {std::make_tuple(el._values_main, el._stroke_main, el._show_label,
28 el._label_font),
29 std::make_tuple(el._values_half, el._stroke_half, false,
30 el._label_font)});
31}
32
33} // namespace detray::svgtools::meta::display