Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-26 08:21:59

0001 /** TRACCC library, part of the ACTS project (R&D line)
0002  *
0003  * (c) 2023-2025 CERN for the benefit of the ACTS project
0004  *
0005  * Mozilla Public License Version 2.0
0006  */
0007 
0008 #pragma once
0009 
0010 // Project include(s).
0011 #include "traccc/utils/pair.hpp"
0012 
0013 namespace traccc {
0014 
0015 // A link that contains the index of corresponding measurement and the index of
0016 // a link from a previous step of track finding
0017 struct candidate_link {
0018   // Step on which this link was found
0019   unsigned int step;
0020 
0021   // Index of the previous candidate
0022   unsigned int previous_candidate_idx;
0023 
0024   // Measurement index
0025   unsigned int meas_idx;
0026 
0027   // Index to the initial seed
0028   unsigned int seed_idx;
0029 
0030   // How many times it skipped a surface
0031   unsigned int n_skipped;
0032 
0033   // Number of consecutive holes; reset on measurement
0034   unsigned int n_consecutive_skipped;
0035 
0036   // chi2
0037   traccc::scalar chi2;
0038 
0039   // chi2 sum
0040   traccc::scalar chi2_sum;
0041 
0042   // degrees of freedom
0043   unsigned int ndf_sum;
0044 };
0045 
0046 }  // namespace traccc