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
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
blob
sPHENIX
CI
Core
include
Acts
EventData
Geometry
detail
AbstractVolume.hpp
ApproachDescriptor.hpp
BoundarySurfaceFace.hpp
BoundarySurfaceT.hpp
ConeLayer.hpp
ConeVolumeBounds.hpp
CuboidVolumeBounds.hpp
CuboidVolumeBuilder.hpp
CutoutCylinderVolumeBounds.hpp
CylinderLayer.hpp
CylinderVolumeBounds.hpp
CylinderVolumeBuilder.hpp
CylinderVolumeHelper.hpp
DetectorElementBase.hpp
DiscLayer.hpp
Extent.hpp
GenericApproachDescriptor.hpp
GenericCuboidVolumeBounds.hpp
GeometryContext.hpp
GeometryHierarchyMap.hpp
GeometryIdentifier.hpp
GeometryObject.hpp
GeometryObjectSorter.hpp
GeometryStatics.hpp
GlueVolumesDescriptor.hpp
IConfinedTrackingVolumeBuilder.hpp
ILayerArrayCreator.hpp
ILayerBuilder.hpp
ITrackingGeometryBuilder.hpp
ITrackingVolumeArrayCreator.hpp
ITrackingVolumeBuilder.hpp
ITrackingVolumeHelper.hpp
Layer.hpp
LayerArrayCreator.hpp
LayerCreator.hpp
NavigationLayer.hpp
PassiveLayerBuilder.hpp
PlaneLayer.hpp
Polyhedron.hpp
ProtoLayer.hpp
ProtoLayerHelper.hpp
SurfaceArrayCreator.hpp
SurfaceBinningMatcher.hpp
TrackingGeometry.hpp
TrackingGeometryBuilder.hpp
TrackingVolume.hpp
TrackingVolumeArrayCreator.hpp
TrapezoidVolumeBounds.hpp
Volume.hpp
VolumeBounds.hpp
MagneticField
Material
Propagator
Seeding
Surfaces
TrackFinding
TrackFitting
Utilities
Vertexing
Visualization
src
docs
Examples
Fatras
Plugins
Tests
thirdparty
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_coresoftware
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PassiveLayerBuilder.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PassiveLayerBuilder.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/GeometryContext.hpp
"
12
#include "
Acts/Geometry/ILayerBuilder.hpp
"
13
#include "
Acts/Geometry/Layer.hpp
"
14
#include "
Acts/Material/MaterialSlab.hpp
"
15
#include "
Acts/Utilities/Logger.hpp
"
16
17
namespace
Acts {
18
24
25
class
PassiveLayerBuilder
:
public
ILayerBuilder
{
26
public
:
30
struct
Config
{
32
std::string
layerIdentification
;
33
34
std::vector<double>
centralLayerRadii
;
35
std::vector<double>
centralLayerHalflengthZ
;
36
std::vector<double>
centralLayerThickness
;
37
std::vector<std::shared_ptr<const ISurfaceMaterial>>
38
centralLayerMaterial
;
39
40
// the layers at p/e side
41
std::vector<double>
posnegLayerPositionZ
;
42
std::vector<double>
posnegLayerRmin
;
43
std::vector<double>
posnegLayerRmax
;
44
std::vector<double>
posnegLayerThickness
;
45
std::vector<std::shared_ptr<const ISurfaceMaterial>>
46
posnegLayerMaterial
;
47
};
48
53
PassiveLayerBuilder
(
const
Config
& plConfig,
54
std::unique_ptr<const Logger>
logger
=
getDefaultLogger
(
55
"PassiveLayerBuilder"
,
Logging::INFO
));
56
58
~PassiveLayerBuilder
()
override
=
default
;
59
66
const
LayerVector
negativeLayers
(
const
GeometryContext
&
gctx
)
const override
;
67
74
const
LayerVector
centralLayers
(
const
GeometryContext
&
gctx
)
const override
;
75
82
const
LayerVector
positiveLayers
(
const
GeometryContext
&
gctx
)
const override
;
83
86
const
std::string&
identification
()
const override
{
87
return
m_cfg
.
layerIdentification
;
88
}
89
94
void
setConfiguration
(
const
Config
& plConfig);
95
97
Config
getConfiguration
()
const
;
98
102
void
setLogger
(std::unique_ptr<const Logger> newLogger);
103
104
protected
:
105
Config
m_cfg
;
106
107
private
:
115
const
LayerVector
endcapLayers
(
const
GeometryContext
&
gctx
,
int
side)
const
;
116
117
const
Logger
&
logger
()
const
{
return
*
m_logger
; }
118
120
std::unique_ptr<const Logger>
m_logger
;
121
};
122
123
inline
PassiveLayerBuilder::Config
PassiveLayerBuilder::getConfiguration
()
124
const
{
125
return
m_cfg
;
126
}
127
128
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Geometry
PassiveLayerBuilder.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:23
using
1.8.2 with
EIC GitHub integration