From f4a4bc7c42d4f4164bb3346269ee77212ebd6164 Mon Sep 17 00:00:00 2001
From: adrien-matta <a.matta@surrey.ac.uk>
Date: Wed, 23 Dec 2015 16:34:03 +0100
Subject: [PATCH] * fixing bug in npsimulation   -> DetectorClassList is now
 called ClassList

---
 NPSimulation/Core/DetectorConstruction.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NPSimulation/Core/DetectorConstruction.cc b/NPSimulation/Core/DetectorConstruction.cc
index 440af6411..d8ee276ab 100644
--- a/NPSimulation/Core/DetectorConstruction.cc
+++ b/NPSimulation/Core/DetectorConstruction.cc
@@ -143,7 +143,7 @@ G4VPhysicalVolume* DetectorConstruction::ReadConfigurationFile(){
   
   // Access the DetectorFactory and ask it to load the Class List
   std::string classlist = getenv("NPTOOL");
-  classlist += "/NPLib/DetectorClassList.txt";
+  classlist += "/NPLib/ClassList.txt";
   NPS::DetectorFactory* theFactory = NPS::DetectorFactory::getInstance();
   theFactory->ReadClassList(classlist);
 
-- 
GitLab