|
||||
File indexing completed on 2025-01-19 09:23:37
0001 // This file is part of the Acts project. 0002 // 0003 // Copyright (C) 2021 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 http://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
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |