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