diff --git a/macro/tof/geometry/make_geofile.C b/macro/tof/geometry/make_geofile.C index ee8355fa6f93058bd14f3cba6cc81d8278214c71..71b21869f3ba1dbd5803c930e2aa39ccb58556c8 100644 --- a/macro/tof/geometry/make_geofile.C +++ b/macro/tof/geometry/make_geofile.C @@ -20,6 +20,11 @@ void make_geofile(TString stofGeom = "tof_v16a_1e") { TString outFile = outDir + "/auaumbias." + stofGeom + ".mc.root"; TString parFile = outDir + "/auaumbias." + stofGeom + ".params.root"; + // configuration + TString tut_configdir = inDir + "/sim/transport/gconfig"; + gSystem->Setenv("CONFIG_DIR", tut_configdir.Data()); + + // ----- Geometries ----------------------------------------------------- TString caveGeom = "cave.geo"; //TString targetGeom = "target_au_250mu.geo";