Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-07 08:04:12

0001 // SPDX-License-Identifier: LGPL-3.0-or-later
0002 // Copyright (C) 2025 Dongwi H. Dongwi (Bishoy)
0003 
0004 #pragma once
0005 
0006 #include <Acts/Definitions/Units.hpp>
0007 
0008 using namespace Acts::UnitLiterals;
0009 
0010 namespace eicrecon {
0011 
0012 struct SecondaryVertexFinderConfig {
0013   unsigned int maxVertices      = 20;
0014   unsigned int maxIterations    = 500;
0015   unsigned int maxSecIterations = 1000;
0016   //Max z interval used for adding tracks to fit: when adding a new vertex to the multi vertex fit,
0017   //only the tracks whose z at PCA is closer to the seeded vertex than tracksMaxZinterval
0018   //are added to this new vertex
0019   float tracksMaxZinterval    = 3_mm;
0020   float tracksMaxZintervalSec = 10_mm;
0021 
0022   // Max chi2 value for which tracks are considered compatible with
0023   // the fitted vertex. These tracks are removed from the seedTracks
0024   // after the fit has been performed.
0025   double maxVertexChi2 = 18.42;
0026   bool doFullSplitting = false;
0027   // 5 corresponds to a p-value of ~0.92 using `chi2(x=5,ndf=2)`
0028   float tracksMaxSignificance      = 6.7;
0029   float maxMergeVertexSignificance = 3;
0030   float minWeight                  = 1e-04;
0031   float maxDistToLinPoint          = 5.5_mm;
0032   // Bin extent in z-direction
0033   float spatialBinExtent         = 25_um;
0034   Acts::Vector4 initialVariances = Acts::Vector4{1e+2_mm, 1e+2_mm, 1e+2_mm, 1e+8_mm};
0035   // Bin extent in t-direction
0036   float temporalBinExtent          = 19_mm;
0037   bool doSmoothing                 = true;
0038   bool reassignTracksAfterFirstFit = true;
0039   bool useTime                     = false;
0040   // Use seed vertex as a constraint for the fit
0041   bool useSeedConstraint = true;
0042 };
0043 
0044 } // namespace eicrecon