Skip to content

Commit 1c7cd94

Browse files
committed
GPU QA Standalone: By default write histograms to output root file in plots folder
1 parent 19a9a91 commit 1c7cd94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GPU/GPUTracking/Standalone/Benchmark/standalone.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ int32_t ReadConfiguration(int argc, char** argv)
197197
printf("Can only produce QA pdf output when input files are specified!\n");
198198
return 1;
199199
}
200+
if (configStandalone.QA.enableLocalOutput && !configStandalone.QA.inputHistogramsOnly && configStandalone.QA.output == "" && configStandalone.QA.plotsDir != "") {
201+
configStandalone.QA.output = configStandalone.QA.plotsDir + "/output.root";
202+
}
200203
if (configStandalone.QA.inputHistogramsOnly) {
201204
configStandalone.rundEdx = false;
202205
configStandalone.noEvents = true;

0 commit comments

Comments
 (0)