Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /** TRACCC library, part of the ACTS project (R&D line)
0002  *
0003  * (c) 2022-2025 CERN for the benefit of the ACTS project
0004  *
0005  * Mozilla Public License Version 2.0
0006  */
0007 
0008 #pragma once
0009 
0010 namespace traccc::edm {
0011 
0012 template <typename BASE>
0013 TRACCC_HOST_DEVICE void track<BASE>::reset_quality() {
0014   ndf() = {};
0015   chi2() = {};
0016   pval() = {};
0017   nholes() = {};
0018 }
0019 
0020 template <typename BASE>
0021 template <typename T>
0022 TRACCC_HOST_DEVICE bool track<BASE>::operator==(const track<T>& other) const {
0023   return ((fit_outcome() == other.fit_outcome()) &&
0024           (params() == other.params()) && (ndf() == other.ndf()) &&
0025           (chi2() == other.chi2()) && (pval() == other.pval()) &&
0026           (nholes() == other.nholes()) &&
0027           (constituent_links() == other.constituent_links()));
0028 }
0029 
0030 }  // namespace traccc::edm