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
SpacePointGrid.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SpacePointGrid.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 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/Seeding/InternalSpacePoint.hpp
"
12
#include "
Acts/Utilities/detail/Axis.hpp
"
13
#include "
Acts/Utilities/detail/Grid.hpp
"
14
15
#include <memory>
16
17
namespace
Acts {
18
19
struct
SpacePointGridConfig
{
20
// magnetic field in kTesla
21
float
bFieldInZ
;
22
// minimum pT to be found by seedfinder in MeV
23
float
minPt
;
24
// maximum extension of sensitive detector layer relevant for seeding as
25
// distance from x=y=0 (i.e. in r) in mm
26
float
rMax
;
27
// maximum extension of sensitive detector layer relevant for seeding in
28
// positive direction in z in mm
29
float
zMax
;
30
// maximum extension of sensitive detector layer relevant for seeding in
31
// negative direction in z in mm
32
float
zMin
;
33
// maximum distance in r from middle space point to bottom or top spacepoint
34
// in mm
35
float
deltaRMax
;
36
// maximum forward direction expressed as cot(theta)
37
float
cotThetaMax
;
38
};
39
template
<
typename
external_spacepo
int
_t>
40
using
SpacePointGrid
=
41
detail::Grid
<
std::vector
<std::unique_ptr<
42
const
InternalSpacePoint<external_spacepoint_t>
>>,
43
detail::Axis<detail::AxisType::Equidistant,
44
detail::AxisBoundaryType::Closed>,
45
detail::Axis<detail::AxisType::Equidistant,
46
detail::AxisBoundaryType::Bound>>;
47
48
class
SpacePointGridCreator
{
49
public
:
50
template
<
typename
external_spacepo
int
_t>
51
static
std::unique_ptr<SpacePointGrid<external_spacepoint_t>>
createGrid
(
52
const
Acts::SpacePointGridConfig
&
config
);
53
};
54
}
// namespace Acts
55
#include "
Acts/Seeding/SpacePointGrid.ipp
"
acts
blob
sPHENIX
Core
include
Acts
Seeding
SpacePointGrid.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:23
using
1.8.2 with
EIC GitHub integration