EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
SecondaryVertexFinderConfig.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2025 Dongwi H. Dongwi (Bishoy)
3
4#pragma once
5
6#include <Acts/Definitions/Units.hpp>
7
8using namespace Acts::UnitLiterals;
9
10namespace eicrecon {
11
13 // If true, run in primary vertex mode (all tracks at once).
14 // If false, run in secondary vertex mode (pairwise track combinations).
15 bool isPrimary = true;
16
17 unsigned int maxVertices = 20;
18 unsigned int maxIterations = 500;
19 // Max z interval used for adding tracks to fit: when adding a new vertex to
20 // the multi vertex fit, only the tracks whose z at PCA is closer to the
21 // seeded vertex than tracksMaxZinterval are added to this new vertex
22 float tracksMaxZinterval = 3_mm;
23
24 // Max chi2 value for which tracks are considered compatible with
25 // the fitted vertex. These tracks are removed from the seedTracks
26 // after the fit has been performed.
27 double maxVertexChi2 = 18.42;
28 bool doFullSplitting = false;
29 // 5 corresponds to a p-value of ~0.92 using `chi2(x=5,ndf=2)`
32 float minWeight = 1e-04;
33 float maxDistToLinPoint = 5.5_mm;
34 // Bin extent in z-direction
35 float spatialBinExtent = 25_um;
36 Acts::Vector4 initialVariances = Acts::Vector4{1e+2_mm, 1e+2_mm, 1e+2_mm, 1e+8_mm};
37 // Bin extent in t-direction
38 float temporalBinExtent = 19_mm;
39 bool doSmoothing = true;
41 bool useTime = false;
42 // Use seed vertex as a constraint for the fit
43 bool useSeedConstraint = false;
44};
45
46} // namespace eicrecon
-client
Definition CalorimeterClusterRecoCoG.cc:37
Definition SecondaryVertexFinderConfig.h:12
float maxMergeVertexSignificance
Definition SecondaryVertexFinderConfig.h:31
bool isPrimary
Definition SecondaryVertexFinderConfig.h:15
float maxDistToLinPoint
Definition SecondaryVertexFinderConfig.h:33
double maxVertexChi2
Definition SecondaryVertexFinderConfig.h:27
float tracksMaxSignificance
Definition SecondaryVertexFinderConfig.h:30
float tracksMaxZinterval
Definition SecondaryVertexFinderConfig.h:22
float temporalBinExtent
Definition SecondaryVertexFinderConfig.h:38
float minWeight
Definition SecondaryVertexFinderConfig.h:32
bool reassignTracksAfterFirstFit
Definition SecondaryVertexFinderConfig.h:40
bool doSmoothing
Definition SecondaryVertexFinderConfig.h:39
bool doFullSplitting
Definition SecondaryVertexFinderConfig.h:28
float spatialBinExtent
Definition SecondaryVertexFinderConfig.h:35
unsigned int maxIterations
Definition SecondaryVertexFinderConfig.h:18
bool useTime
Definition SecondaryVertexFinderConfig.h:41
bool useSeedConstraint
Definition SecondaryVertexFinderConfig.h:43
unsigned int maxVertices
Definition SecondaryVertexFinderConfig.h:17
Acts::Vector4 initialVariances
Definition SecondaryVertexFinderConfig.h:36