Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:11:07

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/Surfaces/Surface.hpp"
0012 #include "Acts/TrackFitting/GsfOptions.hpp"
0013 
0014 namespace Acts {
0015 
0016 /// Very simple mixture reduction method: Just removes the components with the
0017 /// smallest weight until the required number of components is reached
0018 /// @param cmpCache the component collection
0019 /// @param maxCmpsAfterMerge the number of components we want to reach
0020 /// @param surface the surface type on which the components are (unused here)
0021 void reduceMixtureLargestWeights(std::vector<Acts::GsfComponent> &cmpCache,
0022                                  std::size_t maxCmpsAfterMerge,
0023                                  const Surface &surface);
0024 
0025 /// Greedy component reduction algorithm. Reduces the components with the
0026 /// minimal symmetric KL-distance (applied only to the q/p-dimension) until the
0027 /// required number of components is reached.
0028 /// @param cmpCache the component collection
0029 /// @param maxCmpsAfterMerge the number of components we want to reach
0030 /// @param surface the surface type on which the components are
0031 void reduceMixtureWithKLDistance(std::vector<GsfComponent> &cmpCache,
0032                                  std::size_t maxCmpsAfterMerge,
0033                                  const Surface &surface);
0034 
0035 }  // namespace Acts