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
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
11
#include "
Acts/Definitions/Algebra.hpp
"
12
#include "
Acts/Geometry/ApproachDescriptor.hpp
"
13
#include "
Acts/Geometry/Layer.hpp
"
14
#include "
Acts/Surfaces/PlaneSurface.hpp
"
15
#include "
Acts/Surfaces/SurfaceArray.hpp
"
16
17
#include <memory>
18
#include <utility>
19
20
namespace
Acts {
21
22
class
PlanarBounds;
23
29
class
PlaneLayer
:
virtual
public
PlaneSurface
,
public
Layer
{
30
public
:
41
static
MutableLayerPtr
create
(
42
const
Transform3
&
transform
, std::shared_ptr<const PlanarBounds> pbounds,
43
std::unique_ptr<SurfaceArray>
surfaceArray
=
nullptr
,
44
double
thickness
= 0., std::unique_ptr<ApproachDescriptor> ad =
nullptr
,
45
LayerType
laytyp =
Acts::active
) {
46
return
MutableLayerPtr
(
new
PlaneLayer
(transform, pbounds,
47
std::move
(
surfaceArray
),
thickness
,
48
std::move
(ad), laytyp));
49
}
50
51
PlaneLayer
() =
delete
;
52
PlaneLayer
(
const
PlaneLayer
& pla) =
delete
;
53
~PlaneLayer
()
override
=
default
;
54
PlaneLayer
&
operator=
(
const
PlaneLayer
&) =
delete
;
55
58
const
PlaneSurface
&
surfaceRepresentation
()
const override
;
59
60
// Non-const version
61
PlaneSurface
&
surfaceRepresentation
()
override
;
62
63
private
:
65
void
buildApproachDescriptor
();
66
67
protected
:
76
PlaneLayer
(
const
Transform3
&
transform
,
77
std::shared_ptr<const PlanarBounds>& pbounds,
78
std::unique_ptr<SurfaceArray>
surfaceArray
=
nullptr
,
79
double
thickness
= 0.,
80
std::unique_ptr<ApproachDescriptor> ades =
nullptr
,
81
LayerType
laytyp =
Acts::active
);
82
87
PlaneLayer
(
const
PlaneLayer
& pla,
const
Transform3
& shift);
88
};
89
90
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Geometry
PlaneLayer.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:33
using
1.8.2 with
sPHENIX GitHub integration