From 449f4d49fd678d4cc70c76f88305b9b20e1f1bf2 Mon Sep 17 00:00:00 2001
From: Marko Petric <marko.petric@cern.ch>
Date: Fri, 25 Sep 2020 13:11:56 +0200
Subject: [PATCH] Add to Trap dZ accessor inherited via TGeoArb8

---
 DDCore/include/DD4hep/Shapes.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/DDCore/include/DD4hep/Shapes.h b/DDCore/include/DD4hep/Shapes.h
index ea15319c1..cbadf8d87 100644
--- a/DDCore/include/DD4hep/Shapes.h
+++ b/DDCore/include/DD4hep/Shapes.h
@@ -982,6 +982,8 @@ namespace dd4hep {
     double high1()  const                  { return access()->GetH1();                 }
     /// Half length in y at high z
     double high2()  const                  { return access()->GetH2();                 }
+    /// Half length in dZ
+    double dZ()  const                     { return access()->GetDz();                 }
   };
 
   /// Class describing a pseudo trap shape (CMS'ism)
-- 
GitLab