Skip to content

Commit e425b51

Browse files
matthias-kleinerdavidrohr
authored andcommitted
renaming names for loading the topology correction
1 parent 824369e commit e425b51

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

GPU/GPUTracking/Definitions/GPUSettingsList.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,9 @@ AddOption(synchronousProcessing, bool, false, "", 0, "Apply performance shortcut
404404
AddOption(dump, int, 0, "", 0, "Dump events for standalone benchmark: 1 = dump events, 2 = dump events and skip processing in workflow")
405405
AddOption(display, bool, false, "", 0, "Enable standalone gpu tracking visualizaion")
406406
AddOption(rundEdx, int, -1, "", 0, "Enable/disable dEdx processing (-1 for autoselect)")
407-
AddOption(dEdxFile, std::string, "", "", 0, "File name of the dE/dx spline track topology correction file")
407+
AddOption(dEdxSplineTopologyCorrFile, std::string, "", "", 0, "File name of the dE/dx spline track topology correction file")
408408
AddOption(dEdxCorrFile, std::string, "", "", 0, "File name of dEdx residual correction file")
409-
AddOption(dEdxTopologyCorrFile, std::string, "", "", 0, "File name of the dE/dx polynomial track topology correction")
409+
AddOption(dEdxPolTopologyCorrFile, std::string, "", "", 0, "File name of the dE/dx polynomial track topology correction")
410410
AddOption(transformationFile, std::string, "", "", 0, "File name of TPC fast transformation map")
411411
AddOption(matLUTFile, std::string, "", "", 0, "File name of material LUT file")
412412
AddOption(gainCalibFile, std::string, "", "", 0, "File name of TPC pad gain calibration")

GPU/Workflow/src/GPUWorkflowSpec.cxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -252,14 +252,14 @@ DataProcessorSpec getGPURecoWorkflowSpec(gpuworkflow::CompletionPolicyData* poli
252252
}
253253

254254
// load from file
255-
if (!confParam.dEdxTopologyCorrFile.empty() || !confParam.dEdxCorrFile.empty() || !confParam.dEdxFile.empty()) {
255+
if (!confParam.dEdxPolTopologyCorrFile.empty() || !confParam.dEdxCorrFile.empty() || !confParam.dEdxSplineTopologyCorrFile.empty()) {
256256
processAttributes->dEdxCalibContainer.reset(new o2::tpc::CalibdEdxContainer());
257-
if (!confParam.dEdxTopologyCorrFile.empty()) {
258-
LOGP(info, "Loading dE/dx polynomial track topology correction from file: {}", confParam.dEdxTopologyCorrFile);
259-
processAttributes->dEdxCalibContainer->loadPolTopologyCorrectionFromFile(confParam.dEdxTopologyCorrFile);
260-
} else if (!confParam.dEdxFile.empty()) {
261-
LOGP(info, "Loading dE/dx spline track topology correction from file: {}", confParam.dEdxFile);
262-
processAttributes->dEdxCalibContainer->loadSplineTopologyCorrectionFromFile(confParam.dEdxFile);
257+
if (!confParam.dEdxPolTopologyCorrFile.empty()) {
258+
LOGP(info, "Loading dE/dx polynomial track topology correction from file: {}", confParam.dEdxPolTopologyCorrFile);
259+
processAttributes->dEdxCalibContainer->loadPolTopologyCorrectionFromFile(confParam.dEdxPolTopologyCorrFile);
260+
} else if (!confParam.dEdxSplineTopologyCorrFile.empty()) {
261+
LOGP(info, "Loading dE/dx spline track topology correction from file: {}", confParam.dEdxSplineTopologyCorrFile);
262+
processAttributes->dEdxCalibContainer->loadSplineTopologyCorrectionFromFile(confParam.dEdxSplineTopologyCorrFile);
263263
}
264264
if (!confParam.dEdxCorrFile.empty()) {
265265
LOGP(info, "Loading dEdx correction from file: {}", confParam.dEdxCorrFile);

0 commit comments

Comments
 (0)