Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-26 08:22:00

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 // Local include(s).
0011 #include "traccc/definitions/common.hpp"
0012 #include "traccc/definitions/primitives.hpp"
0013 #include "traccc/finding/measurement_selector.hpp"
0014 #include "traccc/utils/particle.hpp"
0015 
0016 // detray include(s).
0017 #include <detray/propagator/propagation_config.hpp>
0018 
0019 namespace traccc {
0020 
0021 /// Configuration struct for track fitting
0022 struct fitting_config {
0023   std::size_t n_iterations = 1;
0024 
0025   /// Propagation configuration
0026   detray::propagation::config propagation{};
0027   /// Measurement calibration configuration
0028   measurement_selector::config meas_calibration{};
0029 
0030   /// Minimum momentum for reconstructed tracks
0031   float min_p = 100.f * traccc::unit<float>::MeV;
0032   float min_pT = 600.f * traccc::unit<float>::MeV;
0033 
0034   /// Particle hypothesis
0035   traccc::pdg_particle<traccc::scalar> ptc_hypothesis =
0036       traccc::pion_plus<traccc::scalar>();
0037 
0038   /// Smoothing with backward filter
0039   traccc::scalar covariance_inflation_factor = 1e3f;
0040   unsigned int surface_sequence_size_factor = 5u;
0041   unsigned int min_surface_sequence_capacity = 100u;
0042   bool do_precise_hole_count = false;
0043 };
0044 
0045 }  // namespace traccc