ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SeedfinderConfig.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SeedfinderConfig.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 
12 
13 namespace Acts {
14 // forward declaration to avoid cyclic dependence
15 template <typename T>
16 class SeedFilter;
17 
18 template <typename SpacePoint>
20  std::shared_ptr<Acts::SeedFilter<SpacePoint>> seedFilter;
21 
22  // Seed Cuts
23  // lower cutoff for seeds in MeV
24  // FIXME: Acts units
25  float minPt = 400.;
26  // cot of maximum theta angle
27  // equivalent to 2.7 eta (pseudorapidity)
28  float cotThetaMax = 7.40627;
29  // minimum distance in mm in r between two measurements within one seed
30  float deltaRMin = 5;
31  // maximum distance in mm in r between two measurements within one seed
32  float deltaRMax = 270;
33 
34  // FIXME: this is not used yet
35  // float upperPtResolutionPerSeed = 20* Acts::GeV;
36 
37  // the delta for inverse helix radius up to which compared seeds
38  // are considered to have a compatible radius. delta of inverse radius
39  // leads to this value being the cutoff. unit is 1/mm. default value
40  // of 0.00003 leads to all helices with radius>33m to be considered compatible
41 
42  // impact parameter in mm
43  // FIXME: Acts units
44  float impactMax = 20.;
45 
46  // how many sigmas of scattering angle should be considered?
47  float sigmaScattering = 5;
48 
49  // for how many seeds can one SpacePoint be the middle SpacePoint?
50  int maxSeedsPerSpM = 5;
51 
52  // Geometry Settings
53  // Detector ROI
54  // limiting location of collision region in z
55  float collisionRegionMin = -150;
56  float collisionRegionMax = +150;
57  float phiMin = -M_PI;
58  float phiMax = M_PI;
59  // limiting location of measurements
60  float zMin = -2800;
61  float zMax = 2800;
62  float rMax = 600;
63  // WARNING: if rMin is smaller than impactMax, the bin size will be 2*pi,
64  // which will make seeding very slow!
65  float rMin = 33;
66 
67  // Unit in kiloTesla
68  // FIXME: Acts units
69  float bFieldInZ = 0.00208;
70  // location of beam in x,y plane.
71  // used as offset for Space Points
73 
74  // average radiation lengths of material on the length of a seed. used for
75  // scattering.
76  // default is 5%
77  // TODO: necessary to make amount of material dependent on detector region?
78  float radLengthPerSeed = 0.05;
79  // alignment uncertainties, used for uncertainties in the
80  // non-measurement-plane of the modules
81  // which otherwise would be 0
82  // will be added to spacepoint measurement uncertainties (and therefore also
83  // multiplied by sigmaError)
84  // FIXME: call align1 and align2
85  float zAlign = 0;
86  float rAlign = 0;
87  // used for measurement (+alignment) uncertainties.
88  // find seeds within 5sigma error ellipse
89  float sigmaError = 5;
90 
91  // derived values, set on Seedfinder construction
92  float highland = 0;
94  float pTPerHelixRadius = 0;
95  float minHelixDiameter2 = 0;
96  float pT2perRadius = 0;
97 };
98 } // namespace Acts