From 203ededbef4c4b667ededb007680be5bf2dd570e Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wouter.deconinck@umanitoba.ca>
Date: Thu, 14 Oct 2021 01:03:19 +0000
Subject: [PATCH] Address "Detector         WARN  +++ Object 'EcalEndcapP_rmax'
 is already defined. New value will be ignored"

---
 compact/ecal_forward_homogenous.xml | 1 -
 compact/ecal_forward_scfi.xml       | 1 -
 compact/ecal_forward_shashlik.xml   | 1 -
 3 files changed, 3 deletions(-)

diff --git a/compact/ecal_forward_homogenous.xml b/compact/ecal_forward_homogenous.xml
index 783fb26e..c7037edf 100644
--- a/compact/ecal_forward_homogenous.xml
+++ b/compact/ecal_forward_homogenous.xml
@@ -4,7 +4,6 @@
   </comment>
 
   <define>
-    <constant name="EcalEndcapP_rmax" value="Solenoid_rmax"/>
     <constant name="EcalEndcapP_FiberRadius" value="0.235*cm"/>
     <constant name="EcalEndcapP_FiberOffset" value="0.5*mm"/>
     <constant name="EcalEndcapP_FiberSpaceX" value="0.265*mm"/>
diff --git a/compact/ecal_forward_scfi.xml b/compact/ecal_forward_scfi.xml
index e0ed0ba6..cbc3b0b0 100644
--- a/compact/ecal_forward_scfi.xml
+++ b/compact/ecal_forward_scfi.xml
@@ -1,6 +1,5 @@
 <lccdd>
   <define>
-    <constant name="EcalEndcapP_rmax" value="Solenoid_rmax"/>
     <constant name="EcalEndcapP_FiberRadius" value="0.235*cm"/>
     <constant name="EcalEndcapP_FiberOffset" value="0.5*mm"/>
     <constant name="EcalEndcapP_FiberSpaceX" value="0.265*mm"/>
diff --git a/compact/ecal_forward_shashlik.xml b/compact/ecal_forward_shashlik.xml
index 171c59a4..6b5173a3 100644
--- a/compact/ecal_forward_shashlik.xml
+++ b/compact/ecal_forward_shashlik.xml
@@ -1,6 +1,5 @@
 <lccdd>
   <define>
-    <constant name="EcalEndcapP_rmax" value="Solenoid_rmax "/>
   </define>
 
 
-- 
GitLab