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
PlaneLayer.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PlaneLayer.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2016-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
9
#pragma once
10
#include "
Acts/Geometry/Layer.hpp
"
11
#include "
Acts/Surfaces/PlaneSurface.hpp
"
12
#include "
Acts/Utilities/Definitions.hpp
"
13
14
#include <algorithm>
15
16
namespace
Acts {
17
18
class
ApproachDescriptor;
19
25
class
PlaneLayer
:
virtual
public
PlaneSurface
,
public
Layer
{
26
public
:
37
static
MutableLayerPtr
create
(
38
const
Transform3D
&
transform
, std::shared_ptr<const PlanarBounds> pbounds,
39
std::unique_ptr<SurfaceArray>
surfaceArray
=
nullptr
,
40
double
thickness
= 0., std::unique_ptr<ApproachDescriptor> ad =
nullptr
,
41
LayerType
laytyp =
Acts::active
) {
42
return
MutableLayerPtr
(
new
PlaneLayer
(transform, pbounds,
43
std::move(
surfaceArray
),
thickness
,
44
std::move(ad), laytyp));
45
}
46
47
PlaneLayer
() =
delete
;
48
PlaneLayer
(
const
PlaneLayer
& pla) =
delete
;
49
~PlaneLayer
()
override
=
default
;
50
PlaneLayer
&
operator=
(
const
PlaneLayer
&) =
delete
;
51
54
const
PlaneSurface
&
surfaceRepresentation
()
const override
;
55
56
// Non-const version
57
PlaneSurface
&
surfaceRepresentation
()
override
;
58
59
private
:
61
void
buildApproachDescriptor
();
62
63
protected
:
74
PlaneLayer
(
const
Transform3D
&
transform
,
75
std::shared_ptr<const PlanarBounds>& pbounds,
76
std::unique_ptr<SurfaceArray>
surfaceArray
=
nullptr
,
77
double
thickness
= 0.,
78
std::unique_ptr<ApproachDescriptor> ades =
nullptr
,
79
LayerType
laytyp =
Acts::active
);
80
85
PlaneLayer
(
const
PlaneLayer
& pla,
const
Transform3D
& shift);
86
};
87
88
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Geometry
PlaneLayer.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:23
using
1.8.2 with
EIC GitHub integration