EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ConeSurface.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ConeSurface.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
10
11
#include "
Acts/Geometry/GeometryContext.hpp
"
12
#include "
Acts/Geometry/Polyhedron.hpp
"
13
#include "
Acts/Surfaces/ConeBounds.hpp
"
14
#include "
Acts/Surfaces/Surface.hpp
"
15
#include "
Acts/Utilities/Definitions.hpp
"
16
#include "
Acts/Utilities/ParameterDefinitions.hpp
"
17
#include "
Acts/Utilities/detail/RealQuadraticEquation.hpp
"
18
19
namespace
Acts {
20
31
32
class
ConeSurface
:
public
Surface
{
33
friend
Surface
;
34
35
protected
:
41
ConeSurface
(
const
Transform3D
&
transform
,
double
alpha
,
42
bool
symmetric =
false
);
43
51
ConeSurface
(
const
Transform3D
&
transform
,
double
alpha
,
double
zmin,
52
double
zmax,
double
halfPhi =
M_PI
);
53
58
ConeSurface
(
const
Transform3D
&
transform
,
59
const
std::shared_ptr<const ConeBounds>& cbounds);
60
64
ConeSurface
(
const
ConeSurface
& other);
65
71
ConeSurface
(
const
GeometryContext
&
gctx
,
const
ConeSurface
& other,
72
const
Transform3D
& shift);
73
74
public
:
75
~ConeSurface
()
override
=
default
;
76
ConeSurface
() =
delete
;
77
81
ConeSurface
&
operator=
(
const
ConeSurface
& other);
82
89
Vector3D
binningPosition
(
const
GeometryContext
&
gctx
,
90
BinningValue
bValue)
const
final
;
91
93
SurfaceType
type
()
const override
;
94
105
RotationMatrix3D
referenceFrame
(
const
GeometryContext
&
gctx
,
106
const
Vector3D
&
position
,
107
const
Vector3D
&
momentum
)
const
final
;
108
114
Vector3D
normal
(
const
GeometryContext
&
gctx
,
115
const
Vector2D
& lposition)
const
final
;
116
122
Vector3D
normal
(
const
GeometryContext
&
gctx
,
123
const
Vector3D
&
position
)
const
final
;
124
126
using
Surface::normal
;
127
128
// Return method for the rotational symmetry axis
132
// @return This returns the local z axis
133
virtual
Vector3D
rotSymmetryAxis
(
const
GeometryContext
&
gctx
)
const
;
134
136
const
ConeBounds
&
bounds
() const final;
137
145
Vector3D
localToGlobal
(const
GeometryContext
&
gctx
, const
Vector2D
& lposition,
146
const
Vector3D
&
momentum
) const final;
147
155
Result
<
Vector2D
>
globalToLocal
(const
GeometryContext
& gctx,
156
const
Vector3D
&
position
,
157
const
Vector3D
&
momentum
) const final;
158
169
SurfaceIntersection
intersect
(const
GeometryContext
& gctx,
170
const
Vector3D
& position,
171
const
Vector3D
& direction,
172
const
BoundaryCheck
& bcheck) const final;
173
180
double
pathCorrection
(const
GeometryContext
& gctx, const
Vector3D
& position,
181
const
Vector3D
& direction) const final;
182
193
Polyhedron
polyhedronRepresentation
(const
GeometryContext
& gctx,
194
size_t
lseg) const override;
195
197
std::
string
name
() const override;
198
207
LocalCartesianToBoundLocalMatrix
localCartesianToBoundLocalDerivative
(
208
const
GeometryContext
& gctx, const
Vector3D
& position) const final;
209
210
protected:
211
std::
shared_ptr
<const
ConeBounds
>
m_bounds
;
212
213
private:
249
detail::
RealQuadraticEquation
intersectionSolver
(
250
const
GeometryContext
& gctx, const
Vector3D
& position,
251
const
Vector3D
& direction) const;
252
};
253
254
#include "Acts/Surfaces/detail/ConeSurface.ipp"
255
256
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Surfaces
ConeSurface.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:23
using
1.8.2 with
EIC GitHub integration