ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HelicalTrackLinearizer.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file HelicalTrackLinearizer.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2019 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 
20 
21 namespace Acts {
22 
42 template <typename propagator_t,
43  typename propagator_options_t = PropagatorOptions<>>
45  public:
48 
50  struct Config {
55  Config(const BField_t& bIn, std::shared_ptr<Propagator_t> prop)
56  : bField(bIn), propagator(std::move(prop)) {}
57 
62  template <typename T = BField_t,
64  Config(std::shared_ptr<Propagator_t> prop) : propagator(std::move(prop)) {}
65 
66  // The magnetic field
68  // The propagator
69  std::shared_ptr<Propagator_t> propagator;
70 
71  // Minimum q/p value
72  double minQoP = 1e-15;
73  // Maximum curvature value
74  double maxRho = 1e+15;
75  };
76 
81 
92  const BoundParameters& params, const SpacePointVector& linPoint,
94  const Acts::MagneticFieldContext& mctx) const;
95 
96  private:
98  const Config m_cfg;
99 };
100 
101 } // namespace Acts
102