Skip to content

Commit 16a2ab4

Browse files
authored
Add files via upload
1 parent 6743c02 commit 16a2ab4

1 file changed

Lines changed: 33 additions & 11 deletions

File tree

PWGCF/Flow/Tasks/flowGfwOmegaXi.cxx

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ struct FlowGfwOmegaXi {
168168
O2_DEFINE_CONFIGURABLE(cfgCutDCAz, float, 2.0f, "Maximal DCAz for tracks")
169169
O2_DEFINE_CONFIGURABLE(cfgCutDCAxy, float, 0.1f, "Maximal DCAxy for tracks")
170170
// track quality selections for daughter track
171-
O2_DEFINE_CONFIGURABLE(cfgITSNCls, int, 3, "check minimum number of ITS clusters")
171+
O2_DEFINE_CONFIGURABLE(cfgMaxITSNCls, int, 5, "check minimum number of ITS clusters")
172+
O2_DEFINE_CONFIGURABLE(cfgMinITSNCls, int, 0, "check minimum number of ITS clusters")
172173
O2_DEFINE_CONFIGURABLE(cfgChITSNCls, int, 5, "check minimum number of ITS clusters")
173174
O2_DEFINE_CONFIGURABLE(cfgTPCNCls, int, 50, "check minimum number of TPC hits")
174175
O2_DEFINE_CONFIGURABLE(cfgTPCCrossedRows, int, 70, "check minimum number of TPC crossed rows")
@@ -188,6 +189,7 @@ struct FlowGfwOmegaXi {
188189
O2_DEFINE_CONFIGURABLE(cfgDoZResAndNumContribCut, bool, true, "check kNoTimeFrameBorder")
189190
O2_DEFINE_CONFIGURABLE(cfgDoMultPVCut, bool, true, "do multNTracksPV vs cent cut")
190191
O2_DEFINE_CONFIGURABLE(cfgMultPVCut, std::vector<float>, (std::vector<float>{3074.43, -106.192, 1.46176, -0.00968364, 2.61923e-05, 182.128, -7.43492, 0.193901, -0.00256715, 1.22594e-05}), "Used MultPVCut function parameter")
192+
// O2_DEFINE_CONFIGURABLE(cfgMultPVCut, std::vector<float>, (std::vector<float>{3074.43, -106.192, 1.46176, -0.00968364, 2.61923e-05, 182.128, -7.43492, 0.193901, -0.00256715, 1.22594e-05}), "Used MultPVCut function parameter")
191193
O2_DEFINE_CONFIGURABLE(cfgDoV0AT0Acut, bool, true, "do V0A-T0A cut")
192194
O2_DEFINE_CONFIGURABLE(cfgCutminIR, float, -1, "cut min IR")
193195
O2_DEFINE_CONFIGURABLE(cfgCutmaxIR, float, -1, "cut max IR")
@@ -1260,9 +1262,13 @@ struct FlowGfwOmegaXi {
12601262
if (!isK0s && !isLambda && !isALambda)
12611263
continue;
12621264
// track quality check
1263-
if (v0posdau.itsNCls() <= trkQualityOpts.cfgITSNCls.value)
1265+
if (v0posdau.itsNCls() >= trkQualityOpts.cfgMaxITSNCls.value)
12641266
continue;
1265-
if (v0negdau.itsNCls() <= trkQualityOpts.cfgITSNCls.value)
1267+
if (v0negdau.itsNCls() >= trkQualityOpts.cfgMaxITSNCls.value)
1268+
continue;
1269+
if (v0posdau.itsNCls() <= trkQualityOpts.cfgMinITSNCls.value)
1270+
continue;
1271+
if (v0negdau.itsNCls() <= trkQualityOpts.cfgMinITSNCls.value)
12661272
continue;
12671273
if (v0posdau.tpcNClsFound() <= trkQualityOpts.cfgTPCNCls.value)
12681274
continue;
@@ -1556,11 +1562,17 @@ struct FlowGfwOmegaXi {
15561562
if (std::fabs(casc.mLambda() - o2::constants::physics::MassLambda0) > cascBuilderOpts.cfgcasc_mlambdawindow.value)
15571563
continue;
15581564
// track quality check
1559-
if (bachelor.itsNCls() <= trkQualityOpts.cfgITSNCls.value)
1565+
if (bachelor.itsNCls() <= trkQualityOpts.cfgMinITSNCls.value)
1566+
continue;
1567+
if (posdau.itsNCls() <= trkQualityOpts.cfgMinITSNCls.value)
1568+
continue;
1569+
if (negdau.itsNCls() <= trkQualityOpts.cfgMinITSNCls.value)
1570+
continue;
1571+
if (bachelor.itsNCls() >= trkQualityOpts.cfgMaxITSNCls.value)
15601572
continue;
1561-
if (posdau.itsNCls() <= trkQualityOpts.cfgITSNCls.value)
1573+
if (posdau.itsNCls() >= trkQualityOpts.cfgMaxITSNCls.value)
15621574
continue;
1563-
if (negdau.itsNCls() <= trkQualityOpts.cfgITSNCls.value)
1575+
if (negdau.itsNCls() >= trkQualityOpts.cfgMaxITSNCls.value)
15641576
continue;
15651577
if (bachelor.tpcNClsFound() <= trkQualityOpts.cfgTPCNCls.value)
15661578
continue;
@@ -1999,11 +2011,17 @@ struct FlowGfwOmegaXi {
19992011
}
20002012
}
20012013
// track quality check
2002-
if (bachelor.itsNCls() <= trkQualityOpts.cfgITSNCls.value)
2014+
if (bachelor.itsNCls() <= trkQualityOpts.cfgMinITSNCls.value)
20032015
continue;
2004-
if (posdau.itsNCls() <= trkQualityOpts.cfgITSNCls.value)
2016+
if (posdau.itsNCls() <= trkQualityOpts.cfgMinITSNCls.value)
20052017
continue;
2006-
if (negdau.itsNCls() <= trkQualityOpts.cfgITSNCls.value)
2018+
if (negdau.itsNCls() <= trkQualityOpts.cfgMinITSNCls.value)
2019+
continue;
2020+
if (bachelor.itsNCls() >= trkQualityOpts.cfgMaxITSNCls.value)
2021+
continue;
2022+
if (posdau.itsNCls() >= trkQualityOpts.cfgMaxITSNCls.value)
2023+
continue;
2024+
if (negdau.itsNCls() >= trkQualityOpts.cfgMaxITSNCls.value)
20072025
continue;
20082026
if (bachelor.tpcNClsFound() <= trkQualityOpts.cfgTPCNCls.value)
20092027
continue;
@@ -2184,9 +2202,13 @@ struct FlowGfwOmegaXi {
21842202
}
21852203
}
21862204
// // track quality check
2187-
if (v0posdau.itsNCls() <= trkQualityOpts.cfgITSNCls.value)
2205+
if (v0posdau.itsNCls() >= trkQualityOpts.cfgMaxITSNCls.value)
2206+
continue;
2207+
if (v0negdau.itsNCls() >= trkQualityOpts.cfgMaxITSNCls.value)
2208+
continue;
2209+
if (v0posdau.itsNCls() <= trkQualityOpts.cfgMinITSNCls.value)
21882210
continue;
2189-
if (v0negdau.itsNCls() <= trkQualityOpts.cfgITSNCls.value)
2211+
if (v0negdau.itsNCls() <= trkQualityOpts.cfgMinITSNCls.value)
21902212
continue;
21912213
if (v0posdau.tpcNClsFound() <= trkQualityOpts.cfgTPCNCls.value)
21922214
continue;

0 commit comments

Comments
 (0)