diff --git a/GPU/GPUTracking/Merger/GPUTPCGMTrackParam.cxx b/GPU/GPUTracking/Merger/GPUTPCGMTrackParam.cxx index 0adfae0aa1fbd..7baa3b7e11b4f 100644 --- a/GPU/GPUTracking/Merger/GPUTPCGMTrackParam.cxx +++ b/GPU/GPUTracking/Merger/GPUTPCGMTrackParam.cxx @@ -14,11 +14,6 @@ #define GPUCA_CADEBUG 0 #define DEBUG_SINGLE_TRACK -1 -#define EXTRACT_RESIDUALS 0 - -#if EXTRACT_RESIDUALS == 1 -#include "GPUROOTDump.h" -#endif #include "GPUTPCDef.h" #include "GPUTPCGMTrackParam.h" diff --git a/GPU/GPUTracking/qa/GPUQA.cxx b/GPU/GPUTracking/qa/GPUQA.cxx index cbeeb1076647f..b9d83a734df7d 100644 --- a/GPU/GPUTracking/qa/GPUQA.cxx +++ b/GPU/GPUTracking/qa/GPUQA.cxx @@ -2027,11 +2027,11 @@ int32_t GPUQA::DrawQAHistograms(TObjArray* qcout) } std::vector colorNums(COLORCOUNT); - if (!qcout) { + if (!(qcout || mConfig.writeRootFiles)) { [[maybe_unused]] static int32_t initColorsInitialized = initColors(); } for (int32_t i = 0; i < COLORCOUNT; i++) { - colorNums[i] = qcout ? defaultColorNums[i] : mColors[i]->GetNumber(); + colorNums[i] = (qcout || mConfig.writeRootFiles) ? defaultColorNums[i] : mColors[i]->GetNumber(); } bool mcAvail = mcPresent(); @@ -2288,7 +2288,7 @@ int32_t GPUQA::DrawQAHistograms(TObjArray* qcout) continue; } e->SetMarkerColor(kBlack); - e->SetLineColor(colorNums[(l == 2 ? (ConfigNumInputs * 2 + k) : (k * 2 + l)) % COLORCOUNT]); + e->SetLineColor(colorNums[(k * 3 + l) % COLORCOUNT]); e->GetHistogram()->GetYaxis()->SetRangeUser(-0.02, 1.02); e->Draw(k || l ? "same P" : "AP"); if (j == 0) {