key4hep / key4hep-spack

A Spack recipe repository of Key4hep software.
10 stars 23 forks source link

Make `libMarlinKinfit.so` findable by ROOT #635

Closed Zehvogel closed 1 month ago

Zehvogel commented 1 month ago

i.e. add it to whatever environment variable so that it is picked up by

ROOT.gSystem.Load("libMarlinKinfit.so")

instead of having to do something like

ROOT.gInterpreter.Declare("R__ADD_LIBRARY_PATH(/cvmfs/sw-nightlies.hsf.org/key4hep/releases/2024-08-20/x86_64-almalinux9-gcc11.4.1-opt/marlinkinfit/0fb147401f1761282f28452704ff89a61bc331e5_develop-nycl3j/lib)")
ROOT.gInterpreter.Declare("R__LOAD_LIBRARY(libMarlinKinfit.so)")

this makes it possible to do kinematic fits with MarlinKinfit directly from ROOT (and therefore also from FCCAnalyses)