Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-19 07:47:28

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 #include "Acts/Definitions/Algebra.hpp"
0012 #include "Acts/Definitions/TrackParametrization.hpp"
0013 #include "Acts/Definitions/Units.hpp"
0014 #include "Acts/EventData/SourceLink.hpp"
0015 
0016 namespace Acts {
0017 
0018 /// @brief Type alias for accessing parameter covariance matrices
0019 /// @details Function type for retrieving covariance matrices from measurement parameters
0020 using ParamCovAccessor =
0021     std::function<std::pair<const BoundVector, const BoundMatrix>(
0022         const SourceLink&)>;
0023 
0024 /// Options controlling space point construction.
0025 struct [[deprecated(
0026     "Will be dropped soon and is replaced by PixelSpacePointBuilder / "
0027     "StripSpacePointBuilder")]] SpacePointBuilderOptions {
0028   /// Ends of strip pairs
0029   std::pair<std::pair<Vector3, Vector3>, std::pair<Vector3, Vector3>>
0030       stripEndsPair;
0031   /// Accessor of local position and covariance from source link
0032   ParamCovAccessor paramCovAccessor;
0033   /// vertex position
0034   Vector3 vertex = {0., 0., 0.};
0035   /// Allowed increase of strip length
0036   double stripLengthTolerance = 0.01;
0037   /// Allowed increase of strip length wrt gaps between strips
0038   double stripLengthGapTolerance = 0.01;
0039 };
0040 
0041 /// Options for validating strip pair candidates.
0042 struct [[deprecated(
0043     "Will be dropped soon and is replaced by PixelSpacePointBuilder / "
0044     "StripSpacePointBuilder")]] StripPairOptions {
0045   /// Accessor for local position and covariance from source link
0046   ParamCovAccessor paramCovAccessor;
0047   /// vertex position
0048   Vector3 vertex = {0., 0., 0.};
0049   /// Accepted squared difference in theta for two clusters
0050   double diffTheta2 = 1.;
0051   /// Accepted squared difference in phi for two clusters
0052   double diffPhi2 = 1.;
0053   /// Accepted distance between two clusters
0054   double diffDist = 100. * UnitConstants::mm;
0055 };
0056 
0057 }  // namespace Acts