From 397a269d0f1669ddc12263ab8c28f524dea52f3c Mon Sep 17 00:00:00 2001 From: morfouace <pierre.morfouace@cea.fr> Date: Fri, 11 Oct 2024 14:39:26 +0200 Subject: [PATCH] Removing relative path in TExogamPhysics --- NPLib/Detectors/Exogam/TExogamPhysics.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NPLib/Detectors/Exogam/TExogamPhysics.cxx b/NPLib/Detectors/Exogam/TExogamPhysics.cxx index 26695bf7b..f2961ebb6 100644 --- a/NPLib/Detectors/Exogam/TExogamPhysics.cxx +++ b/NPLib/Detectors/Exogam/TExogamPhysics.cxx @@ -393,7 +393,7 @@ void TExogamPhysics::ReadAnalysisConfig() { // path to photon cross section - string CSFilename = "../../Inputs/PhotonCrossSection/CoherentGe.xcom"; + string CSFilename = string(getenv("NPTOOL")) + "/Inputs/PhotonCrossSection/CoherentGe.xcom"; string LineBuffer; ifstream CSFile; -- GitLab