-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'acts-project:main' into fix-edgeholes
- Loading branch information
Showing
234 changed files
with
3,079 additions
and
3,132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ coner | |
dthe | ||
iself | ||
sortings | ||
fime | ||
gaus | ||
te | ||
parm | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+27.6 KB
CI/physmon/reference/trackfinding_ttbar_pu200/performance_finding_ckf_ml_solver.root
Binary file not shown.
Binary file added
BIN
+166 KB
CI/physmon/reference/trackfinding_ttbar_pu200/performance_fitting_ckf_ml_solver.root
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
Core/include/Acts/AmbiguityResolution/AmbiguityNetworkConcept.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// This file is part of the ACTS project. | ||
// | ||
// Copyright (C) 2016 CERN for the benefit of the ACTS project | ||
// | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
|
||
#pragma once | ||
|
||
#include "Acts/EventData/TrackContainer.hpp" | ||
#include "Acts/EventData/TrackContainerFrontendConcept.hpp" | ||
#include "Acts/EventData/VectorMultiTrajectory.hpp" | ||
#include "Acts/EventData/VectorTrackContainer.hpp" | ||
#include "Acts/Utilities/Concepts.hpp" | ||
|
||
namespace Acts { | ||
|
||
/// @brief Concept for the ambiguity network used in the ambiguity resolution | ||
/// | ||
/// The ambiguity network correspond to the AmbiguityTrackClassifier found in | ||
/// the Onnx plugin. It is used to score the tracks and select the best ones. | ||
/// | ||
/// The constructor of the Ambiguity Solver network should take string as input | ||
/// corresponding to the path of the ONNX model. | ||
/// The implementation of the Ambiguity Solver network should have two methods: | ||
/// - inferScores: takes clusters (a list of track ID associated with a cluster | ||
/// ID) and the track container and return an outputTensor (list of scores for | ||
/// each track in the clusters). | ||
/// - trackSelection: Takes clusters and the output tensor from the inferScores | ||
/// method and return the list of track ID to keep. | ||
/// | ||
/// @tparam N the type of the network | ||
template <typename network_t> | ||
concept AmbiguityNetworkConcept = requires( | ||
TrackContainer<VectorTrackContainer, VectorMultiTrajectory, | ||
detail::ValueHolder> &tracks, | ||
std::unordered_map<std::size_t, std::vector<std::size_t>> &clusters, | ||
std::vector<std::vector<float>> &outputTensor, const char *modelPath, | ||
network_t &n) { | ||
{ network_t(modelPath) } -> std::same_as<network_t>; | ||
|
||
{ | ||
n.inferScores(clusters, tracks) | ||
} -> std::same_as<std::vector<std::vector<float>>>; | ||
{ | ||
n.trackSelection(clusters, outputTensor) | ||
} -> std::same_as<std::vector<std::size_t>>; | ||
}; | ||
|
||
} // namespace Acts |
Oops, something went wrong.