Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PerigeeSurface.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PerigeeSurface.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2016-2020 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
16 
17 #include <cstddef>
18 #include <iosfwd>
19 #include <string>
20 
21 namespace Acts {
22 
30 class PerigeeSurface : public LineSurface {
31 #ifndef DOXYGEN
32  friend Surface;
33 #endif
34 
35  protected:
39  PerigeeSurface(const Vector3& gp);
40 
45 
49  PerigeeSurface(const PerigeeSurface& other);
50 
57  const Transform3& shift);
58 
59  public:
61  ~PerigeeSurface() override = default;
62 
64  PerigeeSurface() = delete;
65 
70 
72  SurfaceType type() const final;
73 
75  std::string name() const final;
76 
83  std::ostream& toStream(const GeometryContext& gctx,
84  std::ostream& sl) const final;
85 
93  size_t lseg) const final;
94 };
95 
96 } // namespace Acts