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.0211211f;
33 float clusterCut = 0.4275412f;
34 float coarseZWindow = 0.6521316f;
35 float seedDedupZCut = 0.1461061f;
36 float refitDedupZCut = 0.1873750f;
37 float duplicateZCut = 0.7985643f;
38 float finalSelectionZCut = 0.2932624f;
39 float duplicateDistance2Cut = 0.0223001f;
40 float tanLambdaCut = 0.002f; // tanLambda = deltaZ/deltaR
41 float nSigmaCut = 0.0479011f;
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 float minPtIterLgt[constants::MaxIter * (MaxTrackLength - MinTrackLength + 1)] = {}; // min.pT for given track length at this iteration, used only if >0, otherwise use code defaults
75 float sysErrY2[7] = {0}; // systematic error^2 in Y per layer
76 float sysErrZ2[7] = {0}; // systematic error^2 in Z per layer
78 float maxChi2NDF = -1.f;
79 float nSigmaCut = -1.f;
80 float deltaTanLres = -1.f;
81 float minPt = -1.f;
82 float pvRes = -1.f;
83 int LUTbinsPhi = -1;
84 int LUTbinsZ = -1;
85 float diamondPos[3] = {0.f, 0.f, 0.f}; // override the position of the vertex
86 bool useDiamond = false; // enable overriding the vertex position
87 bool perPrimaryVertexProcessing = false; // perform the full tracking considering the vertex hypotheses one at the time.
88 bool saveTimeBenchmarks = false; // dump metrics on file
89 bool overrideBeamEstimation = false; // use beam position from meanVertex CCDB object
90 int trackingMode = -1; // -1: unset, 0=sync, 1=async, 2=cosmics used by gpuwf only
91 bool doUPCIteration = false; // Perform an additional iteration for UPC events on tagged vertices. You want to combine this config with VertexerParamConfig.nIterations=2
92 int nIterations = constants::MaxIter; // overwrite the number of iterations
93 int reseedIfShorter = 6; // for the final refit reseed the track with circle if they are shorter than this value
94 bool shiftRefToCluster{true}; // TrackFit: after update shift the linearization reference to cluster
95 bool repeatRefitOut{false}; // repeat outward refit using inward refit as a seed
96 bool createArtefactLabels{false}; // create on-the-fly labels for the artefacts
97
98 int nThreads = 1;
99 bool printMemory = false;
100 size_t maxMemory = std::numeric_limits<size_t>::max();
101 bool dropTFUponFailure = false;
102 bool fataliseUponFailure = true; // granular management of the fatalisation in async mode
103 bool allowSharingFirstCluster = false; // allow first cluster sharing among tracks
104
105 O2ParamDef(TrackerParamConfig, "ITSCATrackerParam");
106};
107
108} // namespace o2::its
109#endif
float minPtIterLgt[constants::MaxIter *(MaxTrackLength - MinTrackLength+1)]
uint8_t startLayerMask[constants::MaxIter]
O2ParamDef(TrackerParamConfig, "ITSCATrackerParam")
int minTrackLgtIter[constants::MaxIter]
O2ParamDef(VertexerParamConfig, "ITSVertexerParam")