Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CorrectedTransformationFreeToBound.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CorrectedTransformationFreeToBound.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2021-2022 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 
18 
19 #include <optional>
20 #include <tuple>
21 
22 namespace Acts {
23 
28  bool apply = false;
29 
33 
37 
39  FreeToBoundCorrection() = default;
40 
46  FreeToBoundCorrection(bool apply_, ActsScalar alpha_, ActsScalar beta_);
47 
51  explicit FreeToBoundCorrection(bool apply_);
52 
54  operator bool() const;
55 };
56 
57 namespace detail {
58 
70  ActsScalar cosIncidentAngleMinCutoff,
71  ActsScalar cosIncidentAngleMaxCutoff);
72 
77  const FreeToBoundCorrection& freeToBoundCorrection);
78 
82  default;
85  const CorrectedFreeToBoundTransformer&) = default;
88 
97  std::optional<std::tuple<BoundVector, BoundSquareMatrix>> operator()(
98  const FreeVector& freeParams, const FreeSquareMatrix& freeCovariance,
101  const Logger& logger = getDummyLogger()) const;
102 
103  private:
107 
111 
115 };
116 
117 } // namespace detail
118 } // namespace Acts