EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VoidPropagatorComponents.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file VoidPropagatorComponents.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2018 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 http://mozilla.org/MPL/2.0/.
8 
9 #pragma once
10 
11 namespace Acts {
12 
13 namespace detail {
19 struct VoidNavigator {
21  struct State {
23  const Surface* startSurface = nullptr;
24 
26  const Surface* currentSurface = nullptr;
27 
29  const Surface* targetSurface = nullptr;
30 
32  bool targetReached = false;
33 
35  bool navigationBreak = false;
36  };
37 
39  using state_type = State;
40 
47  template <typename propagator_state_t, typename stepper_t>
48  void status(propagator_state_t& /*state*/,
49  const stepper_t& /*unused*/) const {}
50 
57  template <typename propagator_state_t, typename stepper_t>
58  void target(propagator_state_t& /*state*/,
59  const stepper_t& /*unused*/) const {}
60 
66  template <typename propagator_state_t>
67  void operator()(propagator_state_t& /*state*/) const {}
68 };
69 
70 } // namespace detail
71 } // namespace Acts