57 auto status = gSystem->Load(
"libflukavmc");
58 if (status == 0 || status == 1) {
60 auto fluka = o2::conf::GetFromMacro<TVirtualMC*>(
"$O2_ROOT/share/Detectors/gconfig/FlukaRuntimeConfig.macro",
"FlukaRuntimeConfig()",
"TVirtualMC*",
"foo");
61 stackSetup(fluka, run);
64 LOG(error) <<
"FLUKA is not available in the runtime environment";
65 LOG(error) <<
"Please compile and load by including FLUKA_VMC/latest in the alienv package list";
66 LOG(fatal) <<
"Quitting here due to FLUKA_VMC not being available";