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
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/Surfaces/LineSurface.hpp
"
11
#include "
Acts/Utilities/Definitions.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
Transform3D
& htrans,
double
radius
,
double
halfz)
23
:
GeometryObject
(),
LineSurface
(htrans, radius, halfz) {
/* nop */
24
}
25
//
26
LineSurfaceStub
(
const
Transform3D
& htrans,
27
std::shared_ptr<const LineBounds> lbounds =
nullptr
)
28
:
GeometryObject
(),
LineSurface
(htrans, lbounds) {
/*nop */
29
}
30
//
31
LineSurfaceStub
(std::shared_ptr<const LineBounds> lbounds,
32
const
DetectorElementBase
& detelement)
33
:
GeometryObject
(),
LineSurface
(lbounds, detelement) {
/* nop */
34
}
35
36
//
37
LineSurfaceStub
(
const
LineSurfaceStub
& ls)
38
:
GeometryObject
(),
LineSurface
(ls) {
/* nop */
39
}
40
41
LineSurfaceStub
&
operator=
(
const
LineSurfaceStub
& ls) {
42
LineSurface::operator=
(ls);
43
return
*
this
;
44
}
45
46
//
47
LineSurfaceStub
(
const
GeometryContext
&
gctx
,
const
LineSurfaceStub
& ls,
48
const
Transform3D
&
t
)
49
:
GeometryObject
(),
LineSurface
(gctx, ls, t) {
/* nop */
50
}
51
53
SurfaceType
type
() const final {
return
Surface::Straw
; }
54
56
bool
constructedOk
()
const
{
return
true
; }
57
58
using
Surface::normal
;
59
66
Polyhedron
polyhedronRepresentation
(
const
GeometryContext
&
/*gctx*/
,
67
size_t
/*lseg*/
) const final {
68
return
Polyhedron
({}, {}, {});
69
}
70
};
71
}
// namespace Test
72
}
// namespace Acts
acts
blob
sPHENIX
Tests
CommonHelpers
Acts
Tests
CommonHelpers
LineSurfaceStub.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:26
using
1.8.2 with
EIC GitHub integration