From b3f8e1a37dab5b00b83ca3f2b4d038edea8748cb Mon Sep 17 00:00:00 2001
From: Nikiforos Nikiforou <Nikiforos.Nikiforou@cern.ch>
Date: Thu, 11 Feb 2016 08:01:05 +0000
Subject: [PATCH] Adding AUXILIARY in det types

---
 DDCore/include/DD4hep/DetType.h        | 6 +++++-
 DDDetectors/compact/detector_types.xml | 5 ++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/DDCore/include/DD4hep/DetType.h b/DDCore/include/DD4hep/DetType.h
index fbbdac0df..912ba8b5f 100644
--- a/DDCore/include/DD4hep/DetType.h
+++ b/DDCore/include/DD4hep/DetType.h
@@ -53,7 +53,9 @@ namespace DD4hep {
       MUON	   = 1 << 13, 
       SUPPORT      = 1 << 14,
       BEAMPIPE     = 1 << 15, 
-      COIL         = 1 << 16 
+      COIL         = 1 << 16,
+      AUXILIARY    = 1 << 16 
+
    } ;
     
 
@@ -114,6 +116,8 @@ namespace DD4hep {
     if( t.is( DetType::SUPPORT      ) ) os << "SUPPORT, " ;
     if( t.is( DetType::BEAMPIPE     ) ) os << "BEAMPIPE, " ;
     if( t.is( DetType::COIL         ) ) os << "COIL, " ;
+    if( t.is( DetType::AUXILIARY    ) ) os << "AUXILIARY, " ;
+
     return os ;
   }
 
diff --git a/DDDetectors/compact/detector_types.xml b/DDDetectors/compact/detector_types.xml
index f09b9f839..60a3d4f90 100644
--- a/DDDetectors/compact/detector_types.xml
+++ b/DDDetectors/compact/detector_types.xml
@@ -1,5 +1,4 @@
-<
-!--
+<!--
     define global constants with enums defined in 
     $DD4hepINSTALL/DDCore/include/DD4hep/DetType.h
     NB: if that file is changed this file needs to
@@ -25,7 +24,7 @@
   <constant name="DetType_SUPPORT"         value =  " 0x4000 "/>
   <constant name="DetType_BEAMPIPE"        value =  " 0x8000 "/>
   <constant name="DetType_COIL"            value =  " 0x10000 "/>
-  <!-- <constant name="DetType_bit_ 17 " value =  " 0x20000 "/> -->
+  <constant name="DetType_AUXILIARY"       value =  " 0x20000 "/>
   <!-- <constant name="DetType_bit_ 18 " value =  " 0x40000 "/> -->
   <!-- <constant name="DetType_bit_ 19 " value =  " 0x80000 "/> -->
   <!-- <constant name="DetType_bit_ 20 " value =  " 0x100000 "/> -->
-- 
GitLab