ECCE @ EIC Software
Reference for
ECCE @ 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
Segmentation.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Segmentation.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 <memory>
11
#include <vector>
12
#include "
Acts/Plugins/Digitization/DigitizationCell.hpp
"
13
#include "
Acts/Utilities/Definitions.hpp
"
14
15
namespace
Acts {
16
17
class
SurfaceBounds;
18
class
Surface
;
19
class
BinUtility;
20
using
SurfacePtr
= std::shared_ptr<const Surface>;
21
using
SurfacePtrVector
= std::vector<SurfacePtr>;
22
36
class
Segmentation
{
37
public
:
39
virtual
~Segmentation
() =
default
;
40
53
virtual
void
createSegmentationSurfaces
(
54
SurfacePtrVector
& boundarySurfaces,
55
SurfacePtrVector
& segmentationSurfacesX,
56
SurfacePtrVector
& segmentationSurfacesY,
double
halfThickness,
57
int
readoutDirection,
double
lorentzAngle)
const
= 0;
58
65
virtual
DigitizationCell
cell
(
const
Vector3D
&
position
)
const
= 0;
66
73
virtual
DigitizationCell
cell
(
const
Vector2D
& position)
const
= 0;
74
80
virtual
Vector2D
cellPosition
(
const
DigitizationCell
& cId)
const
= 0;
81
92
virtual
DigitizationStep
digitizationStep
(
const
Vector3D
&
start
,
93
const
Vector3D
& end,
94
double
halfThickness,
95
int
readoutDirection,
96
double
lorentzAngle)
const
= 0;
97
99
virtual
const
SurfaceBounds
&
moduleBounds
()
const
= 0;
100
102
virtual
const
BinUtility
&
binUtility
()
const
= 0;
103
};
104
}
// namespace Acts
acts
blob
master
Plugins
Digitization
include
Acts
Plugins
Digitization
Segmentation.hpp
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:25
using
1.8.2 with
ECCE GitHub integration