ECCE @ EIC Software
Reference for
ECCE @ 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
(std::shared_ptr<const Transform3D> htrans,
double
radius
,
39
double
halez);
40
47
StrawSurface
(std::shared_ptr<const Transform3D> htrans,
48
std::shared_ptr<const LineBounds> lbounds =
nullptr
);
49
55
StrawSurface
(
const
std::shared_ptr<const LineBounds>& lbounds,
56
const
DetectorElementBase
& detelement);
57
61
StrawSurface
(
const
StrawSurface
& other);
62
68
StrawSurface
(
const
GeometryContext
&
gctx
,
const
StrawSurface
& other,
69
const
Transform3D
& transf);
70
71
public
:
73
~StrawSurface
()
override
=
default
;
74
76
StrawSurface
() =
delete
;
77
81
StrawSurface
&
operator=
(
const
StrawSurface
& other);
82
84
SurfaceType
type
() const final;
85
87
std::
string
name
() const final;
88
97
Polyhedron
polyhedronRepresentation
(const
GeometryContext
&
gctx
,
98
size_t
lseg) const final;
99
};
100
101
inline
Surface
::
SurfaceType
StrawSurface
::
type
()
const
{
102
return
Surface::Straw
;
103
}
104
105
inline
std::string
Acts::StrawSurface::name
()
const
{
106
return
"Acts::StrawSurface"
;
107
}
108
109
}
// namespace Acts
acts
blob
master
Core
include
Acts
Surfaces
StrawSurface.hpp
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:21
using
1.8.2 with
ECCE GitHub integration