ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
propagation_config.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/core/detail/data_context.hpp"
13#include "detray/definitions/detail/qualifiers.hpp"
14#include "detray/navigation/navigation_config.hpp"
15#include "detray/propagator/stepping_config.hpp"
16
17// System includes
18#include <ostream>
19
20namespace detray::propagation {
21
23struct config {
29 geometry_context context{};
30
32 DETRAY_HOST
33 friend std::ostream& operator<<(std::ostream& out, const config& cfg) {
34 out << "Navigation\n"
35 << "----------------------------\n"
36 << cfg.navigation << "\nParameter Transport\n"
37 << "----------------------------\n"
38 << cfg.stepping << "\nGeometry Context\n"
39 << "----------------------------\n"
40 << " No. : " << cfg.context.get() << "\n";
41
42 return out;
43 }
44};
45
46} // namespace detray::propagation
Navigation configuration.
Definition navigation_config.hpp:24
Configuration of the propagation.
Definition propagation_config.hpp:23
navigation::config navigation
Navigation options controlling candidate selection and stopping.
Definition propagation_config.hpp:25
geometry_context context
Geometry context passed to propagator actors and surface transforms.
Definition propagation_config.hpp:29
friend std::ostream & operator<<(std::ostream &out, const config &cfg)
Print the propagation configuration.
Definition propagation_config.hpp:33
stepping::config stepping
Stepper options controlling integration and step limits.
Definition propagation_config.hpp:27
Configuration flags and limits consumed by a stepper.
Definition stepping_config.hpp:29