Project
Loading...
Searching...
No Matches
TrackingConfigParam.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
12#ifndef ALICEO2_ITSDPLTRACKINGPARAM_H_
13#define ALICEO2_ITSDPLTRACKINGPARAM_H_
14
15#include <limits>
19
20namespace o2::its
21{
22
23struct VertexerParamConfig : public o2::conf::ConfigurableParamHelper<VertexerParamConfig> {
24 bool saveTimeBenchmarks = false; // dump metrics on file
25
26 int nIterations = 1; // Number of vertexing passes to perform.
27 int vertPerRofThreshold = 0; // Maximum number of vertices per ROF to trigger second a iteration.
28
29 // geometrical cuts for tracklet selection for Pb-Pb
30 float zCut = 0.002f;
31 float phiCut = 0.005f;
32 float pairCut = 0.017321f;
33 float clusterCut = 0.170048f;
34 float coarseZWindow = 0.055458f;
35 float seedDedupZCut = 0.116685f;
36 float refitDedupZCut = 0.039855f;
37 float duplicateZCut = 0.200097f;
38 float finalSelectionZCut = 0.034535f;
39 float duplicateDistance2Cut = 0.005117f;
40 float tanLambdaCut = 0.002f; // tanLambda = deltaZ/deltaR
41 float nSigmaCut = 0.0164651f;
42 float maxZPositionAllowed = 25.f; // 4x sZ of the beam
43
44 // Artefacts selections
45 int clusterContributorsCut = 3; // minimum number of contributors for an accepted final vertex
46 int suppressLowMultDebris = 16; // suppress all vertices below this threshold if a vertex was already found in a rof
50 int phiSpan = -1;
51 int zSpan = -1;
52 int ZBins = 1; // z-phi index table configutation: number of z bins
53 int PhiBins = 128; // z-phi index table configutation: number of phi bins
54
55 bool useTruthSeeding{false}; // overwrite seeding vertices with MC truth
56
57 int nThreads = 1;
58 bool printMemory = false;
59 size_t maxMemory = std::numeric_limits<size_t>::max();
60 bool dropTFUponFailure = false;
61
62 O2ParamDef(VertexerParamConfig, "ITSVertexerParam");
63};
64
65struct TrackerParamConfig : public o2::conf::ConfigurableParamHelper<TrackerParamConfig> {
66 static const int MinTrackLength = 4;
67 static const int MaxTrackLength = 7;
68
69 bool useMatCorrTGeo = false; // use full geometry to corect for material budget accounting in the fits. Default is to use the material budget LUT.
70 bool useFastMaterial = false; // use faster material approximation for material budget accounting in the fits.
71 int addTimeError[7] = {0}; // configure the width of the window in BC to be considered for the tracking.
72 int minTrackLgtIter[constants::MaxIter] = {}; // minimum track length at each iteration, used only if >0, otherwise use code defaults
73 uint8_t startLayerMask[constants::MaxIter] = {}; // mask of start layer for this iteration (if >0)
74 int maxHolesIter[constants::MaxIter] = {}; // maximum number of missing internal layers allowed in the CA topology for each iteration
75 uint16_t holeLayerMaskIter[constants::MaxIter] = {}; // layers that may be skipped by the CA topology for each iteration
76 float minPtIterLgt[constants::MaxIter * (MaxTrackLength - MinTrackLength + 1)] = {}; // min.pT for given track length at this iteration, used only if >0, otherwise use code defaults
77 float sysErrY2[7] = {0}; // systematic error^2 in Y per layer
78 float sysErrZ2[7] = {0}; // systematic error^2 in Z per layer
80 float maxChi2NDF = -1.f;
81 float nSigmaCut = -1.f;
82 float deltaTanLres = -1.f;
83 float minPt = -1.f;
84 float pvRes = -1.f;
85 int LUTbinsPhi = -1;
86 int LUTbinsZ = -1;
87 float diamondPos[3] = {0.f, 0.f, 0.f}; // override the position of the vertex
88 bool useDiamond = false; // enable overriding the vertex position
89 bool perPrimaryVertexProcessing = false; // perform the full tracking considering the vertex hypotheses one at the time.
90 bool saveTimeBenchmarks = false; // dump metrics on file
91 bool overrideBeamEstimation = false; // use beam position from meanVertex CCDB object
92 int trackingMode = -1; // -1: unset, 0=sync, 1=async, 2=cosmics used by gpuwf only
93 bool doUPCIteration = false; // Perform an additional iteration for UPC events on tagged vertices. You want to combine this config with VertexerParamConfig.nIterations=2
94 int nIterations = constants::MaxIter; // overwrite the number of iterations
95 int reseedIfShorter = 6; // for the final refit reseed the track with circle if they are shorter than this value
96 bool shiftRefToCluster{true}; // TrackFit: after update shift the linearization reference to cluster
97 bool repeatRefitOut{false}; // repeat outward refit using inward refit as a seed
98 bool createArtefactLabels{false}; // create on-the-fly labels for the artefacts
99
100 int nThreads = 1;
101 bool printMemory = false;
102 size_t maxMemory = std::numeric_limits<size_t>::max();
103 bool dropTFUponFailure = false;
104 bool fataliseUponFailure = true; // granular management of the fatalisation in async mode
105 bool allowSharingFirstCluster = false; // allow first cluster sharing among tracks
106
107 O2ParamDef(TrackerParamConfig, "ITSCATrackerParam");
108};
109
110} // namespace o2::its
111#endif
constexpr int MaxIter
Definition Constants.h:36
uint16_t holeLayerMaskIter[constants::MaxIter]
float minPtIterLgt[constants::MaxIter *(MaxTrackLength - MinTrackLength+1)]
uint8_t startLayerMask[constants::MaxIter]
O2ParamDef(TrackerParamConfig, "ITSCATrackerParam")
int minTrackLgtIter[constants::MaxIter]
int maxHolesIter[constants::MaxIter]
O2ParamDef(VertexerParamConfig, "ITSVertexerParam")