Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
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/Definitions/Algebra.hpp
"
12
#include "
Acts/Geometry/GeometryContext.hpp
"
13
#include "
Acts/Surfaces/LineBounds.hpp
"
14
#include "
Acts/Surfaces/LineSurface.hpp
"
15
#include "
Acts/Surfaces/Surface.hpp
"
16
17
#include <cstddef>
18
#include <memory>
19
#include <string>
20
21
namespace
Acts {
22
23
class
DetectorElementBase;
24
struct
Polyhedron
;
25
class
LineBounds;
26
34
class
StrawSurface
:
public
LineSurface
{
35
#ifndef DOXYGEN
36
friend
Surface
;
37
#endif
38
39
protected
:
46
StrawSurface
(
const
Transform3
&
transform
,
double
radius,
double
halez);
47
54
StrawSurface
(
const
Transform3
&
transform
,
55
std::shared_ptr<const LineBounds> lbounds =
nullptr
);
56
62
StrawSurface
(
const
std::shared_ptr<const LineBounds>& lbounds,
63
const
DetectorElementBase
& detelement);
64
68
StrawSurface
(
const
StrawSurface
& other);
69
75
StrawSurface
(
const
GeometryContext
&
gctx
,
const
StrawSurface
& other,
76
const
Transform3
& shift);
77
78
public
:
79
~StrawSurface
()
override
=
default
;
80
StrawSurface
() =
delete
;
81
85
StrawSurface
&
operator=
(
const
StrawSurface
& other);
86
88
SurfaceType
type
() const final;
89
91
std::
string
name
() const final;
92
101
Polyhedron
polyhedronRepresentation
(const
GeometryContext
&
gctx
,
102
size_t
lseg) const final;
103
};
104
105
inline
Surface
::
SurfaceType
StrawSurface
::
type
()
const
{
106
return
Surface::Straw
;
107
}
108
109
inline
std::string
Acts::StrawSurface::name
()
const
{
110
return
"Acts::StrawSurface"
;
111
}
112
113
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Surfaces
StrawSurface.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:34
using
1.8.2 with
sPHENIX GitHub integration