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
CylinderLayer.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CylinderLayer.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/CylinderVolumeBounds.hpp
"
12
#include "
Acts/Geometry/GeometryContext.hpp
"
13
#include "
Acts/Geometry/Layer.hpp
"
14
#include "
Acts/Surfaces/CylinderSurface.hpp
"
15
#include "
Acts/Utilities/Definitions.hpp
"
16
#include "
Acts/Utilities/ThrowAssert.hpp
"
17
18
#include <algorithm>
19
20
namespace
Acts {
21
22
class
CylinderBounds;
23
class
ApproachDescriptor;
24
30
class
CylinderLayer
:
public
CylinderSurface
,
public
Layer
{
31
public
:
45
static
MutableLayerPtr
create
(
46
const
Transform3D
&
transform
,
47
const
std::shared_ptr<const CylinderBounds>& cbounds,
48
std::unique_ptr<SurfaceArray>
surfaceArray
=
nullptr
,
49
double
thickness
= 0., std::unique_ptr<ApproachDescriptor> ad =
nullptr
,
50
LayerType
laytyp =
passive
) {
51
return
MutableLayerPtr
(
new
CylinderLayer
(transform, cbounds,
52
std::move(
surfaceArray
),
thickness
,
53
std::move(ad), laytyp));
54
}
55
56
CylinderLayer
(
const
CylinderLayer
& cla) =
delete
;
57
CylinderLayer
() =
delete
;
58
~CylinderLayer
()
override
=
default
;
59
CylinderLayer
&
operator=
(
const
CylinderLayer
&) =
delete
;
60
63
const
CylinderSurface
&
surfaceRepresentation
()
const override
;
64
65
// Non-const version
66
CylinderSurface
&
surfaceRepresentation
()
override
;
67
68
private
:
70
void
buildApproachDescriptor
();
71
72
protected
:
84
CylinderLayer
(
const
Transform3D
&
transform
,
85
const
std::shared_ptr<const CylinderBounds>& cBounds,
86
std::unique_ptr<SurfaceArray>
surfaceArray
=
nullptr
,
87
double
thickness
= 0.,
88
std::unique_ptr<ApproachDescriptor> ades =
nullptr
,
89
LayerType
laytyp =
passive
);
90
97
CylinderLayer
(
const
CylinderLayer
& cla,
const
Transform3D
& shift);
98
};
99
100
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Geometry
CylinderLayer.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:22
using
1.8.2 with
EIC GitHub integration