From 98f0c5de81f743343dc82ae1bcc2e1f7c65411e0 Mon Sep 17 00:00:00 2001 From: sophieMu2e Date: Wed, 21 Jul 2021 10:44:19 -0500 Subject: [PATCH 1/4] added config --- TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMainWindow.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMainWindow.h b/TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMainWindow.h index 2a411b671c..cf178003da 100644 --- a/TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMainWindow.h +++ b/TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMainWindow.h @@ -46,6 +46,8 @@ #include "art/Framework/Principal/Run.h" #include "ConfigTools/inc/SimpleConfig.hh" #include "GeometryService/inc/GeomHandle.hh" +#include "Offline/ConfigTools/inc/ConfigFileLookupPolicy.hh" + //...TEveMu2e #include "TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eHit.h" #include "TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eCluster.h" From 12480921d62d1b539a89170d3c43c3f2e35d4f1e Mon Sep 17 00:00:00 2001 From: sophieMu2e Date: Wed, 21 Jul 2021 10:44:30 -0500 Subject: [PATCH 2/4] added path to find file --- TEveEventDisplay/src/TEveMu2eMainWindow.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/TEveEventDisplay/src/TEveMu2eMainWindow.cc b/TEveEventDisplay/src/TEveMu2eMainWindow.cc index b1a1caee63..ccb10cbce1 100644 --- a/TEveEventDisplay/src/TEveMu2eMainWindow.cc +++ b/TEveEventDisplay/src/TEveMu2eMainWindow.cc @@ -546,8 +546,9 @@ namespace mu2e{ gEve->GetGlobalScene()->DestroyElements(); // Import the GDML of entire Mu2e Geometry - geom = mu2e_geom->Geom_Interface::getGeom("TEveEventDisplay/src/fix.gdml"); - + std::string fn = configFile("Offline/TEveEventDisplay/src/fix.gdml"); + geom = mu2e_geom->Geom_Interface::getGeom(fn); + //Get Top Volume TGeoVolume* topvol = geom->GetTopVolume(); From 62d751fd631b1961ec03382214ecd1d5e0ddf2c4 Mon Sep 17 00:00:00 2001 From: Sophie Middleton Date: Fri, 23 Jul 2021 17:20:45 -0500 Subject: [PATCH 3/4] Update TEveMu2eMainWindow.h --- TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMainWindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMainWindow.h b/TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMainWindow.h index 9344b83830..033c9a2f3f 100644 --- a/TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMainWindow.h +++ b/TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMainWindow.h @@ -48,7 +48,7 @@ #include "Offline/ConfigTools/inc/SimpleConfig.hh" #include "Offline/GeometryService/inc/GeomHandle.hh" //...TEveMu2e -#include "Offline/ConfigTools/inc/ConfigFileLookupPolicy.hh" + #include "Offline/TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eHit.h" #include "Offline/TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eCluster.h" #include "Offline/TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eCustomHelix.h" From 4941f91452382ba6328be733dd71f3303e73d0c3 Mon Sep 17 00:00:00 2001 From: Sophie Middleton Date: Fri, 23 Jul 2021 17:21:00 -0500 Subject: [PATCH 4/4] Update TEveMu2eMainWindow.cc --- TEveEventDisplay/src/TEveMu2eMainWindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TEveEventDisplay/src/TEveMu2eMainWindow.cc b/TEveEventDisplay/src/TEveMu2eMainWindow.cc index e86b358753..1af222ccb4 100644 --- a/TEveEventDisplay/src/TEveMu2eMainWindow.cc +++ b/TEveEventDisplay/src/TEveMu2eMainWindow.cc @@ -1,6 +1,6 @@ //TEveMu2e: #include "Offline/TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMainWindow.h" - +#include "Offline/ConfigTools/inc/ConfigFileLookupPolicy.hh" namespace fhicl { class ParameterSet;