From 85073446091dd40bf7a1f288e8fa36b7a79137df Mon Sep 17 00:00:00 2001
From: Markus FRANK <Markus.Frank@cern.ch>
Date: Wed, 18 Nov 2020 18:47:20 +0100
Subject: [PATCH] Add copyright notice at head of files

---
 examples/AlignDet/compact/AlephTPC.xml             | 13 ++++++++++++-
 examples/AlignDet/compact/AlephTPC_alignment.xml   | 11 +++++++++++
 examples/AlignDet/compact/AlephTPC_reset.xml       | 11 +++++++++++
 examples/AlignDet/compact/AlephTPC_reset_all.xml   | 11 +++++++++++
 examples/AlignDet/compact/DDEveAlephTPC.xml        | 11 +++++++++++
 examples/AlignDet/compact/Telescope.xml            | 11 +++++++++++
 examples/AlignDet/compact/compact.xml              | 13 ++++++++++++-
 examples/AlignDet/drivers/BoxSegment.py            | 11 +++++++++++
 examples/AlignDet/drivers/Shelf.py                 | 11 +++++++++++
 examples/CLICSiD/compact/SiD_close.xml             | 14 ++++++++++++--
 examples/CLICSiD/compact/SiD_detectors_1.xml       | 14 ++++++++++++--
 examples/CLICSiD/compact/SiD_detectors_2.xml       | 14 ++++++++++++--
 examples/CLICSiD/compact/SiD_multiple_inputs.xml   | 14 ++++++++++++--
 examples/CLICSiD/eve/DDEve.xml                     | 11 +++++++++++
 examples/CLICSiD/scripts/CLICMagField.py           | 11 +++++++++++
 examples/CLICSiD/scripts/CLICPhysics.py            | 11 +++++++++++
 examples/CLICSiD/scripts/CLICRandom.py             | 11 +++++++++++
 examples/CLICSiD/scripts/CLICSiDScan.py            | 11 +++++++++++
 examples/CLICSiD/scripts/CLICSiD_LoadROOTGeo.py    | 11 +++++++++++
 examples/CLICSiD/scripts/CLICSid.py                | 11 +++++++++++
 examples/CLICSiD/scripts/CLIC_G4Gun.py             | 11 +++++++++++
 examples/CLICSiD/scripts/CLIC_G4hepmc.py           | 11 +++++++++++
 examples/CLICSiD/scripts/CLIC_GDML.py              | 11 +++++++++++
 examples/CLICSiD/scripts/testDDPython.py           | 11 +++++++++++
 examples/CLICSiD/sim/field.xml                     | 11 +++++++++++
 examples/CLICSiD/sim/physics.xml                   | 11 +++++++++++
 examples/CLICSiD/sim/sequences.xml                 | 13 +++++++++++--
 examples/ClientTests/eve/NestedBoxReflection.xml   | 12 ++++++++++++
 examples/ClientTests/scripts/BoxTrafos.C           |  6 +++++-
 examples/ClientTests/scripts/SiliconBlock.py       | 10 ++++++++++
 examples/ClientTests/scripts/Trap_DDFORHEP_5.C     | 10 ++++++++++
 .../ClientTests/src/LheD_tracker_BeamPipe_geo.cpp  |  7 +++++++
 .../src/LheD_tracker_SiVertexBarrel_geo.cpp        |  8 +++++++-
 examples/ClientTests/src/SectorBarrelCalorimeter.h | 10 ++++++++++
 .../Conditions/data/Modules_run-1000...2000.xml    | 13 +++++++++++--
 examples/Conditions/data/default_module.xml        | 13 +++++++++++--
 examples/Conditions/data/manager.xml               | 14 +++++++++++---
 examples/Conditions/data/repository.xml            | 14 +++++++++++---
 examples/Conditions/xml/Sequence_1.xml             | 11 +++++++++++
 examples/Conditions/xml/Sequence_2.xml             | 11 +++++++++++
 examples/Conditions/xml/SideB_conditions.xml       | 12 +++++++++++-
 examples/Conditions/xml/TPC.xml                    | 11 +++++++++++
 examples/Conditions/xml/TPC_alignment.xml          | 11 +++++++++++
 examples/Conditions/xml/TPC_run_123456.xml         | 11 +++++++++++
 examples/Conditions/xml/TPC_run_234567.xml         | 11 +++++++++++
 examples/Conditions/xml/TPC_run_563543.xml         | 11 +++++++++++
 examples/Conditions/xml/TPC_run_filler.xml         | 11 +++++++++++
 examples/Conditions/xml/examples.xml               | 12 ++++++++++++
 examples/Conditions/xml/plugins.xml                | 11 +++++++++++
 .../DDCAD/compact/Check_Shape_BHV_Boxing_Toes.xml  | 12 ++++++++++++
 examples/DDCAD/compact/Check_Shape_BLEND_HUMAN.xml | 12 ++++++++++++
 examples/DDCAD/compact/Check_Shape_COB_dwarf.xml   | 12 ++++++++++++
 .../DDCAD/compact/Check_Shape_Collada_duck.xml     | 12 ++++++++++++
 examples/DDCAD/compact/Check_Shape_MS3D_jeep.xml   | 12 ++++++++++++
 examples/DDCAD/compact/Check_Shape_OBJ_spider.xml  | 12 ++++++++++++
 examples/DDCAD/compact/Check_Shape_PLY_Wuson.xml   | 12 ++++++++++++
 examples/DDCAD/compact/Check_Shape_Test1.xml       | 12 ++++++++++++
 examples/DDCAD/compact/MultiShape_MS3D_jeep.xml    | 12 ++++++++++++
 examples/OpticalSurfaces/compact/OpNovice.xml      | 11 +++++++++++
 examples/OpticalSurfaces/compact/OpNovice_gdml.xml | 11 +++++++++++
 .../OpticalSurfaces/compact/ReadGDMLMatrices.xml   | 11 +++++++++++
 .../compact/ReadMaterialProperties.xml             | 11 +++++++++++
 .../compact/ReadOpticalSurfaces.xml                | 11 +++++++++++
 examples/OpticalSurfaces/scripts/OpNovice.py       |  9 +++++++++
 examples/OpticalSurfaces/scripts/OpNovice_GDML.py  | 11 +++++++++++
 65 files changed, 713 insertions(+), 25 deletions(-)

diff --git a/examples/AlignDet/compact/AlephTPC.xml b/examples/AlignDet/compact/AlephTPC.xml
index 06f003855..bcaa69844 100644
--- a/examples/AlignDet/compact/AlephTPC.xml
+++ b/examples/AlignDet/compact/AlephTPC.xml
@@ -1,5 +1,16 @@
 <lccdd>
-  
+ <!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
+ 
   <info name="Alignment_aleph_tpc"
 	title="Alignment test detector with ALPEH TPC like sectors"
 	author="Markus Frank"
diff --git a/examples/AlignDet/compact/AlephTPC_alignment.xml b/examples/AlignDet/compact/AlephTPC_alignment.xml
index 169cdfd44..41623abf8 100644
--- a/examples/AlignDet/compact/AlephTPC_alignment.xml
+++ b/examples/AlignDet/compact/AlephTPC_alignment.xml
@@ -1,4 +1,15 @@
 <global_alignment>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
   <debug value="true"/>
   <open_transaction/>
diff --git a/examples/AlignDet/compact/AlephTPC_reset.xml b/examples/AlignDet/compact/AlephTPC_reset.xml
index 0a87017bc..22bc263f8 100644
--- a/examples/AlignDet/compact/AlephTPC_reset.xml
+++ b/examples/AlignDet/compact/AlephTPC_reset.xml
@@ -1,4 +1,15 @@
 <global_alignment print="true">
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
   <open_transaction/>
   <subdetectors>
     <!--
diff --git a/examples/AlignDet/compact/AlephTPC_reset_all.xml b/examples/AlignDet/compact/AlephTPC_reset_all.xml
index a45fa86f0..0f675ce56 100644
--- a/examples/AlignDet/compact/AlephTPC_reset_all.xml
+++ b/examples/AlignDet/compact/AlephTPC_reset_all.xml
@@ -1,4 +1,15 @@
 <global_alignment print="true">
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
   <open_transaction/>
   <subdetectors>
     <!--
diff --git a/examples/AlignDet/compact/DDEveAlephTPC.xml b/examples/AlignDet/compact/DDEveAlephTPC.xml
index d6d82b078..82994976f 100644
--- a/examples/AlignDet/compact/DDEveAlephTPC.xml
+++ b/examples/AlignDet/compact/DDEveAlephTPC.xml
@@ -1,4 +1,15 @@
 <ddeve>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
   <view name="3D TPC" type="View3D" structure="true" sensitive="true">
     <detelement name="TPC" load_geo="5" show="5" alpha="0.5"/>
   </view>
diff --git a/examples/AlignDet/compact/Telescope.xml b/examples/AlignDet/compact/Telescope.xml
index 9cfc06104..50ba30a2b 100644
--- a/examples/AlignDet/compact/Telescope.xml
+++ b/examples/AlignDet/compact/Telescope.xml
@@ -1,4 +1,15 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
   <info name="TelescopeSensor"
     title="Simple emulation of the EU Telescope"
diff --git a/examples/AlignDet/compact/compact.xml b/examples/AlignDet/compact/compact.xml
index 8d3ab2c69..1e751bdc9 100644
--- a/examples/AlignDet/compact/compact.xml
+++ b/examples/AlignDet/compact/compact.xml
@@ -1,5 +1,16 @@
 <lccdd>
-  
+ <!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
+ 
   <info name="alignment_boxes"
 	title="Alignment test with 2 simple boxes"
 	author="Markus Frank"
diff --git a/examples/AlignDet/drivers/BoxSegment.py b/examples/AlignDet/drivers/BoxSegment.py
index d99da92bc..85b054a4b 100644
--- a/examples/AlignDet/drivers/BoxSegment.py
+++ b/examples/AlignDet/drivers/BoxSegment.py
@@ -1,3 +1,14 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
+#
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
+#
 from __future__ import absolute_import, unicode_literals
 
 
diff --git a/examples/AlignDet/drivers/Shelf.py b/examples/AlignDet/drivers/Shelf.py
index 2ee52f6f2..8a8dc6334 100644
--- a/examples/AlignDet/drivers/Shelf.py
+++ b/examples/AlignDet/drivers/Shelf.py
@@ -1,3 +1,14 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
+#
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
+#
 from __future__ import absolute_import, unicode_literals
 from ddsix.moves import range
 
diff --git a/examples/CLICSiD/compact/SiD_close.xml b/examples/CLICSiD/compact/SiD_close.xml
index 7ee820fd1..e7f279e96 100644
--- a/examples/CLICSiD/compact/SiD_close.xml
+++ b/examples/CLICSiD/compact/SiD_close.xml
@@ -1,3 +1,15 @@
+<lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 <!-- ====================================================================== -->
 <!--                                                                        -->
 <!--    XML description of the complete SiD tracker detector                -->
@@ -17,8 +29,6 @@
 <!--                                                                        -->
 <!-- ====================================================================== -->
 
-<lccdd>
-
   <geometry open="false" close="true"/>
 
 </lccdd>
diff --git a/examples/CLICSiD/compact/SiD_detectors_1.xml b/examples/CLICSiD/compact/SiD_detectors_1.xml
index fea5d7e76..57a93e221 100644
--- a/examples/CLICSiD/compact/SiD_detectors_1.xml
+++ b/examples/CLICSiD/compact/SiD_detectors_1.xml
@@ -1,3 +1,15 @@
+<lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 <!-- ====================================================================== -->
 <!--                                                                        -->
 <!--    XML description of the complete SiD tracker detector                -->
@@ -17,8 +29,6 @@
 <!--                                                                        -->
 <!-- ====================================================================== -->
 
-<lccdd>
-
   <geometry open="false" close="false"/>
 
   <comment>Tracking detectors</comment>
diff --git a/examples/CLICSiD/compact/SiD_detectors_2.xml b/examples/CLICSiD/compact/SiD_detectors_2.xml
index c6f126072..130154bea 100644
--- a/examples/CLICSiD/compact/SiD_detectors_2.xml
+++ b/examples/CLICSiD/compact/SiD_detectors_2.xml
@@ -1,3 +1,15 @@
+<lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 <!-- ====================================================================== -->
 <!--                                                                        -->
 <!--    XML description of the complete SiD tracker detector                -->
@@ -17,8 +29,6 @@
 <!--                                                                        -->
 <!-- ====================================================================== -->
 
-<lccdd>
-
   <geometry open="false" close="false"/>
 
   <comment>Beampipe</comment>
diff --git a/examples/CLICSiD/compact/SiD_multiple_inputs.xml b/examples/CLICSiD/compact/SiD_multiple_inputs.xml
index a5b2bc100..036661d88 100644
--- a/examples/CLICSiD/compact/SiD_multiple_inputs.xml
+++ b/examples/CLICSiD/compact/SiD_multiple_inputs.xml
@@ -1,3 +1,15 @@
+<lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 <!-- ====================================================================== -->
 <!--                                                                        -->
 <!--    XML description of the complete SiD tracker detector                -->
@@ -17,8 +29,6 @@
 <!--                                                                        -->
 <!-- ====================================================================== -->
 
-<lccdd>
-
   <geometry open="true" close="false"/>
 
   <info name="clic_sid_cdr"
diff --git a/examples/CLICSiD/eve/DDEve.xml b/examples/CLICSiD/eve/DDEve.xml
index 3592044e4..4a6795dbf 100644
--- a/examples/CLICSiD/eve/DDEve.xml
+++ b/examples/CLICSiD/eve/DDEve.xml
@@ -1,4 +1,15 @@
 <ddeve>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
   <display visLevel="7" loadLevel="1"/>
   <calodata name="Ecal" hits="EcalBarrelHits" towerH="80" emax="1000"
 	    n_eta="200" eta_min="-5" eta_max="5" 
diff --git a/examples/CLICSiD/scripts/CLICMagField.py b/examples/CLICSiD/scripts/CLICMagField.py
index 9ecbb664f..709df815b 100644
--- a/examples/CLICSiD/scripts/CLICMagField.py
+++ b/examples/CLICSiD/scripts/CLICMagField.py
@@ -1,3 +1,14 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
+#
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
+#
 """
    Subtest using CLICSid showing how to manipulate the magnetic field
 
diff --git a/examples/CLICSiD/scripts/CLICPhysics.py b/examples/CLICSiD/scripts/CLICPhysics.py
index 19bc03b35..d1ac2401e 100644
--- a/examples/CLICSiD/scripts/CLICPhysics.py
+++ b/examples/CLICSiD/scripts/CLICPhysics.py
@@ -1,3 +1,14 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
+#
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
+#
 """
    Subtest using CLICSid showing how to setup the Geant4 physics list
 
diff --git a/examples/CLICSiD/scripts/CLICRandom.py b/examples/CLICSiD/scripts/CLICRandom.py
index 54565d54b..9441234ad 100644
--- a/examples/CLICSiD/scripts/CLICRandom.py
+++ b/examples/CLICSiD/scripts/CLICRandom.py
@@ -1,3 +1,14 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
+#
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
+#
 """
    Subtest using CLICSid showing how to setup the random number generator
 
diff --git a/examples/CLICSiD/scripts/CLICSiDScan.py b/examples/CLICSiD/scripts/CLICSiDScan.py
index f80adfbc5..6c098c945 100644
--- a/examples/CLICSiD/scripts/CLICSiDScan.py
+++ b/examples/CLICSiD/scripts/CLICSiDScan.py
@@ -1,3 +1,14 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
+#
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
+#
 """
 
    Perform a material scan using Geant4 shotting geantinos
diff --git a/examples/CLICSiD/scripts/CLICSiD_LoadROOTGeo.py b/examples/CLICSiD/scripts/CLICSiD_LoadROOTGeo.py
index 3790fe740..25cc95fff 100644
--- a/examples/CLICSiD/scripts/CLICSiD_LoadROOTGeo.py
+++ b/examples/CLICSiD/scripts/CLICSiD_LoadROOTGeo.py
@@ -1,3 +1,14 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
+#
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
+#
 """
 
    Subtest using CLICSid showing the usage of the G4Particle gun using
diff --git a/examples/CLICSiD/scripts/CLICSid.py b/examples/CLICSiD/scripts/CLICSid.py
index 287e7c4e0..0fa1ead31 100644
--- a/examples/CLICSiD/scripts/CLICSid.py
+++ b/examples/CLICSiD/scripts/CLICSid.py
@@ -1,3 +1,14 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
+#
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
+#
 from __future__ import absolute_import, unicode_literals
 import sys
 import logging
diff --git a/examples/CLICSiD/scripts/CLIC_G4Gun.py b/examples/CLICSiD/scripts/CLIC_G4Gun.py
index 3a93118d6..c10543bbf 100644
--- a/examples/CLICSiD/scripts/CLIC_G4Gun.py
+++ b/examples/CLICSiD/scripts/CLIC_G4Gun.py
@@ -1,3 +1,14 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
+#
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
+#
 """
 
    Subtest using CLICSid showing the usage of the G4Particle gun using
diff --git a/examples/CLICSiD/scripts/CLIC_G4hepmc.py b/examples/CLICSiD/scripts/CLIC_G4hepmc.py
index dc8d8b7f1..352e118c5 100644
--- a/examples/CLICSiD/scripts/CLIC_G4hepmc.py
+++ b/examples/CLICSiD/scripts/CLIC_G4hepmc.py
@@ -1,3 +1,14 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
+#
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
+#
 """
 
    Subtest using CLICSid showing the usage the HEPMC file reader
diff --git a/examples/CLICSiD/scripts/CLIC_GDML.py b/examples/CLICSiD/scripts/CLIC_GDML.py
index fcd7327c0..827cbcd69 100644
--- a/examples/CLICSiD/scripts/CLIC_GDML.py
+++ b/examples/CLICSiD/scripts/CLIC_GDML.py
@@ -1,3 +1,14 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
+#
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
+#
 """
 
    Perform a material scan using Geant4 shotting geantinos
diff --git a/examples/CLICSiD/scripts/testDDPython.py b/examples/CLICSiD/scripts/testDDPython.py
index f38fcd637..518b2ce76 100644
--- a/examples/CLICSiD/scripts/testDDPython.py
+++ b/examples/CLICSiD/scripts/testDDPython.py
@@ -1,3 +1,14 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
+#
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
+#
 from __future__ import absolute_import, unicode_literals
 import traceback
 import sys
diff --git a/examples/CLICSiD/sim/field.xml b/examples/CLICSiD/sim/field.xml
index 3af2d9a14..251a6598c 100644
--- a/examples/CLICSiD/sim/field.xml
+++ b/examples/CLICSiD/sim/field.xml
@@ -1,5 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <geant4_setup>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
   <properties>
     <attributes name="geant4_field"
 		id="0"
diff --git a/examples/CLICSiD/sim/physics.xml b/examples/CLICSiD/sim/physics.xml
index d869f1911..e17738215 100644
--- a/examples/CLICSiD/sim/physics.xml
+++ b/examples/CLICSiD/sim/physics.xml
@@ -1,5 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <geant4_setup>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
   <!-- Definition of the physics list.
    
diff --git a/examples/CLICSiD/sim/sequences.xml b/examples/CLICSiD/sim/sequences.xml
index 139e852c7..b43871b46 100644
--- a/examples/CLICSiD/sim/sequences.xml
+++ b/examples/CLICSiD/sim/sequences.xml
@@ -1,7 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <geant4_setup>
-
-
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
   <!-- Kernel parameters  
        UI="UI" is default, 
diff --git a/examples/ClientTests/eve/NestedBoxReflection.xml b/examples/ClientTests/eve/NestedBoxReflection.xml
index 264df55ec..ec572141a 100644
--- a/examples/ClientTests/eve/NestedBoxReflection.xml
+++ b/examples/ClientTests/eve/NestedBoxReflection.xml
@@ -1,4 +1,16 @@
 <ddeve>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
+
   <display visLevel="7" loadLevel="3"/>
   <collection name="NestedBoxHits"     hits="PointSet"  color="kMagenta" size="0.3"  type="20"      threshold="1000*eV"/>
   <collectiona name="StartVertexPoints" hits="ParticleOrigin" color="kCyan"    size="2.3"  type="20"/>
diff --git a/examples/ClientTests/scripts/BoxTrafos.C b/examples/ClientTests/scripts/BoxTrafos.C
index f63d39370..0ca95c6ab 100644
--- a/examples/ClientTests/scripts/BoxTrafos.C
+++ b/examples/ClientTests/scripts/BoxTrafos.C
@@ -1,7 +1,11 @@
-// $Id: Geant4Hits.h 513 2013-04-05 14:31:53Z gaede $
 //====================================================================
 //  AIDA Detector description implementation
 //--------------------------------------------------------------------
+// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+// All rights reserved.
+//
+// For the licensing terms see $DD4hepINSTALL/LICENSE.
+// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
 //
 //  Author     : M.Frank
 //
diff --git a/examples/ClientTests/scripts/SiliconBlock.py b/examples/ClientTests/scripts/SiliconBlock.py
index 2f77739ea..1de592644 100644
--- a/examples/ClientTests/scripts/SiliconBlock.py
+++ b/examples/ClientTests/scripts/SiliconBlock.py
@@ -1,3 +1,13 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
+#
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
 #
 #
 from __future__ import absolute_import, unicode_literals
diff --git a/examples/ClientTests/scripts/Trap_DDFORHEP_5.C b/examples/ClientTests/scripts/Trap_DDFORHEP_5.C
index 205e962a6..e1cced8a8 100644
--- a/examples/ClientTests/scripts/Trap_DDFORHEP_5.C
+++ b/examples/ClientTests/scripts/Trap_DDFORHEP_5.C
@@ -1,3 +1,13 @@
+//==========================================================================
+//  AIDA Detector description implementation 
+//--------------------------------------------------------------------------
+// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+// All rights reserved.
+//
+// For the licensing terms see $DD4hepINSTALL/LICENSE.
+// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+//
+//==========================================================================
 #include "TGeoManager.h"
 #include "TGeoArb8.h"
 #include "TGeoVolume.h"
diff --git a/examples/ClientTests/src/LheD_tracker_BeamPipe_geo.cpp b/examples/ClientTests/src/LheD_tracker_BeamPipe_geo.cpp
index 7fc480a9a..dfc366174 100644
--- a/examples/ClientTests/src/LheD_tracker_BeamPipe_geo.cpp
+++ b/examples/ClientTests/src/LheD_tracker_BeamPipe_geo.cpp
@@ -1,5 +1,12 @@
 //====================================================================
 //  AIDA Detector description implementation 
+//--------------------------------------------------------------------------
+// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+// All rights reserved.
+//
+// For the licensing terms see $DD4hepINSTALL/LICENSE.
+// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+//
 //--------------------------------------------------------------------
 //
 //  Author     : M.Frank
diff --git a/examples/ClientTests/src/LheD_tracker_SiVertexBarrel_geo.cpp b/examples/ClientTests/src/LheD_tracker_SiVertexBarrel_geo.cpp
index 6acf7fe60..57afea1df 100644
--- a/examples/ClientTests/src/LheD_tracker_SiVertexBarrel_geo.cpp
+++ b/examples/ClientTests/src/LheD_tracker_SiVertexBarrel_geo.cpp
@@ -1,6 +1,12 @@
-// $Id: LheSiTrackerBarrel_geo.cpp 513 2013-04-05 14:31:53Z gaede $
 //====================================================================
 //  AIDA Detector description implementation 
+//--------------------------------------------------------------------------
+// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+// All rights reserved.
+//
+// For the licensing terms see $DD4hepINSTALL/LICENSE.
+// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+//
 //--------------------------------------------------------------------
 //
 //  Author     : M.Frank
diff --git a/examples/ClientTests/src/SectorBarrelCalorimeter.h b/examples/ClientTests/src/SectorBarrelCalorimeter.h
index 3d04886e7..a0f4854e1 100644
--- a/examples/ClientTests/src/SectorBarrelCalorimeter.h
+++ b/examples/ClientTests/src/SectorBarrelCalorimeter.h
@@ -1,3 +1,13 @@
+//==========================================================================
+//  AIDA Detector description implementation 
+//--------------------------------------------------------------------------
+// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+// All rights reserved.
+//
+// For the licensing terms see $DD4hepINSTALL/LICENSE.
+// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+//
+//==========================================================================
 /*
  * PolyhedralBarrelCalorimeter.h
  *
diff --git a/examples/Conditions/data/Modules_run-1000...2000.xml b/examples/Conditions/data/Modules_run-1000...2000.xml
index 6a2442937..c62518924 100644
--- a/examples/Conditions/data/Modules_run-1000...2000.xml
+++ b/examples/Conditions/data/Modules_run-1000...2000.xml
@@ -1,7 +1,16 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!--- Author  : Markus Frank -->
-<!--- Created : 2016-11-07   -->
 <conditions>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
   <detelement path="/world/Telescope">
     <alignment_delta>
diff --git a/examples/Conditions/data/default_module.xml b/examples/Conditions/data/default_module.xml
index 0517bb2b8..344676272 100644
--- a/examples/Conditions/data/default_module.xml
+++ b/examples/Conditions/data/default_module.xml
@@ -1,7 +1,16 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!--- Author  : Markus Frank -->
-<!--- Created : 2016-11-07   -->
 <conditions>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
     <value name="external_pressure" type="float" value="980*hPa"/>
     <value name="other_pressure" type="double">980*hPa</value>
diff --git a/examples/Conditions/data/manager.xml b/examples/Conditions/data/manager.xml
index 214bdc208..9ae39a3b2 100644
--- a/examples/Conditions/data/manager.xml
+++ b/examples/Conditions/data/manager.xml
@@ -1,8 +1,16 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!--- Author  : Markus Frank -->
-<!--- Created : 2016-11-07   -->
-
 <conditions>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
   <manager>
     <property name="PoolType"       value="DD4hep_ConditionsLinearPool"/>
     <property name="LoaderType"     value="DD4hep_Conditions_xml_Loader"/>
diff --git a/examples/Conditions/data/repository.xml b/examples/Conditions/data/repository.xml
index bc8179dac..639aa8884 100644
--- a/examples/Conditions/data/repository.xml
+++ b/examples/Conditions/data/repository.xml
@@ -1,8 +1,16 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!--- Author  : Markus Frank -->
-<!--- Created : 2016-11-07   -->
-
 <conditions>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
   <manager  ref="manager.xml"/>
   <repository>
     <iov validity="1000,2000#run" ref="Modules_run-1000...2000.xml"/>
diff --git a/examples/Conditions/xml/Sequence_1.xml b/examples/Conditions/xml/Sequence_1.xml
index aa0282c55..401130cd4 100644
--- a/examples/Conditions/xml/Sequence_1.xml
+++ b/examples/Conditions/xml/Sequence_1.xml
@@ -1,4 +1,15 @@
 <plugins>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
   <plugin name="DD4hep_XMLLoader">
     <arg value="file:../DD4hep.trunk/DDExamples/AlignDet/compact/AlephTPC.xml"/>
diff --git a/examples/Conditions/xml/Sequence_2.xml b/examples/Conditions/xml/Sequence_2.xml
index 047e1342b..07cc48b06 100644
--- a/examples/Conditions/xml/Sequence_2.xml
+++ b/examples/Conditions/xml/Sequence_2.xml
@@ -1,4 +1,15 @@
 <plugins>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
   <plugin name="DD4hep_XMLLoader">
     <arg value="file:../DD4hep.trunk/DDExamples/AlignDet/compact/AlephTPC.xml"/>
diff --git a/examples/Conditions/xml/SideB_conditions.xml b/examples/Conditions/xml/SideB_conditions.xml
index e6cc9e422..bd8026f76 100644
--- a/examples/Conditions/xml/SideB_conditions.xml
+++ b/examples/Conditions/xml/SideB_conditions.xml
@@ -1,5 +1,15 @@
-
 <conditions>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
   <detelement path="TPC/TPC_SideB" name="ambience" validity="1396887257,1396887257#epoch">
     <alignment   ref="SideB_aligments.xml" validity="563543#run"/>
     <temperature name="AmbientTemperature" value="20.9*kelvin"/>
diff --git a/examples/Conditions/xml/TPC.xml b/examples/Conditions/xml/TPC.xml
index fd5ca8aae..f011f41ec 100644
--- a/examples/Conditions/xml/TPC.xml
+++ b/examples/Conditions/xml/TPC.xml
@@ -1,4 +1,15 @@
 <conditions>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
   <detelement path="TPC" name="ambience"   validity="1396887257,1396887257#epoch">
     <temperature name="AmbientTemperature" value="20.9*kelvin"/>
     <pressure    name="ExternalPressure"   value="980*hPa"/>
diff --git a/examples/Conditions/xml/TPC_alignment.xml b/examples/Conditions/xml/TPC_alignment.xml
index ea1a295dc..c58157afb 100644
--- a/examples/Conditions/xml/TPC_alignment.xml
+++ b/examples/Conditions/xml/TPC_alignment.xml
@@ -1,4 +1,15 @@
 <alignment>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
   <open_transaction/>
   <subdetectors>
diff --git a/examples/Conditions/xml/TPC_run_123456.xml b/examples/Conditions/xml/TPC_run_123456.xml
index 07b353a70..805e852bf 100644
--- a/examples/Conditions/xml/TPC_run_123456.xml
+++ b/examples/Conditions/xml/TPC_run_123456.xml
@@ -1,4 +1,15 @@
 <conditions>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
   <detelement path="TPC" name="ambience">
     <alignment                       ref="TPC_Alignment.xml"        validity="123456#run"/>
     <alignment   path="TPC_SideA"    ref="TPC_SideA_Alignment.xml"  validity="123456#run"/>
diff --git a/examples/Conditions/xml/TPC_run_234567.xml b/examples/Conditions/xml/TPC_run_234567.xml
index f2579945b..dfc497d00 100644
--- a/examples/Conditions/xml/TPC_run_234567.xml
+++ b/examples/Conditions/xml/TPC_run_234567.xml
@@ -1,4 +1,15 @@
 <conditions>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
   <detelement path="TPC" name="ambience">
     <alignment                       ref="TPC_Alignment.xml"        validity="234567#run"/>
     <alignment   path="TPC_SideA"    ref="TPC_SideA_Alignment.xml"  validity="234567#run"/>
diff --git a/examples/Conditions/xml/TPC_run_563543.xml b/examples/Conditions/xml/TPC_run_563543.xml
index 0a6d9cfd8..cdd513409 100644
--- a/examples/Conditions/xml/TPC_run_563543.xml
+++ b/examples/Conditions/xml/TPC_run_563543.xml
@@ -1,4 +1,15 @@
 <conditions>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
   <detelement path="TPC" name="ambience">
     <alignment                       ref="TPC_Alignment.xml"        validity="563543#run"/>
     <alignment   path="TPC_SideA"    ref="TPC_SideA_Alignment.xml"  validity="563543#run"/>
diff --git a/examples/Conditions/xml/TPC_run_filler.xml b/examples/Conditions/xml/TPC_run_filler.xml
index ed0f94b9f..7f2372d24 100644
--- a/examples/Conditions/xml/TPC_run_filler.xml
+++ b/examples/Conditions/xml/TPC_run_filler.xml
@@ -1,4 +1,15 @@
 <conditions>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
   <detelement path="TPC" name="ambience">
     <alignment                       ref="TPC_Alignment.xml"        validity="123457,234566#run"/>
     <alignment   path="TPC_SideA"    ref="TPC_SideA_Alignment.xml"  validity="123457,234566#run"/>
diff --git a/examples/Conditions/xml/examples.xml b/examples/Conditions/xml/examples.xml
index 15d2f3087..10e30bf60 100644
--- a/examples/Conditions/xml/examples.xml
+++ b/examples/Conditions/xml/examples.xml
@@ -1,4 +1,16 @@
 <conditions>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
+
   <open_transaction/>
   <detelement path="TPC" name="ambience" validity="1396887257,1396887257#epoch">
     <alignment   validity="563543#run"/>
diff --git a/examples/Conditions/xml/plugins.xml b/examples/Conditions/xml/plugins.xml
index 5e158f795..a921526d9 100644
--- a/examples/Conditions/xml/plugins.xml
+++ b/examples/Conditions/xml/plugins.xml
@@ -1,4 +1,15 @@
 <plugins>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
   <plugin name="DD4hep_XMLLoader">
     <arg value="file:../DD4hep.trunk/DDExamples/AlignDet/compact/AlephTPC.xml"/>
diff --git a/examples/DDCAD/compact/Check_Shape_BHV_Boxing_Toes.xml b/examples/DDCAD/compact/Check_Shape_BHV_Boxing_Toes.xml
index dfc82d6e8..30d7f72fb 100644
--- a/examples/DDCAD/compact/Check_Shape_BHV_Boxing_Toes.xml
+++ b/examples/DDCAD/compact/Check_Shape_BHV_Boxing_Toes.xml
@@ -1,4 +1,16 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
+
   <includes>
     <gdmlFile ref="../../ClientTests/compact/CheckShape.xml"/>
   </includes>
diff --git a/examples/DDCAD/compact/Check_Shape_BLEND_HUMAN.xml b/examples/DDCAD/compact/Check_Shape_BLEND_HUMAN.xml
index 478d5c1cc..778b079a2 100644
--- a/examples/DDCAD/compact/Check_Shape_BLEND_HUMAN.xml
+++ b/examples/DDCAD/compact/Check_Shape_BLEND_HUMAN.xml
@@ -1,4 +1,16 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
+
   <includes>
     <gdmlFile ref="../../ClientTests/compact/CheckShape.xml"/>
   </includes>
diff --git a/examples/DDCAD/compact/Check_Shape_COB_dwarf.xml b/examples/DDCAD/compact/Check_Shape_COB_dwarf.xml
index 8443d737e..d36915107 100644
--- a/examples/DDCAD/compact/Check_Shape_COB_dwarf.xml
+++ b/examples/DDCAD/compact/Check_Shape_COB_dwarf.xml
@@ -1,4 +1,16 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
+
   <includes>
     <gdmlFile ref="../../ClientTests/compact/CheckShape.xml"/>
   </includes>
diff --git a/examples/DDCAD/compact/Check_Shape_Collada_duck.xml b/examples/DDCAD/compact/Check_Shape_Collada_duck.xml
index b1a1aa8bd..315ed0786 100644
--- a/examples/DDCAD/compact/Check_Shape_Collada_duck.xml
+++ b/examples/DDCAD/compact/Check_Shape_Collada_duck.xml
@@ -1,4 +1,16 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
+
   <includes>
     <gdmlFile ref="../../ClientTests/compact/CheckShape.xml"/>
   </includes>
diff --git a/examples/DDCAD/compact/Check_Shape_MS3D_jeep.xml b/examples/DDCAD/compact/Check_Shape_MS3D_jeep.xml
index 5fd5ac794..e7a5c4830 100644
--- a/examples/DDCAD/compact/Check_Shape_MS3D_jeep.xml
+++ b/examples/DDCAD/compact/Check_Shape_MS3D_jeep.xml
@@ -1,4 +1,16 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
+
   <includes>
     <gdmlFile ref="../../ClientTests/compact/CheckShape.xml"/>
   </includes>
diff --git a/examples/DDCAD/compact/Check_Shape_OBJ_spider.xml b/examples/DDCAD/compact/Check_Shape_OBJ_spider.xml
index 6654a13f4..1845a97f9 100644
--- a/examples/DDCAD/compact/Check_Shape_OBJ_spider.xml
+++ b/examples/DDCAD/compact/Check_Shape_OBJ_spider.xml
@@ -1,4 +1,16 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
+
   <includes>
     <gdmlFile ref="../../ClientTests/compact/CheckShape.xml"/>
   </includes>
diff --git a/examples/DDCAD/compact/Check_Shape_PLY_Wuson.xml b/examples/DDCAD/compact/Check_Shape_PLY_Wuson.xml
index 5a820340d..4d1c92caf 100644
--- a/examples/DDCAD/compact/Check_Shape_PLY_Wuson.xml
+++ b/examples/DDCAD/compact/Check_Shape_PLY_Wuson.xml
@@ -1,4 +1,16 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
+
   <includes>
     <gdmlFile ref="../../ClientTests/compact/CheckShape.xml"/>
   </includes>
diff --git a/examples/DDCAD/compact/Check_Shape_Test1.xml b/examples/DDCAD/compact/Check_Shape_Test1.xml
index 6553694a2..fc8c7d1c6 100644
--- a/examples/DDCAD/compact/Check_Shape_Test1.xml
+++ b/examples/DDCAD/compact/Check_Shape_Test1.xml
@@ -1,4 +1,16 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
+
   <includes>
     <gdmlFile ref="../../ClientTests/compact/CheckShape.xml"/>
   </includes>
diff --git a/examples/DDCAD/compact/MultiShape_MS3D_jeep.xml b/examples/DDCAD/compact/MultiShape_MS3D_jeep.xml
index 5853f9842..1ad7727e7 100644
--- a/examples/DDCAD/compact/MultiShape_MS3D_jeep.xml
+++ b/examples/DDCAD/compact/MultiShape_MS3D_jeep.xml
@@ -1,4 +1,16 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
+
   <includes>
     <gdmlFile ref="../../ClientTests/compact/CheckShape.xml"/>
   </includes>
diff --git a/examples/OpticalSurfaces/compact/OpNovice.xml b/examples/OpticalSurfaces/compact/OpNovice.xml
index a69d13301..da2dbf92f 100644
--- a/examples/OpticalSurfaces/compact/OpNovice.xml
+++ b/examples/OpticalSurfaces/compact/OpNovice.xml
@@ -1,4 +1,15 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
   <info name="TestMaterialProperties"
     title="Test reading of TGeo's Material Properties"
diff --git a/examples/OpticalSurfaces/compact/OpNovice_gdml.xml b/examples/OpticalSurfaces/compact/OpNovice_gdml.xml
index 3d4540cfc..46a627151 100644
--- a/examples/OpticalSurfaces/compact/OpNovice_gdml.xml
+++ b/examples/OpticalSurfaces/compact/OpNovice_gdml.xml
@@ -1,4 +1,15 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
   <info name="gdml_import_test"
         title="GDML import test"
diff --git a/examples/OpticalSurfaces/compact/ReadGDMLMatrices.xml b/examples/OpticalSurfaces/compact/ReadGDMLMatrices.xml
index 0f655971b..643539a20 100644
--- a/examples/OpticalSurfaces/compact/ReadGDMLMatrices.xml
+++ b/examples/OpticalSurfaces/compact/ReadGDMLMatrices.xml
@@ -1,4 +1,15 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
   <info name="TestGDMLMatrices"
     title="Test reading of TGeo's GDML matrices"
diff --git a/examples/OpticalSurfaces/compact/ReadMaterialProperties.xml b/examples/OpticalSurfaces/compact/ReadMaterialProperties.xml
index b6f5f3b71..481291d10 100644
--- a/examples/OpticalSurfaces/compact/ReadMaterialProperties.xml
+++ b/examples/OpticalSurfaces/compact/ReadMaterialProperties.xml
@@ -1,4 +1,15 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
   <info name="TestMaterialProperties"
     title="Test reading of TGeo's Material Properties"
diff --git a/examples/OpticalSurfaces/compact/ReadOpticalSurfaces.xml b/examples/OpticalSurfaces/compact/ReadOpticalSurfaces.xml
index f6863da19..7658c6f9a 100644
--- a/examples/OpticalSurfaces/compact/ReadOpticalSurfaces.xml
+++ b/examples/OpticalSurfaces/compact/ReadOpticalSurfaces.xml
@@ -1,4 +1,15 @@
 <lccdd>
+<!-- #==========================================================================
+     #  AIDA Detector description implementation 
+     #==========================================================================
+     # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+     # All rights reserved.
+     #
+     # For the licensing terms see $DD4hepINSTALL/LICENSE.
+     # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+     #
+     #==========================================================================
+-->
 
   <info name="TestOpticalSurfaces"
     title="Test reading of TGeo's Optical Surfaces"
diff --git a/examples/OpticalSurfaces/scripts/OpNovice.py b/examples/OpticalSurfaces/scripts/OpNovice.py
index e4f6ee836..1af4166f2 100644
--- a/examples/OpticalSurfaces/scripts/OpNovice.py
+++ b/examples/OpticalSurfaces/scripts/OpNovice.py
@@ -1,4 +1,13 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
 #
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
 #
 from __future__ import absolute_import, unicode_literals
 import os
diff --git a/examples/OpticalSurfaces/scripts/OpNovice_GDML.py b/examples/OpticalSurfaces/scripts/OpNovice_GDML.py
index 881f851e1..519acfbcc 100644
--- a/examples/OpticalSurfaces/scripts/OpNovice_GDML.py
+++ b/examples/OpticalSurfaces/scripts/OpNovice_GDML.py
@@ -1,3 +1,14 @@
+# ==========================================================================
+#  AIDA Detector description implementation
+# --------------------------------------------------------------------------
+# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
+# All rights reserved.
+#
+# For the licensing terms see $DD4hepINSTALL/LICENSE.
+# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
+#
+# ==========================================================================
+#
 """
 
    Perform a material scan using Geant4 shotting geantinos
-- 
GitLab