diff --git a/GPU/GPUTracking/Definitions/GPUDef.h b/GPU/GPUTracking/Definitions/GPUDef.h index e1b34af55d62d..8ca361dd5003a 100644 --- a/GPU/GPUTracking/Definitions/GPUDef.h +++ b/GPU/GPUTracking/Definitions/GPUDef.h @@ -34,7 +34,7 @@ #define GPUPtr2(a, b) b #endif -#define GPUCA_EVDUMP_FILE "event_full" +#define GPUCA_EVDUMP_FILE "event" #ifdef GPUCA_GPUCODE #define CA_MAKE_SHARED_REF(vartype, varname, varglobal, varshared) const GPUsharedref() vartype& __restrict__ varname = varshared; diff --git a/GPU/GPUTracking/Standalone/Benchmark/standalone.cxx b/GPU/GPUTracking/Standalone/Benchmark/standalone.cxx index a624e1e55ed4b..ae02f9e9051c4 100644 --- a/GPU/GPUTracking/Standalone/Benchmark/standalone.cxx +++ b/GPU/GPUTracking/Standalone/Benchmark/standalone.cxx @@ -522,10 +522,9 @@ int32_t ReadEvent(int32_t n) if ((configStandalone.proc.runQA || configStandalone.eventDisplay) && !configStandalone.QA.noMC) { chainTracking->ForceInitQA(); chainTracking->GetQA()->UpdateChain(chainTracking); - if (chainTracking->GetQA()->ReadO2MCData((eventsDir + "mc." + std::to_string(n) + ".dump").c_str())) { - if (chainTracking->GetQA()->ReadO2MCData((eventsDir + "mc.0.dump").c_str()) && configStandalone.proc.runQA) { - throw std::runtime_error("Error reading O2 MC dump"); - } + if (chainTracking->GetQA()->ReadO2MCData((eventsDir + "mc." + std::to_string(n) + ".dump").c_str()) && + chainTracking->GetQA()->ReadO2MCData((eventsDir + "mc.0.dump").c_str()) && configStandalone.proc.runQA) { + throw std::runtime_error("Error reading O2 MC dump"); } } #endif @@ -817,6 +816,9 @@ int32_t main(int argc, char** argv) } nEvents = nEventsInDirectory; } + if (nEvents == 0 && !configStandalone.noEvents) { + printf("No event data found in event folder\n"); + } if (configStandalone.TF.nMerge > 1) { nEvents /= configStandalone.TF.nMerge; }