Skip to content

Commit 74232db

Browse files
committed
ITS: simplify configurables to single one for Vertexer
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent 261066e commit 74232db

5 files changed

Lines changed: 5 additions & 12 deletions

File tree

Detectors/ITSMFT/ITS/tracking/include/ITStracking/Configuration.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@ struct VertexingParameters {
100100
float finalSelectionZCut = -1.f;
101101
float duplicateDistance2Cut = -1.f;
102102
float tanLambdaCut = -1.f;
103-
float vertNsigmaCut = -1.f;
104-
float vertRadiusSigma = -1.f;
105-
float trackletSigma = -1.f;
103+
float NSigmaCut = -1;
106104
float maxZPositionAllowed = -1.f;
107105
int clusterContributorsCut = -1;
108106
int suppressLowMultDebris = -1;

Detectors/ITSMFT/ITS/tracking/include/ITStracking/TrackingConfigParam.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ struct VertexerParamConfig : public o2::conf::ConfigurableParamHelper<VertexerPa
3737
float finalSelectionZCut = 0.2932624f;
3838
float duplicateDistance2Cut = 0.0223001f;
3939
float tanLambdaCut = 0.002f; // tanLambda = deltaZ/deltaR
40-
float vertNsigmaCut = 5.8762583f; // N sigma cut for vertex XY
41-
float vertRadiusSigma = 0.0343575f; // sigma of vertex XY
42-
float trackletSigma = 0.0143798f; // tracklet to vertex sigma
40+
float nSigmaCut = 0.0479011f;
4341
float maxZPositionAllowed = 25.f; // 4x sZ of the beam
4442

4543
// Artefacts selections

Detectors/ITSMFT/ITS/tracking/src/Configuration.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ std::vector<VertexingParameters> TrackingMode::getVertexingParameters(TrackingMo
248248
p.PrintMemory = vc.printMemory;
249249
p.MaxMemory = vc.maxMemory;
250250
p.DropTFUponFailure = vc.dropTFUponFailure;
251-
p.trackletSigma = vc.trackletSigma;
251+
p.NSigmaCut = vc.nSigmaCut;
252252
p.maxZPositionAllowed = vc.maxZPositionAllowed;
253253
p.clusterContributorsCut = vc.clusterContributorsCut;
254254
p.suppressLowMultDebris = vc.suppressLowMultDebris;
@@ -259,8 +259,6 @@ std::vector<VertexingParameters> TrackingMode::getVertexingParameters(TrackingMo
259259
p.ZBins = vc.ZBins;
260260
p.PhiBins = vc.PhiBins;
261261
p.useTruthSeeding = vc.useTruthSeeding;
262-
p.vertNsigmaCut = vc.vertNsigmaCut;
263-
p.vertRadiusSigma = vc.vertRadiusSigma;
264262
p.maxTrackletsPerCluster = vc.maxTrackletsPerCluster;
265263
p.zCut = vc.zCut;
266264
p.phiCut = vc.phiCut;

Detectors/ITSMFT/ITS/tracking/src/VertexerTraits.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ void VertexerTraits<NLayers>::computeVertices(const int iteration)
330330
const int nRofs = mTimeFrame->getNrof(1);
331331
std::vector<std::vector<Vertex>> rofVertices(nRofs);
332332
std::vector<std::vector<VertexLabel>> rofLabels(nRofs);
333-
const float nsigmaCut = std::min(mVrtParams[iteration].vertNsigmaCut * mVrtParams[iteration].vertNsigmaCut * (mVrtParams[iteration].vertRadiusSigma * mVrtParams[iteration].vertRadiusSigma + mVrtParams[iteration].trackletSigma * mVrtParams[iteration].trackletSigma), 1.98f);
334333
const float pairCut2 = mVrtParams[iteration].pairCut * mVrtParams[iteration].pairCut;
335334
const float duplicateZCut = mVrtParams[iteration].duplicateZCut > 0.f ? mVrtParams[iteration].duplicateZCut : std::max(4.f * mVrtParams[iteration].pairCut, 0.5f * mVrtParams[iteration].clusterCut);
336335
const float duplicateDistance2Cut = mVrtParams[iteration].duplicateDistance2Cut > 0.f ? mVrtParams[iteration].duplicateDistance2Cut : std::max(16.f * pairCut2, 0.0625f * mVrtParams[iteration].clusterCut * mVrtParams[iteration].clusterCut);
@@ -511,7 +510,7 @@ void VertexerTraits<NLayers>::computeVertices(const int iteration)
511510
for (const auto sortedId : sortedIndices) {
512511
const auto& cluster = clusters[selectedIndices[sortedId]];
513512
const auto beamDistance2 = clusterBeamDistance2(cluster);
514-
if (!(beamDistance2 < nsigmaCut)) {
513+
if (!(beamDistance2 < mVrtParams[iteration].NSigmaCut)) {
515514
continue;
516515
}
517516
if (cluster.getSize() < mVrtParams[iteration].clusterContributorsCut) {

prodtests/full-system-test/dpl-workflow.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ EVE_OPT=" --jsons-folder $EDJSONS_DIR"
119119

120120
# ITS vertexing settings
121121
if [[ $BEAMTYPE == "pp" || $LIGHTNUCLEI == "1" ]]; then
122-
ITS_CONFIG_KEY+="ITSVertexerParam.phiCut=0.4;ITSVertexerParam.tanLambdaCut=0.17;ITSVertexerParam.pairCut=0.0317563;ITSVertexerParam.clusterCut=0.6640964;ITSVertexerParam.coarseZWindow=0.2049018;ITSVertexerParam.seedDedupZCut=0.0711793;ITSVertexerParam.refitDedupZCut=0.0680009;ITSVertexerParam.duplicateZCut=0.1582193;ITSVertexerParam.finalSelectionZCut=0.1081465;ITSVertexerParam.duplicateDistance2Cut=0.0117033;ITSVertexerParam.clusterContributorsCut=2;ITSVertexerParam.seedMemberRadiusZ=0;ITSVertexerParam.vertNsigmaCut=4.0;ITSVertexerParam.vertRadiusSigma=0.0452309;ITSVertexerParam.trackletSigma=0.0025941;ITSVertexerParam.suppressLowMultDebris=0;"
122+
ITS_CONFIG_KEY+="ITSVertexerParam.phiCut=0.4;ITSVertexerParam.tanLambdaCut=0.17;ITSVertexerParam.pairCut=0.0317563;ITSVertexerParam.clusterCut=0.6640964;ITSVertexerParam.coarseZWindow=0.2049018;ITSVertexerParam.seedDedupZCut=0.0711793;ITSVertexerParam.refitDedupZCut=0.0680009;ITSVertexerParam.duplicateZCut=0.1582193;ITSVertexerParam.finalSelectionZCut=0.1081465;ITSVertexerParam.duplicateDistance2Cut=0.0117033;ITSVertexerParam.clusterContributorsCut=2;ITSVertexerParam.seedMemberRadiusZ=0;ITSVertexerParam.nSigmaCut=0.032841;ITSVertexerParam.suppressLowMultDebris=0;"
123123
fi
124124

125125
if [[ $CTFINPUT != 1 ]]; then

0 commit comments

Comments
 (0)