15#include "Acts/Utilities/Result.hpp"
16#include "Acts/Utilities/Delegate.hpp"
17#include "Acts/EventData/SourceLink.hpp"
18#include "Acts/TrackFinding/CombinatorialKalmanFilterError.hpp"
19#include "Acts/Surfaces/Surface.hpp"
20#include "Acts/Geometry/GeometryHierarchyMap.hpp"
21#include "Acts/EventData/Types.hpp"
22#include "Acts/EventData/TrackStatePropMask.hpp"
23#include "boost/container/small_vector.hpp"
26#include "Acts/EventData/TrackStateProxy.hpp"
27#include "Acts/Utilities/CalibrationContext.hpp"
28#include "Acts/EventData/BoundTrackParameters.hpp"
31#include "Acts/EventData/MultiTrajectory.hpp"
44template <
typename derived_t>
48 template <std::
size_t N>
52 template <std::
size_t N>
57 template <std::
size_t N>
62 template <std::
size_t N>
66 template <std::
size_t N>
67 using Predicted =
typename Acts::detail_tsp::FixedSizeTypes<N>::Coefficients;
70 template <std::
size_t N>
76 template <
typename T_MeasurementRangeIterator>
78 using value_type =
typename T_MeasurementRangeIterator::value_type;
97 using BoundState = std::tuple<BoundTrackParameters, BoundMatrix, double>;
111 template <
class T_Matrix>
112 static constexpr std::size_t
matrixColumns() {
return T_Matrix::ColsAtCompileTime;}
113 template <
class T_Matrix>
114 static constexpr std::size_t
matrixRows() {
return T_Matrix::RowsAtCompileTime;}
116 template <
typename T_Float,
class T_Matrix>
117 static auto matrixTypeCast(
const T_Matrix &matrix) {
return matrix.template cast<T_Float>(); }
119 template <
class T_Matrix>
120 static auto transpose(
const T_Matrix &matrix) {
return matrix.transpose(); }
122 template <
class T_Matrix>
123 static auto invert(
const T_Matrix &matrix) {
return matrix.inverse(); }
136 template <std::
size_t N>
137 using type = std::array<unsigned char, N>;
139 template <std::
size_t N>
142 for(
int i=0; i<N; ++i) {
151template <std::
size_t N,
class T_ResultType,
class T_Matrix>
154 using MatrixIndexMapType =
unsigned char;
156 using MatrixIndexType =
unsigned int;
165 for (MatrixIndexType meas_i=0; meas_i<N; ++meas_i) {
166 assert( meas_i < parameter_map.size() );
167 ret(meas_i,0) = matrix( parameter_map[meas_i], 0);
173 for (MatrixIndexType meas_i=0; meas_i<N; ++meas_i) {
174 assert( meas_i < parameter_map.size());
175 MatrixIndexType param_i = parameter_map[meas_i];
176 for (MatrixIndexType meas_j=0; meas_j<N; ++meas_j) {
177 assert( meas_j < parameter_map.size());
178 ret(meas_i,meas_j) = matrix(param_i, parameter_map[meas_j]);
189template <
typename measurement_vector_t,
typename measurement_cov_matrix_t,
190 typename predicted_vector_t,
typename predicted_cov_matrix_t>
192 const measurement_cov_matrix_t &a_cov,
193 const predicted_vector_t &b,
194 const predicted_cov_matrix_t &b_cov) {
221template <std::
size_t N,
class PayloadType >
260 void acceptAndSort(std::function<
bool(
const PayloadType &
a,
const PayloadType &b)> comparison) {
290 typename std::array<IndexType, N+1>::const_iterator
begin() {
return m_order.begin(); }
318template <std::size_t NMeasMax,
323 using Config = Acts::GeometryHierarchyMap<AtlasMeasurementSelectorCuts>;
334 const derived_t &
derived()
const {
return *
static_cast<const derived_t *
>(
this); }
338 template <std::
size_t N>
341 constexpr std::size_t nrows = Acts::kMeasurementSizeMax;
342 constexpr std::size_t ncols = Acts::eBoundSize;
344 std::bitset<nrows * ncols> proj_bitset {};
346 for (
unsigned int col_i=0; col_i<N; ++col_i) {
347 unsigned int row_i = parameter_map[col_i];
348 unsigned int idx = col_i *nrows + row_i;
349 proj_bitset[ (nrows * ncols - 1) - idx ] = 1;
351 return proj_bitset.to_ullong();
364 const Acts::BoundSubspaceIndices& subspaceIndices,
365 boost::container::small_vector< typename TrackStateProxy::IndexType, s_maxBranchesPerSurface> &track_states,
366 const Acts::Logger&
logger,
367 bool outlier_states) {
369 const auto &boundParams = derived_t::boundParams(boundState);
370 const auto &pathLength = derived_t::pathLength(boundState);
372 using PM = Acts::TrackStatePropMask;
374 track_states.reserve( n_new_states );
375 std::optional<TrackStateProxy> firstTrackState{
377 for (
unsigned int state_i=0; state_i<n_new_states; ++state_i) {
378 PM mask = PM::Predicted | PM::Filtered | PM::Jacobian | PM::Calibrated;
380 if (firstTrackState.has_value()) {
383 mask &= ~PM::Predicted & ~PM::Jacobian;
386 if (outlier_states) {
388 mask &= ~PM::Filtered;
392 ACTS_VERBOSE(
"Create SourceLink output track state #"
393 << trackState.index() <<
" with mask: " << mask);
395 if (firstTrackState.has_value()) {
396 trackState.shareFrom(*firstTrackState, PM::Predicted);
397 trackState.shareFrom(*firstTrackState, PM::Jacobian);
401 trackState.predicted() = boundParams.parameters();
402 if (boundParams.covariance()) {
403 trackState.predictedCovariance() = *boundParams.covariance();
405 trackState.jacobian() = derived_t::boundJacobiMatrix(boundState);
406 firstTrackState = trackState;
408 trackState.pathLength() = pathLength;
410 trackState.setReferenceSurface(boundParams.referenceSurface().getSharedPtr());
412 trackState.setProjectorSubspaceIndices(subspaceIndices);
414 auto typeFlags = trackState.typeFlags();
415 if (trackState.referenceSurface().surfaceMaterial() !=
nullptr) {
416 typeFlags.setHasMaterial();
418 typeFlags.setHasParameters();
422 track_states.push_back( trackState.index());
430 operator unsigned int() {
return flags; }
434 template <
typename T1,
typename T2>
437 std::tuple<T1,T2,unsigned int>::operator=(std::move(
a));
441 const T1 &
position()
const {
return std::get<0>(*
this); }
446 unsigned int makeOutlierFlag(
bool value) {
return static_cast<unsigned int>(value)<<2u; }
448 template <std::
size_t DIM,
typename T_SourceLink>
450 using MeasCovPair = PairWithFlags < typename MeasurementSelectorTraits<derived_t>::template PreSelectionMeasurement<DIM>,
462 template <std::
size_t DIM,
typename T_MeasurementRange>
463 Acts::Result<boost::container::small_vector< typename TrackStateProxy::IndexType, s_maxBranchesPerSurface> >
465 const Acts::CalibrationContext& calibrationContext,
466 const Acts::Surface& surface,
468 T_MeasurementRange &&measurement_range,
471 const Acts::Logger&
logger,
472 const std::size_t numMeasurementsCut,
473 const std::pair<float,float>& maxChi2Cut,
475 Acts::Result<boost::container::small_vector< typename TrackStateProxy::IndexType, s_maxBranchesPerSurface> >
476 result = boost::container::small_vector< typename TrackStateProxy::IndexType, s_maxBranchesPerSurface>{};
478 using iterator_t =
decltype(measurement_range.begin());
480 using BaseElementType = std::remove_cv_t<std::remove_pointer_t< container_value_t > >;
482 using TheMatchingMeasurement = MatchingMeasurement<DIM, container_value_t >;
483 using MeasCovPair = TheMatchingMeasurement::MeasCovPair;
491 Acts::SubspaceIndices<DIM> parameter_map =
derived().template parameterMap<DIM>(geometryContext,
496 derived().boundParams(boundState).parameters()),
498 derived().boundParams(boundState).covariance().value()));
501 auto preCalibrator =
derived().template preCalibrator<DIM, BaseElementType>();
502 auto postCalibrator =
derived().template postCalibrator<DIM, BaseElementType>();
504 for (
const auto &measurement : measurement_range ) {
505 TheMatchingMeasurement &matching_measurement=selected_measurements.
slot();
506 if (forced && postCalibrator) {
508 const auto &m =
derived().forwardToCalibrator(measurement);
509 matching_measurement.m_measurement = std::make_tuple( m.template localPosition<DIM>(), m.template localCovariance<DIM>(), 0u );
510 matching_measurement.m_chi2 = 0.0f;
511 matching_measurement.m_sourceLink=measurement;
514 matching_measurement.m_measurement = preCalibrator(geometryContext,
517 derived().forwardToCalibrator(measurement),
518 derived().boundParams(boundState));
519 matching_measurement.m_chi2 =
computeChi2(matching_measurement.m_measurement.position(),
520 matching_measurement.m_measurement.covariance(),
524 if (matching_measurement.m_chi2<maxChi2Cut.second) {
525 matching_measurement.m_sourceLink=measurement;
526 selected_measurements.
acceptAndSort([](
const TheMatchingMeasurement &
a,
527 const TheMatchingMeasurement &b) {
528 return a.m_chi2 < b.m_chi2;
534 if (selected_measurements.
empty()) {
535 auto config_for_surface =
m_config.find(surface.geometryId());
536 if (config_for_surface !=
m_config.end()) {
537 if (config_for_surface->edgeTolerance.has_value()) {
540 auto local_coords =
derived().boundParams(boundState).parameters().template block<2,1>(0,0);
541 if (!surface.insideBounds(local_coords,config_for_surface->edgeTolerance.value())) {
542 result = result.failure(Acts::CombinatorialKalmanFilterError::NoMeasurementExpected);
550 using post_calib_meas_cov_pair_t
551 = PairWithFlags<typename MeasurementSelectorTraits<derived_t>::template CalibratedMeasurement<DIM>,
560 Acts::BoundSubspaceIndices boundSubspaceIndices;
561 std::copy(parameter_map.begin(), parameter_map.end(), boundSubspaceIndices.begin());
566 boundSubspaceIndices,
569 (!selected_measurements.
empty()
570 ? selected_measurements.
getSlot( *(selected_measurements.
begin())).m_measurement.flags().isOutlier() || postCalibrator
572 assert( result->size() == selected_measurements.
size() );
574 if (postCalibrator) {
577 auto predicted_pos_dbl = predicted.first.template cast<double>();
578 auto predicted_cov_dbl = predicted.second.template cast<double>();
579 unsigned int state_i=0u;
581 idx: selected_measurements) {
582 assert( state_i < result->
size());
583 TrackStateProxy trackState( trajectory.getTrackState( (*result)[state_i] ) );
584 TheMatchingMeasurement &a_selected_measurement = selected_measurements.
getSlot(idx);
588 postCalibrator(geometryContext,
590 derived().forwardToCalibrator(a_selected_measurement.m_sourceLink.value()),
594 trackState.chi2() =
computeChi2(trackState.template calibrated<DIM>(),
595 trackState.template calibratedCovariance<DIM>(),
600 bool is_outlier = !forced && trackState.chi2() >= maxChi2Cut.first;
602 trackState.typeFlags().setIsOutlier();
603 trackState.shareFrom(trackState, Acts::TrackStatePropMask::Predicted,
604 Acts::TrackStatePropMask::Filtered);
606 trackState.typeFlags().setIsMeasurement();
607 trackState.addComponents(Acts::TrackStatePropMask::Filtered);
615 unsigned int state_i=0u;
617 idx: selected_measurements) {
618 assert( state_i < result->
size());
619 TrackStateProxy trackState( trajectory.getTrackState( (*result)[state_i] ) );
620 TheMatchingMeasurement &a_selected_measurement = selected_measurements.
getSlot(idx);
622 bool is_outlier = !forced && a_selected_measurement.m_chi2 >= maxChi2Cut.first;
623 auto type_flags = trackState.typeFlags();
626 type_flags.setIsOutlier();
627 trackState.shareFrom(trackState, Acts::TrackStatePropMask::Predicted,
628 Acts::TrackStatePropMask::Filtered);
631 type_flags.setIsMeasurement();
632 trackState.addComponents(Acts::TrackStatePropMask::Filtered);
634 if (a_selected_measurement.m_measurement.flags().isSplitHit()) {
635 type_flags.setIsSplitHit();
639 ::pack(std::move(a_selected_measurement.m_sourceLink.value())));
641 trackState.allocateCalibrated(DIM);
642 trackState.template calibrated<DIM>()
644 ::MatrixFloatType>(a_selected_measurement.m_measurement.position());
645 trackState.template calibratedCovariance<DIM>()
647 ::MatrixFloatType>(a_selected_measurement.m_measurement.covariance());
648 trackState.chi2() = a_selected_measurement.m_chi2;
657 template <
typename parameters_t>
658 static std::size_t
getEtaBin(
const parameters_t& boundParameters,
659 const std::vector<float> &etaBins) {
660 if (etaBins.empty()) {
663 const float eta = std::abs(std::atanh(std::cos(boundParameters.parameters()[Acts::eBoundTheta])));
665 for (
auto etaBin : etaBins) {
677 std::tuple< std::size_t, std::pair<float,float> >
getCuts(
const Acts::Surface& surface,
679 const Acts::Logger&
logger)
const {
680 std::tuple< std::size_t, std::pair<float,float> > result;
681 std::size_t &numMeasurementsCut = std::get<0>(result);
682 std::pair<float,float> &maxChi2Cut = std::get<1>(result);
684 auto geoID = surface.geometryId();
689 numMeasurementsCut = 0;
694 std::size_t eta_bin =
getEtaBin(
derived().boundParams(boundState), cuts->etaBins);
695 numMeasurementsCut = (!cuts->numMeasurementsCutOff.empty()
696 ? cuts->numMeasurementsCutOff[ std::min(cuts->numMeasurementsCutOff.size()-1, eta_bin) ]
698 maxChi2Cut = ! cuts->chi2CutOff.empty()
699 ? cuts->chi2CutOff[ std::min(cuts->chi2CutOff.size()-1, eta_bin) ]
700 : std::make_pair<float,float>(std::numeric_limits<float>::max(),
701 std::numeric_limits<float>::max());
702 ACTS_VERBOSE(
"Get cut for eta-bin="
703 << (eta_bin < cuts->etaBins.size() ? cuts->etaBins[eta_bin] : std::numeric_limits<float>::max())
704 <<
": chi2 (max,max-outlier) " << maxChi2Cut.first <<
", " << maxChi2Cut.second
705 <<
" max.meas." << numMeasurementsCut);
721template <std::size_t NMeasMax,
723 typename measurement_container_variant_t >
737 Acts::Result<boost::container::small_vector< typename TrackStateProxy::IndexType, s_maxBranchesPerSurface> >
739 const Acts::CalibrationContext& calibrationContext,
740 const Acts::Surface& surface,
742 typename TrackStateProxy::IndexType prevTip,
743 [[maybe_unused]] std::vector<TrackStateProxy>& trackStateCandidates,
745 const Acts::Logger&
logger)
const {
747 Acts::Result<boost::container::small_vector< typename TrackStateProxy::IndexType, s_maxBranchesPerSurface> >
748 result = Acts::CombinatorialKalmanFilterError::MeasurementSelectionFailed;
750 auto [a_measurement_container_variant_ptr, range, forced] = this->
derived().containerAndRange(surface);
751 if (!forced && !this->
derived().expectMeasurements( surface, a_measurement_container_variant_ptr, range)) {
752 result = result.failure(Acts::CombinatorialKalmanFilterError::NoMeasurementExpected);
755 if (!range.empty()) {
756 auto [numMeasurementsCut, maxChi2Cut] = this->
getCuts(surface,boundState,
logger);
759 if (numMeasurementsCut>0) {
761 result = std::visit( [
this,
772 forced] (
const auto &measurement_container_with_dimension) {
773 using ArgType = std::remove_cv_t<std::remove_reference_t<
decltype(measurement_container_with_dimension) > >;
774 constexpr std::size_t DIM = ArgType::dimension();
775 auto measurement_range = this->
derived().rangeForContainer(measurement_container_with_dimension,range);
782 std::move(measurement_range),
790 *a_measurement_container_variant_ptr);
794 result = Acts::Result<boost::container::small_vector< typename TrackStateProxy::IndexType, s_maxBranchesPerSurface> >::success({});
800template <std::size_t NMeasMax,
802 typename measurement_container_variant_t>
810 return std::get<0>(boundState);
815 return std::get<1>(boundState);
819 return std::get<2>(boundState);
825 template <
typename T>
827 if constexpr( std::is_same<T, std::remove_pointer_t<T> >::value ) {
840 template <std::
size_t DIM>
843 const Acts::CalibrationContext&,
844 const Acts::Surface&) {
850 template <std::
size_t DIM>
852 template <std::
size_t DIM>
857 template <std::
size_t DIM,
typename measurement_t>
859 std::tuple < typename MeasurementSelectorTraits<derived_t>::template PreSelectionMeasurement<DIM>,
862 (
const Acts::GeometryContext&,
863 const Acts::CalibrationContext&,
864 const Acts::Surface&,
865 const measurement_t &,
870 template <std::
size_t DIM,
typename measurement_t>
873 (
const Acts::GeometryContext&,
874 const Acts::CalibrationContext&,
875 const measurement_t &,
881 template <std::
size_t DIM,
typename measurement_t>
889 template <std::
size_t DIM,
typename measurement_t>
898 std::tuple<const measurement_container_variant_t &, abstract_measurement_range_t>
906 [[maybe_unused]]
const measurement_container_variant_t *container_variant_ptr,
913 template <
typename measurement_container_t>
Scalar eta() const
pseudorapidity method
double computeChi2(const measurement_vector_t &a, const measurement_cov_matrix_t &a_cov, const predicted_vector_t &b, const predicted_cov_matrix_t &b_cov)
T_ResultType project(ParameterMapping::type< N > parameter_map, const T_Matrix &matrix)
void diff(const Jet &rJet1, const Jet &rJet2, std::map< std::string, double > varDiff)
Difference between jets - Non-Class function required by trigger.
size_t size() const
Number of registered mappings.
Base class providing the boiler code to fill the Acts multi trajectory track states.
static Acts::SourceLink pack(const Ptr_t &measurement)
Pack the measurement type pointer to an Acts::SourceLink including the intermediate conversion into a...
static Root::TMsgLogger logger("iLumiCalc")
constexpr bool testTrackStateFlag(Acts::TrackStateFlag flag, unsigned int flags)
void swap(ElementLinkVector< DOBJ > &lhs, ElementLinkVector< DOBJ > &rhs)
std::vector< std::size_t > numMeasurementsCutOff
Maximum number of associated measurements on a single surface.
std::optional< Acts::BoundaryTolerance > edgeTolerance
Optional (expected negative) boundary tolerance to label edge holes as no measurement expected.
std::vector< std::pair< float, float > > chi2CutOff
Maximum local chi2 contribution.
std::vector< float > etaBins
bins in |eta| to specify variable selections
typename MeasurementSelectorTraits< derived_t >::template CalibratedMeasurementCovariance< DIM > MeasurementCovariance
typename MeasurementSelectorTraits< derived_t >::template CalibratedMeasurement< DIM > Measurement
MeasurementSelectorTraits< AtlasMeasurementSelector< NMeasMax, traj_t, measurement_container_variant_t > >::abstract_measurement_range_t abstract_measurement_range_t
static const MeasurementSelectorTraits< derived_t >::BoundMatrix & boundJacobiMatrix(const T_BoundState &boundState)
MeasurementSelectorTraits< AtlasMeasurementSelector< NMeasMax, traj_t, measurement_container_variant_t > >::BoundState T_BoundState
bool expectMeasurements(const Acts::Surface &surface, const measurement_container_variant_t *container_variant_ptr, const abstract_measurement_range_t &abstract_range) const
const PreCalibrator< DIM, measurement_t > & preCalibrator() const
const PostCalibrator< DIM, measurement_t > & postCalibrator() const
the calibrator used after the measurement selection which does not have to be "connected"
static double pathLength(const T_BoundState &boundState)
std::tuple< const measurement_container_variant_t &, abstract_measurement_range_t > containerAndRange(const Acts::Surface &surface) const
Get container and index range for measurements on the given surface.
static const auto & forwardToCalibrator(const T &a)
MeasurementSelectorTraits< AtlasMeasurementSelector< NMeasMax, traj_t, measurement_container_variant_t > >::TrackStateProxy TrackStateProxy
Acts::Delegate< void(const Acts::GeometryContext &, const Acts::CalibrationContext &, const measurement_t &, TrackStateProxy &)> PostCalibrator
Acts::Delegate< std::tuple< typename MeasurementSelectorTraits< AtlasMeasurementSelector< NMeasMax, traj_t, measurement_container_variant_t > >::template PreSelectionMeasurement< DIM >, typename MeasurementSelectorTraits< AtlasMeasurementSelector< NMeasMax, traj_t, measurement_container_variant_t > >::template PreSelectionMeasurementCovariance< DIM >, unsigned int >(const Acts::GeometryContext &, const Acts::CalibrationContext &, const Acts::Surface &, const measurement_t &, const typename MeasurementSelectorTraits< AtlasMeasurementSelector< NMeasMax, traj_t, measurement_container_variant_t > >::BoundTrackParameters &)> PreCalibrator
static const MeasurementSelectorTraits< derived_t >::BoundTrackParameters & boundParams(const T_BoundState &boundState)
static auto rangeForContainer(const measurement_container_t &concrete_container, const abstract_measurement_range_t &abstract_range)
Create a range over elements of the given container from an abstract range.
ParameterMapping::type< DIM > parameterMap(const Acts::GeometryContext &, const Acts::CalibrationContext &, const Acts::Surface &)
PairWithFlags< typename MeasurementSelectorTraits< derived_t >::template PreSelectionMeasurement< DIM >, typename MeasurementSelectorTraits< derived_t >::template PreSelectionMeasurementCovariance< DIM > > MeasCovPair
std::optional< T_SourceLink > m_sourceLink
MeasCovPair m_measurement
PairWithFlags< T1, T2 > & operator=(std::tuple< T1, T2, unsigned int > &&a)
const T1 & position() const
const T2 & covariance() const
static Acts::ProjectorBitset create(const ParameterMapping::type< N > ¶meter_map)
const derived_t & derived() const
MeasurementSelectorTraits< derived_t > traits
std::tuple< std::size_t, std::pair< float, float > > getCuts(const Acts::Surface &surface, const T_BoundState &boundState, const Acts::Logger &logger) const
unsigned int makeOutlierFlag(bool value)
static void createStates(std::size_t n_new_states, const T_BoundState &boundState, std::size_t prevTip, trajectory_t &trajectory, const Acts::BoundSubspaceIndices &subspaceIndices, boost::container::small_vector< typename TrackStateProxy::IndexType, s_maxBranchesPerSurface > &track_states, const Acts::Logger &logger, bool outlier_states)
static std::size_t getEtaBin(const parameters_t &boundParameters, const std::vector< float > &etaBins)
typename MeasurementSelectorTraits< derived_t >::trajectory_t trajectory_t
Acts::Result< boost::container::small_vector< typename TrackStateProxy::IndexType, s_maxBranchesPerSurface > > selectMeasurementsCreateTrackStates(const Acts::GeometryContext &geometryContext, const Acts::CalibrationContext &calibrationContext, const Acts::Surface &surface, const T_BoundState &boundState, T_MeasurementRange &&measurement_range, std::size_t prevTip, trajectory_t &trajectory, const Acts::Logger &logger, const std::size_t numMeasurementsCut, const std::pair< float, float > &maxChi2Cut, bool forced) const
static constexpr std::size_t s_maxBranchesPerSurface
typename MeasurementSelectorTraits< derived_t >::BoundState T_BoundState
typename MeasurementSelectorTraits< derived_t >::TrackStateProxy TrackStateProxy
Acts::GeometryHierarchyMap< AtlasMeasurementSelectorCuts > Config
static constexpr std::size_t matrixRows()
static constexpr std::size_t matrixColumns()
matrix adapter for Eigen additionally need +,- and *
static auto transpose(const T_Matrix &matrix)
static auto matrixTypeCast(const T_Matrix &matrix)
static auto invert(const T_Matrix &matrix)
typename T_MeasurementRangeIterator::value_type value_type
typename Acts::detail_tsp::FixedSizeTypes< N >::Covariance PredictedCovariance
Acts::BoundTrackParameters BoundTrackParameters
typename Acts::detail_tsp::FixedSizeTypes< N >::Coefficients CalibratedMeasurement
typename Acts::detail_tsp::FixedSizeTypes< N >::Coefficients PreSelectionMeasurement
trajectory_t::TrackStateProxy TrackStateProxy
typename Acts::detail_tsp::FixedSizeTypes< N >::Coefficients Predicted
typename Acts::detail_tsp::FixedSizeTypes< N >::Covariance PreSelectionMeasurementCovariance
std::ranges::iota_view< unsigned int, unsigned int > abstract_measurement_range_t
typename Acts::detail_tsp::FixedSizeTypes< N >::Covariance CalibratedMeasurementCovariance
static constexpr std::size_t s_maxBranchesPerSurface
typename derived_t::traj_t trajectory_t
static const std::size_t s_dimMax
Acts::BoundMatrix BoundMatrix
std::tuple< BoundTrackParameters, BoundMatrix, double > BoundState
Acts::Result< boost::container::small_vector< typename TrackStateProxy::IndexType, s_maxBranchesPerSurface > > createTrackStates(const Acts::GeometryContext &geometryContext, const Acts::CalibrationContext &calibrationContext, const Acts::Surface &surface, const T_BoundState &boundState, typename TrackStateProxy::IndexType prevTip, std::vector< TrackStateProxy > &trackStateCandidates, trajectory_t &trajectory, const Acts::Logger &logger) const
typename Base::trajectory_t trajectory_t
MeasurementSelectorBase< NMeasMax, MeasurementSelectorTraits< derived_t >::s_dimMax, derived_t > Base
static constexpr std::size_t dimMax()
typename Base::T_BoundState T_BoundState
static constexpr std::size_t s_maxBranchesPerSurface
typename Base::TrackStateProxy TrackStateProxy
static constexpr type< N > identity()
std::array< unsigned char, N > type
std::array< PayloadType, N+1 > m_slots
std::array< IndexType, N+1 >::const_iterator begin()
std::array< IndexType, N+1 > m_order
const PayloadType & getSlot(IndexType idx) const
TopCollection(std::size_t max_n)
bool isValid(IndexType idx) const
void acceptAndSort(std::function< bool(const PayloadType &a, const PayloadType &b)> comparison)
std::array< IndexType, N+1 >::const_iterator end()
PayloadType & getSlot(IndexType idx)
void init(std::size_t max_n)