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
LineSurfaceStub.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file LineSurfaceStub.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2017-2018 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
#pragma once
9
10
#include "
Acts/Definitions/Algebra.hpp
"
11
#include "
Acts/Surfaces/LineSurface.hpp
"
12
13
#include <limits>
14
15
namespace
Acts {
16
namespace
Test {
17
18
class
LineSurfaceStub
:
public
LineSurface
{
19
public
:
20
LineSurfaceStub
() =
delete
;
21
//
22
LineSurfaceStub
(
const
Transform3
& htrans,
double
radius,
double
halfz)
23
:
GeometryObject
(),
LineSurface
(htrans, radius, halfz) {
/* nop */
24
}
25
//
26
LineSurfaceStub
(
const
Transform3
& htrans,
27
std::shared_ptr<const LineBounds> lbounds =
nullptr
)
28
:
GeometryObject
(),
LineSurface
(htrans, std::
move
(lbounds)) {
/*nop */
29
}
30
//
31
LineSurfaceStub
(std::shared_ptr<const LineBounds> lbounds,
32
const
DetectorElementBase
& detelement)
33
:
GeometryObject
(),
34
LineSurface
(std::
move
(lbounds), detelement) {
/* nop */
35
}
36
37
//
38
LineSurfaceStub
(
const
LineSurfaceStub
& ls)
39
:
GeometryObject
(),
LineSurface
(ls) {
/* nop */
40
}
41
42
LineSurfaceStub
&
operator=
(
const
LineSurfaceStub
& ls) =
default
;
43
44
//
45
LineSurfaceStub
(
const
GeometryContext
&
gctx
,
const
LineSurfaceStub
& ls,
46
const
Transform3
&
t
)
47
:
GeometryObject
(),
LineSurface
(gctx, ls, t) {
/* nop */
48
}
49
51
SurfaceType
type
() const final {
return
Surface::Straw
; }
52
54
bool
constructedOk
()
const
{
return
true
; }
55
56
using
Surface::normal
;
57
64
Polyhedron
polyhedronRepresentation
(
const
GeometryContext
&
/*gctx*/
,
65
size_t
/*lseg*/
) const final {
66
return
Polyhedron
({}, {}, {});
67
}
68
};
69
}
// namespace Test
70
}
// namespace Acts
acts
blob
sPHENIX
Tests
CommonHelpers
Acts
Tests
CommonHelpers
LineSurfaceStub.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:42
using
1.8.2 with
sPHENIX GitHub integration