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
ConeLayer.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ConeLayer.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/Definitions/Algebra.hpp
"
12
#include "
Acts/Geometry/ApproachDescriptor.hpp
"
13
#include "
Acts/Geometry/Layer.hpp
"
14
#include "
Acts/Surfaces/ConeBounds.hpp
"
15
#include "
Acts/Surfaces/ConeSurface.hpp
"
16
#include "
Acts/Surfaces/SurfaceArray.hpp
"
17
18
#include <algorithm>
19
#include <memory>
20
#include <utility>
21
22
namespace
Acts {
23
class
ConeBounds;
24
29
class
ConeLayer
:
virtual
public
ConeSurface
,
public
Layer
{
30
public
:
43
static
MutableLayerPtr
create
(
44
const
Transform3
&
transform
, std::shared_ptr<const ConeBounds> cbounds,
45
std::unique_ptr<SurfaceArray>
surfaceArray
,
double
thickness
= 0.,
46
std::unique_ptr<ApproachDescriptor> ad =
nullptr
,
47
LayerType
laytyp =
Acts::active
) {
48
return
MutableLayerPtr
(
new
ConeLayer
(transform,
std::move
(cbounds),
49
std::move
(surfaceArray),
thickness
,
50
std::move
(ad), laytyp));
51
}
52
53
ConeLayer
() =
delete
;
54
ConeLayer
(
const
ConeLayer
& cla) =
delete
;
55
~ConeLayer
()
override
=
default
;
56
ConeLayer
&
operator=
(
const
ConeLayer
&) =
delete
;
57
59
const
ConeSurface
&
surfaceRepresentation
()
const override
;
60
61
// Non-const version
62
ConeSurface
&
surfaceRepresentation
()
override
;
63
64
protected
:
75
ConeLayer
(
const
Transform3
&
transform
,
76
std::shared_ptr<const ConeBounds> cbounds,
77
std::unique_ptr<SurfaceArray>
surfaceArray
,
double
thickness
= 0.,
78
std::unique_ptr<ApproachDescriptor> ade =
nullptr
,
79
LayerType
laytyp =
Acts::active
);
80
85
ConeLayer
(
const
ConeLayer
& cla,
const
Transform3
& shift);
86
};
87
88
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Geometry
ConeLayer.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:33
using
1.8.2 with
sPHENIX GitHub integration