From d85269fdc6942bc77a8a2281a04fb5f7320182ef Mon Sep 17 00:00:00 2001
From: Frank Gaede <frank.gaede@desy.de>
Date: Tue, 9 Feb 2016 10:19:10 +0000
Subject: [PATCH]  - added BEAMPIPE and COIL to DetType

---
 DDCore/include/DD4hep/DetType.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/DDCore/include/DD4hep/DetType.h b/DDCore/include/DD4hep/DetType.h
index ddcbbe679..fbbdac0df 100644
--- a/DDCore/include/DD4hep/DetType.h
+++ b/DDCore/include/DD4hep/DetType.h
@@ -51,8 +51,10 @@ namespace DD4hep {
       ELECTROMAGNETIC = 1 << 11, 
       HADRONIC	   = 1 << 12, 
       MUON	   = 1 << 13, 
-      SUPPORT      = 1 << 14
-    } ;
+      SUPPORT      = 1 << 14,
+      BEAMPIPE     = 1 << 15, 
+      COIL         = 1 << 16 
+   } ;
     
 
     /// default c'tor
@@ -110,6 +112,8 @@ namespace DD4hep {
     if( t.is( DetType::HADRONIC	    ) ) os << "HADRONIC, " ;
     if( t.is( DetType::MUON	    ) ) os << "MUON, " ;
     if( t.is( DetType::SUPPORT      ) ) os << "SUPPORT, " ;
+    if( t.is( DetType::BEAMPIPE     ) ) os << "BEAMPIPE, " ;
+    if( t.is( DetType::COIL         ) ) os << "COIL, " ;
     return os ;
   }
 
-- 
GitLab