We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 123b7a5 commit b9a0643Copy full SHA for b9a0643
ALICE3/TableProducer/OTF/onTheFlyTracker.cxx
@@ -312,8 +312,11 @@ struct OnTheFlyTracker {
312
// strip from leading/trailing spaces
313
lutFile.erase(0, lutFile.find_first_not_of(" "));
314
lutFile.erase(lutFile.find_last_not_of(" ") + 1);
315
+ if (lutFile.empty()) {
316
+ LOG(fatal) << "Empty LUT file passed for pdg " << pdg << ", if you don't want to use a LUT remove the entry from the JSON config.";
317
+ }
318
bool success = mSmearer[icfg]->loadTable(pdg, lutFile.c_str());
- if (!success && !lutFile.empty()) {
319
+ if (!success) {
320
LOG(fatal) << "Having issue with loading the LUT " << pdg << " " << lutFile;
321
}
322
0 commit comments