ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
eta_lines.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
// Actsvg include(s)
12
#include "actsvg/core.hpp"
13
14
// System include(s)
15
#include <vector>
16
17
namespace
detray::svgtools::meta::proto {
18
20
struct
eta_lines
{
22
actsvg::scalar
_r
{200.f};
24
actsvg::scalar
_z
{800.f};
25
26
// Main eta lines
28
std::vector<actsvg::scalar>
_values_main
= {1.f, 2.f, 3.f, 4.f};
29
// Intermediate eta lines
31
std::vector<actsvg::scalar>
_values_half
= {0.5f, 1.5f, 2.5f, 3.5f};
32
34
actsvg::style::stroke
_stroke_main
;
36
actsvg::style::stroke
_stroke_half
;
38
actsvg::style::font
_label_font
;
40
bool
_show_label
=
true
;
41
};
42
}
// namespace detray::svgtools::meta::proto
detray::svgtools::meta::proto::eta_lines
A proto eta line.
Definition
eta_lines.hpp:20
detray::svgtools::meta::proto::eta_lines::_show_label
bool _show_label
Whether eta values are drawn beside the lines.
Definition
eta_lines.hpp:40
detray::svgtools::meta::proto::eta_lines::_z
actsvg::scalar _z
Maximum longitudinal extent of the eta-line overlay.
Definition
eta_lines.hpp:24
detray::svgtools::meta::proto::eta_lines::_stroke_half
actsvg::style::stroke _stroke_half
Stroke style for intermediate eta lines.
Definition
eta_lines.hpp:36
detray::svgtools::meta::proto::eta_lines::_label_font
actsvg::style::font _label_font
Font used for eta labels.
Definition
eta_lines.hpp:38
detray::svgtools::meta::proto::eta_lines::_values_half
std::vector< actsvg::scalar > _values_half
Absolute eta values for intermediate lines.
Definition
eta_lines.hpp:31
detray::svgtools::meta::proto::eta_lines::_stroke_main
actsvg::style::stroke _stroke_main
Stroke style for primary eta lines.
Definition
eta_lines.hpp:34
detray::svgtools::meta::proto::eta_lines::_r
actsvg::scalar _r
Maximum radial extent of the eta-line overlay.
Definition
eta_lines.hpp:22
detray::svgtools::meta::proto::eta_lines::_values_main
std::vector< actsvg::scalar > _values_main
Absolute eta values for the primary lines.
Definition
eta_lines.hpp:28
Detray
plugins
svgtools
include
detray
plugins
svgtools
meta
proto
eta_lines.hpp
Generated by
1.15.0