From bbc45564460bb8c8413654ac22524bc4ea39804c Mon Sep 17 00:00:00 2001
From: Dave Casper <dcasper@uci.edu>
Date: Wed, 5 Jul 2023 16:51:19 -0700
Subject: [PATCH] Expand the GeoModel and G4 world volumes

---
 .../GeoModel/GeoModelSvc/src/GeoModelSvc.cxx                | 2 +-
 .../G4Faser/G4FaserTools/python/G4GeometryToolConfig.py     | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/DetectorDescription/GeoModel/GeoModelSvc/src/GeoModelSvc.cxx b/DetectorDescription/GeoModel/GeoModelSvc/src/GeoModelSvc.cxx
index a1bf57b7f..6ba2dbc0b 100644
--- a/DetectorDescription/GeoModel/GeoModelSvc/src/GeoModelSvc.cxx
+++ b/DetectorDescription/GeoModel/GeoModelSvc/src/GeoModelSvc.cxx
@@ -281,7 +281,7 @@ StatusCode GeoModelSvc::geoInit()
 
   // Build the world node from which everything else will be suspended
   const GeoMaterial* air = theMaterialManager->getMaterial("std::Air");  
-  const GeoBox* worldBox = new GeoBox(1000*Gaudi::Units::cm,1000*Gaudi::Units::cm, 1000*Gaudi::Units::cm);
+  const GeoBox* worldBox = new GeoBox(6000*Gaudi::Units::cm,2500*Gaudi::Units::cm, 12000*Gaudi::Units::cm);
   const GeoLogVol* worldLog = new GeoLogVol("WorldLog", worldBox, air);
   GeoPhysVol *worldPhys=new GeoPhysVol(worldLog);
   
diff --git a/Simulation/G4Faser/G4FaserTools/python/G4GeometryToolConfig.py b/Simulation/G4Faser/G4FaserTools/python/G4GeometryToolConfig.py
index 4e6f59490..a98b46638 100644
--- a/Simulation/G4Faser/G4FaserTools/python/G4GeometryToolConfig.py
+++ b/Simulation/G4Faser/G4FaserTools/python/G4GeometryToolConfig.py
@@ -180,9 +180,9 @@ def FASEREnvelopeCfg(ConfigFlags, name="Faser", **kwargs):
     kwargs.setdefault("OffsetX", 0.0 * mm)
     kwargs.setdefault("OffsetY", 0.0 * mm)
     kwargs.setdefault("OffsetZ", 0.0 * mm)
-    kwargs.setdefault("dX", 600.0 * mm) 
-    kwargs.setdefault("dY", 600.0 * mm) 
-    kwargs.setdefault("dZ", 4000.0 * mm) 
+    kwargs.setdefault("dX", 6000.0 * mm) 
+    kwargs.setdefault("dY", 2500.0 * mm) 
+    kwargs.setdefault("dZ", 12000.0 * mm) 
 
     kwargs.setdefault("DetectorName", "Faser")
     SubDetectorList = result.popToolsAndMerge(generateSubDetectorList(ConfigFlags))
-- 
GitLab