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 3a63feb commit d6dcd94Copy full SHA for d6dcd94
MC/config/common/external/generator/TPCLoopers.C
@@ -403,7 +403,13 @@ FairGenerator *
403
const std::array<bool, 2> isCCDB = {models[0].starts_with("ccdb:"), models[1].starts_with("ccdb:")};
404
if (std::any_of(isAlien.begin(), isAlien.end(), [](bool v) { return v; }))
405
{
406
- TGrid::Connect("alien://");
+ if (!gGrid) {
407
+ TGrid::Connect("alien://");
408
409
+ LOG(fatal) << "AliEn connection failed, check token.";
410
+ exit(1);
411
+ }
412
413
for (size_t i = 0; i < models.size(); ++i)
414
415
if (isAlien[i] && !TFile::Cp(models[i].c_str(), local_names[i].c_str()))
0 commit comments