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
StrawSurface.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file StrawSurface.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/Surfaces/LineBounds.hpp
"
13
#include "
Acts/Surfaces/LineSurface.hpp
"
14
#include "
Acts/Utilities/Definitions.hpp
"
15
16
namespace
Acts {
17
18
class
DetectorElementBase;
19
struct
Polyhedron;
20
28
class
StrawSurface
:
public
LineSurface
{
29
friend
Surface
;
30
31
protected
:
38
StrawSurface
(
const
Transform3D
&
transform
,
double
radius
,
double
halez);
39
46
StrawSurface
(
const
Transform3D
&
transform
,
47
std::shared_ptr<const LineBounds> lbounds =
nullptr
);
48
54
StrawSurface
(
const
std::shared_ptr<const LineBounds>& lbounds,
55
const
DetectorElementBase
& detelement);
56
60
StrawSurface
(
const
StrawSurface
& other);
61
67
StrawSurface
(
const
GeometryContext
&
gctx
,
const
StrawSurface
& other,
68
const
Transform3D
& shift);
69
70
public
:
71
~StrawSurface
()
override
=
default
;
72
StrawSurface
() =
delete
;
73
77
StrawSurface
&
operator=
(
const
StrawSurface
& other);
78
80
SurfaceType
type
() const final;
81
83
std::
string
name
() const final;
84
93
Polyhedron
polyhedronRepresentation
(const
GeometryContext
&
gctx
,
94
size_t
lseg) const final;
95
};
96
97
inline
Surface
::
SurfaceType
StrawSurface
::
type
()
const
{
98
return
Surface::Straw
;
99
}
100
101
inline
std::string
Acts::StrawSurface::name
()
const
{
102
return
"Acts::StrawSurface"
;
103
}
104
105
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Surfaces
StrawSurface.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:23
using
1.8.2 with
EIC GitHub integration