Skip to content

Commit d4eae0d

Browse files
victor-gonzalezVictor
andauthored
[PWGCF] DptDpt - proper auto system type for track filtering (#12891)
Co-authored-by: Victor <victor@cern.ch>
1 parent a37e9cc commit d4eae0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGCF/TableProducer/dptDptFilter.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,9 +1199,9 @@ struct DptDptFilterTracks {
11991199
tpcExcluder.setCuts(pLowCut, pUpCut, nLowCut, nUpCut);
12001200

12011201
/* self configure system type and data type */
1202-
o2::framework::LabeledArray<std::string> tmpArray = {periodsOnSystemType[0], 11, 1, {SYSTEMNAME(0), SYSTEMNAME(1), SYSTEMNAME(2), SYSTEMNAME(3), SYSTEMNAME(4), SYSTEMNAME(5), SYSTEMNAME(6), SYSTEMNAME(7), SYSTEMNAME(8), SYSTEMNAME(9), SYSTEMNAME(10)}, {"Periods separated by commas"}};
1203-
getTaskOptionValue(initContext, "dpt-dpt-filter", "cfgSystem", tmpArray, false);
1204-
fSystem = getSystemType(tmpArray);
1202+
o2::framework::LabeledArray<std::string> tmpLabeledArray = {};
1203+
getTaskOptionValue(initContext, "dpt-dpt-filter", "cfgSystemForPeriod", tmpLabeledArray, false);
1204+
fSystem = getSystemType(tmpLabeledArray);
12051205
std::string tmpstr;
12061206
getTaskOptionValue(initContext, "dpt-dpt-filter", "cfgDataType", tmpstr, false);
12071207
fDataType = getDataType(tmpstr);

0 commit comments

Comments
 (0)