Skip to content

Commit 5ec0da3

Browse files
Felix Schlepperf3sch
authored andcommitted
ITS: GPU set correct inputspecs
1 parent 4926ad9 commit 5ec0da3

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

GPU/Workflow/src/GPUWorkflowSpec.cxx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,9 +1236,14 @@ Inputs GPURecoWorkflowSpec::inputs()
12361236
}
12371237

12381238
if (mSpecConfig.runITSTracking) {
1239-
inputs.emplace_back("compClusters", "ITS", "COMPCLUSTERS", 0, Lifetime::Timeframe);
1240-
inputs.emplace_back("patterns", "ITS", "PATTERNS", 0, Lifetime::Timeframe);
1241-
inputs.emplace_back("ROframes", "ITS", "CLUSTERSROF", 0, Lifetime::Timeframe);
1239+
for (uint32_t iLayer{0}; iLayer < 7; ++iLayer) {
1240+
inputs.emplace_back("compClusters", "ITS", "COMPCLUSTERS", iLayer, Lifetime::Timeframe);
1241+
inputs.emplace_back("patterns", "ITS", "PATTERNS", iLayer, Lifetime::Timeframe);
1242+
inputs.emplace_back("ROframes", "ITS", "CLUSTERSROF", iLayer, Lifetime::Timeframe);
1243+
if (mSpecConfig.processMC) {
1244+
inputs.emplace_back("itsmclabels", "ITS", "CLUSTERSMCTR", iLayer, Lifetime::Timeframe);
1245+
}
1246+
}
12421247
if (mSpecConfig.itsTriggerType == 1) {
12431248
inputs.emplace_back("phystrig", "ITS", "PHYSTRIG", 0, Lifetime::Timeframe);
12441249
} else if (mSpecConfig.itsTriggerType == 2) {
@@ -1256,10 +1261,6 @@ Inputs GPURecoWorkflowSpec::inputs()
12561261
inputs.emplace_back("meanvtx", "GLO", "MEANVERTEX", 0, Lifetime::Condition, ccdbParamSpec("GLO/Calib/MeanVertex", {}, 1));
12571262
}
12581263
}
1259-
if (mSpecConfig.processMC) {
1260-
inputs.emplace_back("itsmclabels", "ITS", "CLUSTERSMCTR", 0, Lifetime::Timeframe);
1261-
inputs.emplace_back("ITSMC2ROframes", "ITS", "CLUSTERSMC2ROF", 0, Lifetime::Timeframe);
1262-
}
12631264
}
12641265

12651266
return inputs;

0 commit comments

Comments
 (0)