ECCE @ EIC Software
 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 <memory>
15 
16 namespace Acts {
17 
19  // magnetic field in kTesla
20  float bFieldInZ;
21  // minimum pT to be found by seedfinder in MeV
22  float minPt;
23  // maximum extension of sensitive detector layer relevant for seeding as
24  // distance from x=y=0 (i.e. in r) in mm
25  float rMax;
26  // maximum extension of sensitive detector layer relevant for seeding in
27  // positive direction in z in mm
28  float zMax;
29  // maximum extension of sensitive detector layer relevant for seeding in
30  // negative direction in z in mm
31  float zMin;
32  // maximum distance in r from middle space point to bottom or top spacepoint
33  // in mm
34  float deltaRMax;
35  // maximum forward direction expressed as cot(theta)
36  float cotThetaMax;
37 };
38 template <typename external_spacepoint_t>
39 using SpacePointGrid =
40  detail::Grid<std::vector<std::unique_ptr<
42  detail::Axis<detail::AxisType::Equidistant,
43  detail::AxisBoundaryType::Closed>,
44  detail::Axis<detail::AxisType::Equidistant,
45  detail::AxisBoundaryType::Bound>>;
46 
48  public:
49  template <typename external_spacepoint_t>
50  static std::unique_ptr<SpacePointGrid<external_spacepoint_t>> createGrid(
52 };
53 } // namespace Acts