16#include <fairlogger/Logger.h>
20#include "../commonConfig.C"
34 gSystem->Exec(
"ln -s $FLUKADATA/neuxsc.bin .");
35 gSystem->Exec(
"ln -s $FLUKADATA/elasct.bin .");
36 gSystem->Exec(
"ln -s $FLUKADATA/gxsect.bin .");
37 gSystem->Exec(
"ln -s $FLUKADATA/nuclear.bin .");
38 gSystem->Exec(
"ln -s $FLUKADATA/sigmapi.bin .");
39 gSystem->Exec(
"ln -s $FLUKADATA/brems_fin.bin .");
40 gSystem->Exec(
"ln -s $FLUKADATA/cohff.bin .");
41 gSystem->Exec(
"ln -s $FLUKADATA/fluodt.dat .");
42 gSystem->Exec(
"ln -s $FLUKADATA/random.dat .");
43 gSystem->Exec(
"ln -s $FLUKADATA/dnr.dat .");
44 gSystem->Exec(
"ln -s $FLUKADATA/nunstab.data .");
45 gSystem->Exec(
"ln -s $FLUKADATA/neutron .");
47 gSystem->Exec(
"ln -s fluka.out fort.11");
48 gSystem->Exec(
"ln -s fluka.err fort.15");
49 gSystem->Exec(
"ln -fs $O2_ROOT/share/Detectors/gconfig/data/coreFlukaVmc.inp .");
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";
73 LOG(info) <<
"Setting up FLUKA sim from library code";
Definition of the Stack class.
char error[CURL_ERROR_SIZE]
static FairRunSim * Instance()
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"