diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0ff3f5c8035ad1b1c1e61204ea369e6d4cbd07d7..407c41327bef08f803ae50ad22c9d552e81a973e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5)
 #---------------------------------------------------------------
 # Load macros and functions for Gaudi-based projects
diff --git a/PIDCalib/PIDPerfScripts/CMakeLists.txt b/PIDCalib/PIDPerfScripts/CMakeLists.txt
index 31fa739405ffd9d6f6413c9d05ce52b8962cc1fc..d2c447550f5bd92c858a0b44f47870e9dfcdb499 100644
--- a/PIDCalib/PIDPerfScripts/CMakeLists.txt
+++ b/PIDCalib/PIDPerfScripts/CMakeLists.txt
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 ################################################################################
 # Package: PIDPerfScripts
 ################################################################################
diff --git a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/Binning.py b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/Binning.py
index 93650d15ef86fa06609493e8189e98c644750091..44dd53840a2d0a56e8382cbd1ed70d20914d54cf 100644
--- a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/Binning.py
+++ b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/Binning.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import ROOT
 from PIDPerfScripts.Definitions import *
 
diff --git a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/DataFuncs.py b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/DataFuncs.py
index b748b4fad000c401d48c8c2936e085691eba3492..1292a70c3e914234f2164d68f0a1ef74f51c0ce7 100644
--- a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/DataFuncs.py
+++ b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/DataFuncs.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 import ROOT
 import sys
diff --git a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/Definitions.py b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/Definitions.py
index 67d060f058d7a26d7447353b001fe282135f3042..f5732f544bb6595a3790ba049d2dcbd9c04ef8aa 100644
--- a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/Definitions.py
+++ b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/Definitions.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 import re
diff --git a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/GetWGPFilesDirac.py b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/GetWGPFilesDirac.py
index 45663df7b5d67083acc39844fefe1749c4009247..9fce8a93c99b1510efb239dc86a140ed10fb3676 100644
--- a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/GetWGPFilesDirac.py
+++ b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/GetWGPFilesDirac.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 #Added BKK functionality for retrieving Run 2 WGP nTuples
 from DIRAC.Core.Base import Script
diff --git a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/OverrideCalibDataStore.py b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/OverrideCalibDataStore.py
index e22b5c330bb8ae48a1b262804b4458af3f0a528f..5c5eea0c360dcaca67f20455b0b2dc7395e1e638 100644
--- a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/OverrideCalibDataStore.py
+++ b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/OverrideCalibDataStore.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 
diff --git a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/PerfCalcFuncs.py b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/PerfCalcFuncs.py
index 5e8b0c02d406dfd4963ba8e28736b3188d706145..46cf376b465b72cc45336eb67cecfb73caf99533 100644
--- a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/PerfCalcFuncs.py
+++ b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/PerfCalcFuncs.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 
diff --git a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/PerfResults.py b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/PerfResults.py
index 0d817f03ef6bbb4ac380e334bce517b046f23e71..f6fc4ad0de38b656f691013512ba2f3a43e63af1 100644
--- a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/PerfResults.py
+++ b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/PerfResults.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from PIDPerfScripts.Definitions import *
 from PIDPerfScripts.Binning import *
diff --git a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/PlotFuncs.py b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/PlotFuncs.py
index 756b392c0d1f8669b0f8ba597762e48aff543df8..2aab70d981dddd2b724ef85e47b71d0eb5491a39 100644
--- a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/PlotFuncs.py
+++ b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/PlotFuncs.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 
diff --git a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/RunDictFuncs.py b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/RunDictFuncs.py
index d711a6546a6eca3f1eca8bd4da444a8fb40ed9ba..d756e3ce05c4bef7eb5f6797c0a76d521b75c825 100644
--- a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/RunDictFuncs.py
+++ b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/RunDictFuncs.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from PIDPerfScripts.Definitions import *
 from PIDPerfScripts import OverrideCalibDataStore
diff --git a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/StartScreen.py b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/StartScreen.py
index 162cc17b62ed329a3cb4d0a6583c8ea458e77c59..7959c998878b14a2eee606fbba6b8fece44a1f76 100644
--- a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/StartScreen.py
+++ b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/StartScreen.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 def start():
     print(' ')
diff --git a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/TupleDataset.py b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/TupleDataset.py
index 67e742cfc5620833513aa7da567494979dccdfec..a52736f5035b8828c0cbc19a42f98bd8007edeed 100644
--- a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/TupleDataset.py
+++ b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/TupleDataset.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 import ROOT
diff --git a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/__init__.py b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/__init__.py
index 7deafb59c4e8cca7ac40049065822ebb8f03e675..55fe85e489106eff30a0961214828734e9ace146 100644
--- a/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/__init__.py
+++ b/PIDCalib/PIDPerfScripts/python/PIDPerfScripts/__init__.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 """
 """
 from __future__ import print_function
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/Binning/MakeBinningScheme.py b/PIDCalib/PIDPerfScripts/scripts/python/Binning/MakeBinningScheme.py
index 83de3be956ee220fb4eaf91d335ee3e48df110f1..5d84b6eabcbac001eeada972ecdab7d9a400968f 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/Binning/MakeBinningScheme.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/Binning/MakeBinningScheme.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 
 from __future__ import print_function
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/BinningOptimizer/binningPID.py b/PIDCalib/PIDPerfScripts/scripts/python/BinningOptimizer/binningPID.py
index e4fc59d8f9401b3e7f2bae5f731722dee28749cb..2f33e476ee934cef974c5c76023369241457ca7e 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/BinningOptimizer/binningPID.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/BinningOptimizer/binningPID.py
@@ -1,4 +1,14 @@
 #!/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/CutOpt/CutOptimisation.py b/PIDCalib/PIDPerfScripts/scripts/python/CutOpt/CutOptimisation.py
index 5fa0891dddba6ffe794d52a461db73b47ecd07aa..75a9e4479c10b951d62fc3248328c615879f9777 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/CutOpt/CutOptimisation.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/CutOpt/CutOptimisation.py
@@ -1,4 +1,14 @@
 #!/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/CalibSampleSizeError.py b/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/CalibSampleSizeError.py
index 0582afca24d2076080bee00717449130c2623f6f..a239c5fbe184b61cb8a40632950b2bc03254c01b 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/CalibSampleSizeError.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/CalibSampleSizeError.py
@@ -1,4 +1,14 @@
 #!/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/CalibSampleSizeError_BetaFunc.py b/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/CalibSampleSizeError_BetaFunc.py
index fcf21951efa8224283cfd14718e0eff2405f2c36..31a597eb92a2a5da58b7f5a449992aa4e1a96e7a 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/CalibSampleSizeError_BetaFunc.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/CalibSampleSizeError_BetaFunc.py
@@ -1,4 +1,14 @@
 #!/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/CalibSampleSystematicError.py b/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/CalibSampleSystematicError.py
index b1291bb27a8caba963d79099e793dc521512f8c7..16e240b23417edad18ccadbe62c3f291077bbc80 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/CalibSampleSystematicError.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/CalibSampleSystematicError.py
@@ -1,4 +1,14 @@
 #!/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from PIDPerfScripts.StartScreen import *
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/MakePerfHistsRunRange.py b/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/MakePerfHistsRunRange.py
index ac0dde00f5fee69776800d9cb526d5bacb0ad401..30126b1f97949070dbcc571e30fc042b02710f97 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/MakePerfHistsRunRange.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/MakePerfHistsRunRange.py
@@ -1,4 +1,14 @@
 #!/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/PerformMultiTrackCalib.py b/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/PerformMultiTrackCalib.py
index 89dde9a067eb94ec88cd9bfebf33d0b6bd01b68a..38c64806f5424ba468cb50aabfe35c7d0f439aec 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/PerformMultiTrackCalib.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/PerformMultiTrackCalib.py
@@ -1,4 +1,14 @@
 #!/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/RefSampleSizeError.py b/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/RefSampleSizeError.py
index 676752e97e59b583bfe7aa0f52c8d68e25711f9f..392b7f8c63ba61d6f7dfe36807514cdeb93b3dcd 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/RefSampleSizeError.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/MultiTrack/RefSampleSizeError.py
@@ -1,4 +1,14 @@
 #!/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/OutputChecker/OutputHistogramChecker.py b/PIDCalib/PIDPerfScripts/scripts/python/OutputChecker/OutputHistogramChecker.py
index 5b6aa327cb8e908bcc73a5c30568edac2da18303..a81333aa6b69bb6859ef7cf8ef1596cee5b12004 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/OutputChecker/OutputHistogramChecker.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/OutputChecker/OutputHistogramChecker.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 
 from __future__ import print_function
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/BatchRun.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/BatchRun.py
index aa22fd9138791cda894fa88fd9153bb44fd3771c..df93c2f14eafed4c035477daa8f12c0c24c5712b 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/BatchRun.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/BatchRun.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 conf = [
 #     "pi_CombDLLK", 
 #     "pi_CombDLLp",
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/ComparePDFs.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/ComparePDFs.py
index 931e980f0b7b2bf7924868212577eb309074c0af..2c37f53979c0c816472adca7dc9fba6d6d80cbaa 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/ComparePDFs.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/ComparePDFs.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/ComparePDFs_MC.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/ComparePDFs_MC.py
index 71904c12a13c2641a8315f803db67f0ab1b9ae4a..35a3f46db33cdc2fa423671a953a37eadff6db83 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/ComparePDFs_MC.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/ComparePDFs_MC.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/Config.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/Config.py
index 33d6caf97fac004b7148b2b5c125c3ce6aebeba0..c38f20962ba9933ce1299e048611924941396724 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/Config.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/Config.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 eosdir = "/eos/lhcb/wg/PID/PIDGen/Data/Run1"
 eosrootdir = "root://eoslhcb.cern.ch/" + eosdir
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf.py
index e1173383a5f6bd0c12a1cbb7b2b8c66f4f275d1e..3bfcc669b7bc29671c2ebfb372741a49de9b547e 100755
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf_MC.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf_MC.py
index b3e4c1f2a4de173dafe076057805914afcc3ecd3..5688749931a87bcd365fe59829611c3dae4fd18b 100755
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf_MC.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf_MC.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf_MC_condor.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf_MC_condor.py
index a94476a2fe328bd4df84d78d4b146e1ca54cfa8d..e72f0ccf9fc5afd279938ccecff44ce5eda2ec6d 100755
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf_MC_condor.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf_MC_condor.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf_condor.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf_condor.py
index 3f957f273885884e14d063369f94d80e2eb9a63f..1310d07dd6534d75b9364a3959bd953c9b781434 100755
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf_condor.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/CreatePIDPdf_condor.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/ListConfigs.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/ListConfigs.py
index fad552303e495340041b626b9d27e71a68853176..426503ef4189b78ab3316cce62b4e196954b59ec 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/ListConfigs.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/ListConfigs.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 from . import Config
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/MakeTuples.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/MakeTuples.py
index 1eb81139d9f44e824eb98661edf1b68f1936c9fa..301131c2afe487d76c0145dd7f5f32e3088b6589 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/MakeTuples.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/MakeTuples.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/MakeTuples_MC.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/MakeTuples_MC.py
index bb67b10b8074912895976de2b678cc5e0e0cb160..f019749bfa7c5fc640de62f8bb01b786320606cf 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/MakeTuples_MC.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/MakeTuples_MC.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PIDPdf.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PIDPdf.py
index f2802f2223415da58ffaef3746fa6e7016608208..83269e061f17763b66cce249ff14af24aafe5457 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PIDPdf.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PIDPdf.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 from past.utils import old_div
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PIDPdf_narrow.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PIDPdf_narrow.py
index 8bf10309a20503b857c8d85b506d5c1ba4ac9d9b..3edc9433de98b9588c48263a6b76ac6c3722a09c 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PIDPdf_narrow.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PIDPdf_narrow.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 from past.utils import old_div
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PlotPIDComparison.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PlotPIDComparison.py
index 41bfa7a5988dae3d5896fcb0cc0de8b56fa45dbf..9cec5614a62e41d8983b932b3dabfee06db4a231 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PlotPIDComparison.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PlotPIDComparison.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PublishWebPages.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PublishWebPages.py
index 1947f985062ebcec0b049bcd75a3a8b6fc605e2a..968299edab7a95d05243cbc4d71ee7326806a2af 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PublishWebPages.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run1/PublishWebPages.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 from . import Config
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/BatchRun.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/BatchRun.py
index af74399fd6e7f01212a11ea0e9e697e2ad8c3dc2..61cc9299d807d04f9bb4216c9fac86b625c18f1c 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/BatchRun.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/BatchRun.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 conf = [
 #     "K_CombDLLK_Brunel", 
 #     "K_CombDLLmu_Brunel",
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ComparePDFs.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ComparePDFs.py
index 9a588186919fb4f2cc2a5fa020e39ac25e7ed690..b8e44aca5a46192ba4a06cbc2fdab5ee19def0db 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ComparePDFs.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ComparePDFs.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ComparePDFs_MC.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ComparePDFs_MC.py
index 4b3ea389e31085a3b940190382fefdd9186b5fc8..b73f16e6e75f6506ea6f4e93add4b204f84e3720 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ComparePDFs_MC.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ComparePDFs_MC.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Config.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Config.py
index ba12dae5072384220d60e73b1adadf5fef1fc6db..ef5a655e78f18875691f3b6130943b8f9b43d15f 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Config.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Config.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import absolute_import
 import sys, os
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Configs/K_MC15TuneV1_ProbNNKNotppi_Brunel.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Configs/K_MC15TuneV1_ProbNNKNotppi_Brunel.py
index 82f7b5239cefbc39c4d30483a89b3835cd1f5e1f..288054424ed33cda52b6e0063b841ebc0312294e 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Configs/K_MC15TuneV1_ProbNNKNotppi_Brunel.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Configs/K_MC15TuneV1_ProbNNKNotppi_Brunel.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 config = {   'bins': 100,
     'controlstat': 1000000,
     'name': 'K_MC15TuneV1_ProbNNKNotppi_Brunel',
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Configs/p_LbLcPi_MC15TuneV1_ProbNNpNotKpi_Brunel.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Configs/p_LbLcPi_MC15TuneV1_ProbNNpNotKpi_Brunel.py
index fe602fee54ffc2aecb26eeac1c5c55e0d2bdf7ad..fef0a65d257ba8fbe0c7a6574264f18b00625640 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Configs/p_LbLcPi_MC15TuneV1_ProbNNpNotKpi_Brunel.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Configs/p_LbLcPi_MC15TuneV1_ProbNNpNotKpi_Brunel.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 config = {   'bins': 50,
     'controlstat': 1000000,
 #    'gamma': -0.25,
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Configs/pi_MC15TuneV1_ProbNNpiNotKp_Brunel.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Configs/pi_MC15TuneV1_ProbNNpiNotKp_Brunel.py
index 2123a8cef63108e571c63fb1bd9e6283a0e89248..2b7cbb55b8a5a5c2a02b7bc6b80d8931df7849d5 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Configs/pi_MC15TuneV1_ProbNNpiNotKp_Brunel.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/Configs/pi_MC15TuneV1_ProbNNpiNotKp_Brunel.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 config = {   'bins': 100,
     'controlstat': 1000000,
     'name': 'pi_MC15TuneV1_ProbNNpiNotKp_Brunel',
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf.py
index d66e83cb656c63ef1e30f224f32be340e84c7726..eef753378ca2191aad64e89edf38ecc6c458e083 100755
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf_MC.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf_MC.py
index 645e551601d835d312bb51c4a0ebe6f0a59c6036..358f668abaab773f5f81ca9cdd18c631f166f8e6 100755
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf_MC.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf_MC.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf_MC_condor.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf_MC_condor.py
index ea9f8e5ee2ce16aae26d1c571af0da00c3342e36..dd1e7d8c2538dc28793fbdedf297e2003a60d3b9 100755
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf_MC_condor.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf_MC_condor.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf_condor.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf_condor.py
index d29f99ebc6b848c02d8ea1c604eefaeabcb9a4a5..4989e38426077e229d6539710629705f397bcbb7 100755
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf_condor.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/CreatePIDPdf_condor.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ListConfigs.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ListConfigs.py
index 669c21279e9b7da3e2069fd1650b833c9aa3c6bd..778f03a294b8a7ade8ac3af9423cbab1899c5bdf 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ListConfigs.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ListConfigs.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 from . import Config
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/MakeTuples.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/MakeTuples.py
index 9b2a94738b3b0aad241ccd9d67efa5680749b305..bbbf31e98d890074aa113091141927eb3ff1a460 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/MakeTuples.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/MakeTuples.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/MakeTuples_MC.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/MakeTuples_MC.py
index 43883d6797357a0d68cadf09695249ce0e1ba8ba..793f43a80a7c46dd308d5a9b85177ec6018b3590 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/MakeTuples_MC.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/MakeTuples_MC.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/MakeTuples_numpy.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/MakeTuples_numpy.py
index b5742c2c8394d63213e72a0597fa91388ef92e45..1b4ed4f06b15e206cb2ee330e43d19828e711f5c 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/MakeTuples_numpy.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/MakeTuples_numpy.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/PIDPdf.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/PIDPdf.py
index 9826e4fd0475f47a78c07bc9a56380fc3620a7ab..194ba198d75d39e4c0372cbe9f7e994a5f7da44b 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/PIDPdf.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/PIDPdf.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 from past.utils import old_div
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/PlotPIDComparison.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/PlotPIDComparison.py
index 5242db1f0e251986fc0cfbc5ab61a88c63f7f6ae..034685791e11f702935b958e1f4fe2aea95f97c5 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/PlotPIDComparison.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/PlotPIDComparison.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/PublishWebPages.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/PublishWebPages.py
index 7a3c4f237a0701bb0c61ea062653eabefe4f2998..7f9be9860546583f5352ad8b551861f08add25a1 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/PublishWebPages.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/PublishWebPages.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 from . import Config
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ReprocessJpsi2ee.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ReprocessJpsi2ee.py
index f6189724eddd27120891feb58e9d3f77099797d5..b3fe94a15b1d2023af12b4a03555953d69d9d5c4 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ReprocessJpsi2ee.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenExpert/Run2/ReprocessJpsi2ee.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 import uproot
 import sys
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidcorr.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidcorr.py
index 8612458fbc12bac608e73b3daf25c5e0d9cf69fa..75a04ae7ab198c0972394d6a5b33fa1b0eca5af4 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidcorr.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidcorr.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 import os
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidcorr_Run1.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidcorr_Run1.py
index 8612458fbc12bac608e73b3daf25c5e0d9cf69fa..75a04ae7ab198c0972394d6a5b33fa1b0eca5af4 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidcorr_Run1.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidcorr_Run1.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 import os
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidcorr_Run2.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidcorr_Run2.py
index bf20967d2bfe890edf0ef25b2b4e2801c6bd2358..0c067e793d76acdecb2c77822d5764751b3060f7 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidcorr_Run2.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidcorr_Run2.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 import os
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidgen.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidgen.py
index 27545bdbf7bc066a0adff192f14e2d2b56916f42..2e213595f84f5ed3ec98db00addaeb85f7e6cae0 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidgen.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidgen.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 import os
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidgen_Run1.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidgen_Run1.py
index 6574f615dc0a4537ac8acb79f0d1642131f792b8..735eecdf76f499057ef4e5270b43cbc89165f34a 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidgen_Run1.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidgen_Run1.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 import os
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidgen_Run2.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidgen_Run2.py
index 725e551a20f0cbe4ad322c09756c266d581eba19..805fb21131827b5262bb2c2e3eec7e5e94a5a475 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidgen_Run2.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/Examples/Lb2Lcpi/Lb2Lcpi_pidgen_Run2.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 import os
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/PIDCorr.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/PIDCorr.py
index 25f272c502f0b53ad7239906b73c4bb7073c2f6f..57046433eb35f986b2934af413a70a834c55121d 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/PIDCorr.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/PIDCorr.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 from past.utils import old_div
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/PIDGen.py b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/PIDGen.py
index 7af847cba731e68827f87908ebd49a1e54d8a7ee..fc1cb02525de1070fc8a25dcda0a668ffa1d29a2 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/PIDGen.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PIDGenUser/PIDGen.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 from past.utils import old_div
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/Plots/CreateTTreeFromDataset.py b/PIDCalib/PIDPerfScripts/scripts/python/Plots/CreateTTreeFromDataset.py
index d96bb7960b32a36cbcd6d76b2c51fe549cf8afd4..1e53c3cd90cf7a7f09453226504c7f3f407c490e 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/Plots/CreateTTreeFromDataset.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/Plots/CreateTTreeFromDataset.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 
 from __future__ import print_function
 from PIDPerfScripts.StartScreen import *
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/Plots/PlotCalibDistributions.py b/PIDCalib/PIDPerfScripts/scripts/python/Plots/PlotCalibDistributions.py
index 84456e8e5efac4a9984a968b801860ec848c4d41..55c29239dbb8d745e91a412d747c1811a3b459bb 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/Plots/PlotCalibDistributions.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/Plots/PlotCalibDistributions.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 
 from __future__ import print_function
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/Plots/PlotCalibEfficiency.py b/PIDCalib/PIDPerfScripts/scripts/python/Plots/PlotCalibEfficiency.py
index 009d4dedbef2a505e494fcd9db8f5387f1ff93fb..3c6c08763b1661db3fab8dbbefb3ff60c7121dde 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/Plots/PlotCalibEfficiency.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/Plots/PlotCalibEfficiency.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 
 from __future__ import print_function
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/Plots/PlotRefDistributions.py b/PIDCalib/PIDPerfScripts/scripts/python/Plots/PlotRefDistributions.py
index 9dd96652ce04bc51cf5f6fee9d8d20ed5c009914..6eef41045d29e62d655b70e014bba910716f6ebf 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/Plots/PlotRefDistributions.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/Plots/PlotRefDistributions.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 
 from __future__ import print_function
 
diff --git a/PIDCalib/PIDPerfScripts/scripts/python/PubPlots/MakeIDvsMisIDCurveRunRange.py b/PIDCalib/PIDPerfScripts/scripts/python/PubPlots/MakeIDvsMisIDCurveRunRange.py
index 970896e903f3b4537441e5ca743f0886f16df87c..2cfdb71794d4560f56d4b2951008e5492acce0ae 100644
--- a/PIDCalib/PIDPerfScripts/scripts/python/PubPlots/MakeIDvsMisIDCurveRunRange.py
+++ b/PIDCalib/PIDPerfScripts/scripts/python/PubPlots/MakeIDvsMisIDCurveRunRange.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 from PIDPerfScripts.DataFuncs import *
diff --git a/PIDCalib/PIDPerfTools/src/GenericDataSet.cpp b/PIDCalib/PIDPerfTools/src/GenericDataSet.cpp
index ca54a2f048ce18bef59588bfdcf41af749533180..698976bd2b8742a104c0f9c5b2336e172bba739a 100644
--- a/PIDCalib/PIDPerfTools/src/GenericDataSet.cpp
+++ b/PIDCalib/PIDPerfTools/src/GenericDataSet.cpp
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 // $Id: $
 // Include files
 #include <algorithm>
diff --git a/PIDCalib/PIDPerfTools/src/TrackDataSet.cpp b/PIDCalib/PIDPerfTools/src/TrackDataSet.cpp
index 0d4690e34a795e1d05f23bd45234f76bafab2b79..186e76c23a9f24d98befbc5af173bac2c6f08df8 100644
--- a/PIDCalib/PIDPerfTools/src/TrackDataSet.cpp
+++ b/PIDCalib/PIDPerfTools/src/TrackDataSet.cpp
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 // $Id: $
 // Include files
 #include <algorithm>
diff --git a/PIDCalib/PIDPerfTools/src/WeightDataSetTool.icpp b/PIDCalib/PIDPerfTools/src/WeightDataSetTool.icpp
index 0e34753bdd1694b47aa5f5104a5f8c9cc998ca41..241a7883b9784d4c86acdbc935fcacbb43bc912a 100644
--- a/PIDCalib/PIDPerfTools/src/WeightDataSetTool.icpp
+++ b/PIDCalib/PIDPerfTools/src/WeightDataSetTool.icpp
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 // $Id: $
 // Include files
 #include <iomanip>
diff --git a/PhysFit/B2DXFitters/B2DXFitters/BasicMDFitPdf.h b/PhysFit/B2DXFitters/B2DXFitters/BasicMDFitPdf.h
index 615117d5a782a40becbd2c2b1aaf77442dfd9964..cb6d4519d949744d47f0c1e0950f1285861ecd8b 100644
--- a/PhysFit/B2DXFitters/B2DXFitters/BasicMDFitPdf.h
+++ b/PhysFit/B2DXFitters/B2DXFitters/BasicMDFitPdf.h
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 //---------------------------------------------------------------------------//
 //                                                                           /
 //  Basic PDFs used in the MDFit                                             //
diff --git a/PhysFit/B2DXFitters/B2DXFitters/Bd2DhModels.h b/PhysFit/B2DXFitters/B2DXFitters/Bd2DhModels.h
index 9bb3d3ce2ab3e1bbc41dda1d1eee3295370c7a80..d01683fe4edc22f6cec751340c393cb783f13915 100644
--- a/PhysFit/B2DXFitters/B2DXFitters/Bd2DhModels.h
+++ b/PhysFit/B2DXFitters/B2DXFitters/Bd2DhModels.h
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 //---------------------------------------------------------------------------//
 //                                                                           //
 //  RooFit models for Bd -> D h                                              //
diff --git a/PhysFit/B2DXFitters/B2DXFitters/DecRateCoeff_Bd.h b/PhysFit/B2DXFitters/B2DXFitters/DecRateCoeff_Bd.h
index 62ac35d5c3a7c708167cb0a4c2e2e5aa56f18f73..877ba3d837410f20815b99ef8e1b09a158ba538e 100644
--- a/PhysFit/B2DXFitters/B2DXFitters/DecRateCoeff_Bd.h
+++ b/PhysFit/B2DXFitters/B2DXFitters/DecRateCoeff_Bd.h
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 /*!
  * \brief     cosh/sinh/cos/sin coefficients in decay rate equations
  * \author    Alex Birnkraut, Christophe Cauet, Frank Meier, Julian Wishahi
diff --git a/PhysFit/B2DXFitters/B2DXFitters/FitMeTool.h b/PhysFit/B2DXFitters/B2DXFitters/FitMeTool.h
index eaf7452b38a865271bf512f51c9b9b672e9e728d..d05f8162b2cfec5838a212bda5f12496bc2e6fe0 100644
--- a/PhysFit/B2DXFitters/B2DXFitters/FitMeTool.h
+++ b/PhysFit/B2DXFitters/B2DXFitters/FitMeTool.h
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 //---------------------------------------------------------------------------//
 //                                                                           //
 //                                                                           //
diff --git a/PhysFit/B2DXFitters/B2DXFitters/GeneralUtils.h b/PhysFit/B2DXFitters/B2DXFitters/GeneralUtils.h
index d7c97721a7f4dabf329690d01d5e3943d3e63717..61014737772d2bb75382fe4523e14f91374eef03 100644
--- a/PhysFit/B2DXFitters/B2DXFitters/GeneralUtils.h
+++ b/PhysFit/B2DXFitters/B2DXFitters/GeneralUtils.h
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 //---------------------------------------------------------------------------//
 //                                                                           //
 //  General utilities                                                        //
diff --git a/PhysFit/B2DXFitters/B2DXFitters/MassFitUtils.h b/PhysFit/B2DXFitters/B2DXFitters/MassFitUtils.h
index 32c68d64ae8406c923abf6a7d659e513af18f83e..11f54556da141aafc04ee43897f4b09c80bfd25b 100644
--- a/PhysFit/B2DXFitters/B2DXFitters/MassFitUtils.h
+++ b/PhysFit/B2DXFitters/B2DXFitters/MassFitUtils.h
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 
 //---------------------------------------------------------------------------//
 //                                                                           //
diff --git a/PhysFit/B2DXFitters/B2DXFitters/RooCubicSplineKnot.h b/PhysFit/B2DXFitters/B2DXFitters/RooCubicSplineKnot.h
index 00e685c61b9e6874d5bb387958fa6ce5e61ca851..3f67d5b6c2ef9480213e911e5d763affe437b992 100644
--- a/PhysFit/B2DXFitters/B2DXFitters/RooCubicSplineKnot.h
+++ b/PhysFit/B2DXFitters/B2DXFitters/RooCubicSplineKnot.h
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 #ifndef ROO_CUBICSPLINEKNOT
 #define ROO_CUBICSPLINEKNOT
 #include <cassert>
diff --git a/PhysFit/B2DXFitters/CMakeLists.txt b/PhysFit/B2DXFitters/CMakeLists.txt
index 5fe431d92f9f23f0d7fe2e0a8bb8f846b4a3a8e4..f13cb28f3df569bc92055030608c4249f72770da 100644
--- a/PhysFit/B2DXFitters/CMakeLists.txt
+++ b/PhysFit/B2DXFitters/CMakeLists.txt
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 ################################################################################
 # Package: B2DXFitters
 ################################################################################
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForCombinatorial.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForCombinatorial.py
index 147c130a0f112465a635e393ebc9b790a0789826..58b9b327508022213cd122b675e62634c2deec1b 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForCombinatorial.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForCombinatorial.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 def getconfig() :
 
     from Bs2DsPiConfigForNominalMassFit import getconfig as getconfig_nominal
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForComboFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForComboFit.py
index 79a37fafd0d04cefe7fa61ea0dd266122b1bdd72..8dc7065219d393dd594975391e3007469bdc4168 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForComboFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForComboFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 def getconfig() :
 
     configdict = {}
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForDataWorkspaceLifetimeNoConsD.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForDataWorkspaceLifetimeNoConsD.py
index d9430d4b95293b549d2965fa2a2dfc64922c7af0..3bae2e40621c7234601406e7f6292020812f5ad0 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForDataWorkspaceLifetimeNoConsD.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForDataWorkspaceLifetimeNoConsD.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 def getconfig() :
 
     from Bs2DsPiConfigForNominalMassFit import getconfig as getconfig_nominal
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForMCWorkspace.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForMCWorkspace.py
index 5a78f97427176518ad83e8bc3f052801bbdae9ee..7091645df0a128063adf661183c309ee15785b14 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForMCWorkspace.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForMCWorkspace.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 
 def getconfig() :
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForNominalDMSFitSplinesFloatAccSimFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForNominalDMSFitSplinesFloatAccSimFit.py
index 56b8a628f01d58e7ebd7e7226cbd0a2f99f91dcb..4fe3f2dd8bd1ec5bdf6c2c3a6d160ccf9f377dfd 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForNominalDMSFitSplinesFloatAccSimFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForNominalDMSFitSplinesFloatAccSimFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import os
 import itertools
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForNominalMassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForNominalMassFit.py
index 971d59e06d2ee384405b6910492008adde2aa9a7..b00c94a6c8755459468b112d44e8c090e06800ac 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForNominalMassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForNominalMassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 def getconfig() :
 
     configdict = {}
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForNominalMassFitShapeSplit9Tuned.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForNominalMassFitShapeSplit9Tuned.py
index 46e7d8b4abaff77e0c55966ac9d0c8121e546c31..4049eaa7b1b22becc0bc5e21c9643ccb74aa97de 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForNominalMassFitShapeSplit9Tuned.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForNominalMassFitShapeSplit9Tuned.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 def getconfig():
 
     configdict = {}
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForSignalNoVetoNoPID.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForSignalNoVetoNoPID.py
index 271393773d81f453e2d68222cad603627f2fecd6..66be12b7fab2d99cd57aca6e1cb1fe32ebded14c 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForSignalNoVetoNoPID.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForSignalNoVetoNoPID.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 
 def getconfig() :
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForSignalVetoPID.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForSignalVetoPID.py
index daa6e1fa14f6c11a9b6e4c20f1da764d9af31f36..055b6a6340b963b1fb374b24e34af4df17966cb5 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForSignalVetoPID.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Bs2DsPiConfigForSignalVetoPID.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 
 def getconfig() :
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/EspressoCalibrationModel.xml b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/EspressoCalibrationModel.xml
index 6d3db28d10aabb032b95b517216fb1bc9d68273b..66906265b7541ab1f400d34f4684dae34a86ae4d 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/EspressoCalibrationModel.xml
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/EspressoCalibrationModel.xml
@@ -1,4 +1,14 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<!--
+    (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration
+
+    This software is distributed under the terms of the GNU General Public
+    Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
+
+    In applying this licence, CERN does not waive the privileges and immunities
+    granted to it by virtue of its status as an Intergovernmental Organization
+    or submit itself to any jurisdiction.
+-->
 <!DOCTYPE boost_serialization>
 <boost_serialization signature="serialization::archive" version="13">
 <OS_Combination_Calibration class_id="4" tracking_level="1" version="0" object_id="_0">
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/biased/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/biased/Generator.py
index afdfc4d113f19f3e42ab3d8425397bbc6cd8cbe6..5b419198a84fbdd66169d865216b17ea7e0489ac 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/biased/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/biased/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import sys
 import os
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/configutils.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/configutils.py
index 90681608d06a636166474a616f153f9abae5c2e7..ab0d22ba24047fc3932a719fd1deea32ec2ff72d 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/configutils.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/configutils.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 import sys
 from pprint import pprint
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/debug/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/debug/Generator.py
index 0443f055bc4fced7965f6f7189b395a8d04afa42..4eb2ae3e5886233a27ccb222521936e7230e181e 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/debug/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/debug/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import sys
 import os
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a/DMSFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a/DMSFit.py
index dcdd272404e718e261829b07a0d0877f6c7cc13c..9adb3ce81ed2f1735d961c21e876cfb98fb5b39c 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a/DMSFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a/DMSFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import itertools
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a/Generator.py
index f2dece5b87b5305e41e3d4b9c4986da5cb52f585..9e2061bbe0d50a7d7b117a11d49e4d0d833e9d37 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import copy
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a/MassFit.py
index 4482f3ba754d7dde89caad68d5dd839396b49e16..4e35f63823a27bee236bed0ed2aaae71c2d75076 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import ROOT
 import sys
 import os
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a_varyfit/DMSFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a_varyfit/DMSFit.py
index 88a0750d0819fdb9a83cad7359ad519e1bc6d185..f6f413d0fb1628bfbf8e2b515987d1f89d1ec75f 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a_varyfit/DMSFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a_varyfit/DMSFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import itertools
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a_varyfit/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a_varyfit/Generator.py
index dfea899932ce4d20b622c1878287549032f93d9b..fd7ab4d52113a04ce64efbd3fe9531ce0ba930d4 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a_varyfit/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a_varyfit/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import os
 import sys
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a_varyfit/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a_varyfit/MassFit.py
index fb2c4239af5560aafe470e92e21bffa1e8046a27..9e6835e66bc3a8098f9147406c633db07c371e3e 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a_varyfit/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_a_varyfit/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import ROOT
 import sys
 import os
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b/DMSFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b/DMSFit.py
index dcdd272404e718e261829b07a0d0877f6c7cc13c..9adb3ce81ed2f1735d961c21e876cfb98fb5b39c 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b/DMSFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b/DMSFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import itertools
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b/Generator.py
index f0b7fb82bed697a8702ade77afc0a199ec0a6227..2d6906c9941ba030a51a1bbdf9234397c377e0ed 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import copy
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b/MassFit.py
index 4482f3ba754d7dde89caad68d5dd839396b49e16..4e35f63823a27bee236bed0ed2aaae71c2d75076 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import ROOT
 import sys
 import os
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b_varyfit/DMSFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b_varyfit/DMSFit.py
index c1598f750cde16a616397ffd23e7ec041709e45e..85122969dfb741ad01e89684daf1a624cb774e3a 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b_varyfit/DMSFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b_varyfit/DMSFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import os
 import sys
 import numpy as np
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b_varyfit/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b_varyfit/Generator.py
index dfea899932ce4d20b622c1878287549032f93d9b..fd7ab4d52113a04ce64efbd3fe9531ce0ba930d4 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b_varyfit/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b_varyfit/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import os
 import sys
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b_varyfit/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b_varyfit/MassFit.py
index fb2c4239af5560aafe470e92e21bffa1e8046a27..9e6835e66bc3a8098f9147406c633db07c371e3e 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b_varyfit/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_b_varyfit/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import ROOT
 import sys
 import os
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_naive/DMSFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_naive/DMSFit.py
index c7da73a670c4ac7848f6f25f1dee8ccf5f6e2cf2..74359bc73ebd84d993a08ef9d13c820041058254 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_naive/DMSFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_naive/DMSFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import os
 import sys
 import numpy as np
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_naive/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_naive/Generator.py
index dfea899932ce4d20b622c1878287549032f93d9b..fd7ab4d52113a04ce64efbd3fe9531ce0ba930d4 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_naive/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_naive/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import os
 import sys
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_naive/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_naive/MassFit.py
index fb2c4239af5560aafe470e92e21bffa1e8046a27..9e6835e66bc3a8098f9147406c633db07c371e3e 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_naive/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/deltagamma_naive/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import ROOT
 import sys
 import os
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal/DMSFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal/DMSFit.py
index eff4d510a0b6a491bd2eaa7995b1214b379272c9..42c057d70ae78560a8338c96dc91cf715e9872a8 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal/DMSFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal/DMSFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import itertools
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal/Generator.py
index 8bf8d2085ea39c7a223b71ee6ac9cea90d5ed591..11d973c4e403ea1ad1538d3ec12aaaea5969f87a 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 from past.utils import old_div
 import copy
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal/MassFit.py
index bd31191d9026a46bcb9ba24c905cc8e29134a155..905d6e4647039fe3186fd015d757898847946eb7 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 from past.utils import old_div
 import ROOT
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_adjustfitrange/DMSFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_adjustfitrange/DMSFit.py
index 83242f6fb5ae6483d2b316e611a5c2b0339af72c..21bd40d9d3826199db68eb3cd2de0afc8b373571 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_adjustfitrange/DMSFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_adjustfitrange/DMSFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import absolute_import
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_adjustfitrange/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_adjustfitrange/Generator.py
index ea2c274abc63d677f421146b4682ecb019ae36d2..c7aadeda79a2e14f25ba9f2093ca4ae5faf532fd 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_adjustfitrange/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_adjustfitrange/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import os
 import sys
 import math
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_adjustfitrange/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_adjustfitrange/MassFit.py
index 857ba42a23323c0ee37063ce3b04c957d7fd5036..46b5d7ab32f70ef9f0c47cd8015decc449f08388 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_adjustfitrange/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_adjustfitrange/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import absolute_import
 import ROOT
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixadet/DMSFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixadet/DMSFit.py
index 1f6f0aa8e0a38892eec04141585771b7c22712f1..903386e0d353450ac0aab2e3e9e882cec6ff32b0 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixadet/DMSFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixadet/DMSFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import itertools
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixadet/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixadet/Generator.py
index bbf8755002ac84bad9b258d7a2c3040e073a8fd1..38fbd05863c61c1fcfe01371755a0a8b109d7fe2 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixadet/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixadet/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import copy
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixadet/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixadet/MassFit.py
index 4482f3ba754d7dde89caad68d5dd839396b49e16..4e35f63823a27bee236bed0ed2aaae71c2d75076 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixadet/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixadet/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import ROOT
 import sys
 import os
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixaprod/DMSFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixaprod/DMSFit.py
index c9eb0e58e6e853b12694e86e687d27dda81fe5f0..8cebe2bc70637dcb0089ea799eb93bc10295e442 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixaprod/DMSFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixaprod/DMSFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import itertools
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixaprod/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixaprod/Generator.py
index bbf8755002ac84bad9b258d7a2c3040e073a8fd1..38fbd05863c61c1fcfe01371755a0a8b109d7fe2 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixaprod/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixaprod/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import copy
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixaprod/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixaprod/MassFit.py
index 4482f3ba754d7dde89caad68d5dd839396b49e16..4e35f63823a27bee236bed0ed2aaae71c2d75076 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixaprod/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixaprod/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import ROOT
 import sys
 import os
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixasyms/DMSFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixasyms/DMSFit.py
index f8a250d1b11711e057fa85221258b6ea4022ab00..fbe12bd63c9024c54ba1d290d4c371ec5d44e737 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixasyms/DMSFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixasyms/DMSFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import itertools
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixasyms/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixasyms/Generator.py
index bbf8755002ac84bad9b258d7a2c3040e073a8fd1..38fbd05863c61c1fcfe01371755a0a8b109d7fe2 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixasyms/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixasyms/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import copy
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixasyms/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixasyms/MassFit.py
index 4482f3ba754d7dde89caad68d5dd839396b49e16..4e35f63823a27bee236bed0ed2aaae71c2d75076 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixasyms/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_fixasyms/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import ROOT
 import sys
 import os
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonly/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonly/Generator.py
index 741e713b47a86edd90d3e01a9a307e725fcb7eba..beecc908ebd000f3bbef4a570d448577881fcfd7 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonly/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonly/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import os
 import sys
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonly/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonly/MassFit.py
index 2c41330b7f76ef1d8a556bd69d1cc7d1355b8d17..1df1cb58b356948949d22a8f7938ac5c30f62ef2 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonly/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonly/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import ROOT
 import sys
 import os
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonlytuned/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonlytuned/Generator.py
index f917e38678dd902eed5746f1a63c54b7ffdbbe3d..403c33cdcc624e7a645fa8f97d5ae920a3beefe0 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonlytuned/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonlytuned/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import os
 import sys
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonlytuned/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonlytuned/MassFit.py
index 19583b1de4ace94617147efcbc1f3b8be57cc4ef..c172c9c12057b3bf06bb05b7d942cbb3193854ea 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonlytuned/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_mdfitonlytuned/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import ROOT
 import sys
 import os
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly/DMSFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly/DMSFit.py
index 00258650cff6757a3c29506884eed093d4fb7f63..b383bac75d1f95333b881ddc417ebb58e925a904 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly/DMSFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly/DMSFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import absolute_import
 import itertools
 import os
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly/Generator.py
index 2906a679eac1c6c60c56e99732bd8d2353a202eb..0fb4b849fc7e337388430b7fc9c011c462ac40e8 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import copy
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly/MassFit.py
index a9e8f7c5aa1da64c0bcadabb68613f826c9747dd..d2c9f17f5b21831790ca4e36a28ead9ec6954575 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import ROOT
 import sys
 import os
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixacc/DMSFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixacc/DMSFit.py
index 74ba61eff8720c022b43c103b79f922a280ac505..4fff59174ee7d08736852ef96f6b97aa5dbe440e 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixacc/DMSFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixacc/DMSFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import absolute_import
 
 import itertools
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixacc/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixacc/Generator.py
index ada1df09c6195f99d190e86b3f4d0507568f6124..4c2c8e1cb6bb3f0d1205f0c0393bcd13a0c9df26 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixacc/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixacc/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import os
 import sys
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixacc/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixacc/MassFit.py
index 5fd77d7aacb863156589250b4e224f0ff26a303d..cb8efa6977b97412b2cc6669c263a22b3f8ce4c1 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixacc/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixacc/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import sys
 import os
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixtagging/DMSFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixtagging/DMSFit.py
index c9ae75f4c805eeac54dbf8abf77d5cdb07cc874f..2c7935c709a5648dfc296b5e467f247204e60e58 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixtagging/DMSFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixtagging/DMSFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import absolute_import
 
 import itertools
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixtagging/Generator.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixtagging/Generator.py
index ada1df09c6195f99d190e86b3f4d0507568f6124..4c2c8e1cb6bb3f0d1205f0c0393bcd13a0c9df26 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixtagging/Generator.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixtagging/Generator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import os
 import sys
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixtagging/MassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixtagging/MassFit.py
index 5fd77d7aacb863156589250b4e224f0ff26a303d..cb8efa6977b97412b2cc6669c263a22b3f8ce4c1 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixtagging/MassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/Toys/nominal_signalonly_fixtagging/MassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import sys
 import os
 
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/dms_data_nominal.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/dms_data_nominal.py
index e0351c7210a5c3103b3a77ec539506af24a0d69f..3e935079c6051ae459b5a1444be4d69c8f9f4211 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/dms_data_nominal.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsPi/dms_data_nominal.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 import os
 import sys
 import Bs2DsPiConfigForNominalDMSFitSplinesFloatAccSimFit
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/misID_Lb2LcPi/Lb2LcPiConfigForNominalMassFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/misID_Lb2LcPi/Lb2LcPiConfigForNominalMassFit.py
index 3b149e9c8ad6f41d934274c83d88bb6b8578417f..a6e8423b0ecdba8a698ffeeed4c2539576a3660d 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/misID_Lb2LcPi/Lb2LcPiConfigForNominalMassFit.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/misID_Lb2LcPi/Lb2LcPiConfigForNominalMassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 def getconfig() :
 
     configdict = {}
diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/misID_Lb2LcPi/Lb2LcPiConfigForNominalMassFit_doubleMisID.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/misID_Lb2LcPi/Lb2LcPiConfigForNominalMassFit_doubleMisID.py
index af7c47d0783e0172611fa92ed80d6ea6e79d3a4e..1db61525a79b8146c63525dc71aea3fa667e4cf9 100644
--- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/misID_Lb2LcPi/Lb2LcPiConfigForNominalMassFit_doubleMisID.py
+++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/misID_Lb2LcPi/Lb2LcPiConfigForNominalMassFit_doubleMisID.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 def getconfig() :
 
     configdict = {}
diff --git a/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2Dsp/Lb2DspConfigForMCWorkspace.py b/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2Dsp/Lb2DspConfigForMCWorkspace.py
index 60fed7d7e6168b4494b1a0478719b2fa47682c74..d2fac40ac263642fc0c53644a5b2a71867844013 100644
--- a/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2Dsp/Lb2DspConfigForMCWorkspace.py
+++ b/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2Dsp/Lb2DspConfigForMCWorkspace.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 def getconfig() :
 
     from Lb2DspConfigForNominalMassFit import getconfig as getconfig_nominal
diff --git a/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2Dsp/Lb2DspConfigForNominalMassFit.py b/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2Dsp/Lb2DspConfigForNominalMassFit.py
index 78f098ee7a0fb66da03452e4e50f20536bfb04c0..4d20fb2884d683aeab4fff2a091fcbd26161e327 100644
--- a/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2Dsp/Lb2DspConfigForNominalMassFit.py
+++ b/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2Dsp/Lb2DspConfigForNominalMassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 def getconfig() :
 
     configdict = {}
diff --git a/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2Dsp/Lb2DspConfigForSignal.py b/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2Dsp/Lb2DspConfigForSignal.py
index c14d7983caa042f35befa46fcfd3f192d165bd4a..0881ee9d692311844a515d6854741febbdfe5266 100644
--- a/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2Dsp/Lb2DspConfigForSignal.py
+++ b/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2Dsp/Lb2DspConfigForSignal.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 def getconfig() :
 
     from Lb2DspConfigForNominalMassFit import getconfig as getconfig_nominal
diff --git a/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2LcPi/Lb2LcPiConfigForNominalMassFit.py b/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2LcPi/Lb2LcPiConfigForNominalMassFit.py
index 948429696f56858be75cc02b64991b468dfc5e45..af91617f0183bd833120f5b196122ed77276d4b9 100644
--- a/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2LcPi/Lb2LcPiConfigForNominalMassFit.py
+++ b/PhysFit/B2DXFitters/data/Lb2Dsp_9fbBR/Lb2LcPi/Lb2LcPiConfigForNominalMassFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 from past.utils import old_div
 def getconfig() :
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/FitResult.py b/PhysFit/B2DXFitters/python/B2DXFitters/FitResult.py
index 08815e50a89605d7eb0d104bdb0c95b834eb0498..82e66efbd75cffc1d2456ccfadb6175f00d4e9a7 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/FitResult.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/FitResult.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 """
 @file FitResult.py
 
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/FitResultGrabberUtils.py b/PhysFit/B2DXFitters/python/B2DXFitters/FitResultGrabberUtils.py
index e6f704df40f4e059c7b229ad960c5201c8cb5206..488ec1eb842e1caf2fee7a42eade57f2895a19bb 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/FitResultGrabberUtils.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/FitResultGrabberUtils.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 # @file FitResultGrabberUtils.py
 #
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/GaussianConstraintBuilder.py b/PhysFit/B2DXFitters/python/B2DXFitters/GaussianConstraintBuilder.py
index cf0387174a871027b5bfa658107f47858386b706..053e6c63d42e01dd6a951308132fbbb34375cb2c 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/GaussianConstraintBuilder.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/GaussianConstraintBuilder.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 """
 @file GaussianConstraintBuilder.py
 
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/MDFitSettingTranslator.py b/PhysFit/B2DXFitters/python/B2DXFitters/MDFitSettingTranslator.py
index 65ce2290791f37c46bdba6333d82fa0abe82a7a3..9bb29e48ce8ef6ffc7a0204c5ead6d3130a3f3db 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/MDFitSettingTranslator.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/MDFitSettingTranslator.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 from B2DXFitters import *
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/TLatexUtils.py b/PhysFit/B2DXFitters/python/B2DXFitters/TLatexUtils.py
index b020b98588c4ded60cd1c71fe2f8a2f3f7b70f47..b6d3f10fab2d5a4efde7f307e5669bd4dcac61d4 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/TLatexUtils.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/TLatexUtils.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/WS.py b/PhysFit/B2DXFitters/python/B2DXFitters/WS.py
index 8235ee88e35238e02229b2306b753d55ed5f8d11..70db47f9aebf0223c498a55e9ceb2c074afb3791 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/WS.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/WS.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 """
 @file WS.py
 
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/acceptanceutils.py b/PhysFit/B2DXFitters/python/B2DXFitters/acceptanceutils.py
index f921d995a773134be98942942c583ff0d51bc5e0..202c3fae0de5a0655806d7af85781f5ebfcdeaa3 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/acceptanceutils.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/acceptanceutils.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 """
 @file acceptanceutils.py
 
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/cpobservables.py b/PhysFit/B2DXFitters/python/B2DXFitters/cpobservables.py
index 8ce95c786ec5dca341ddca143a790bce560ed84e..b6b35d51c6f4978875c9cbf0ee811e0bdc024ed3 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/cpobservables.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/cpobservables.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 # --------------------------------------------------------------------------- #
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/datasetio.py b/PhysFit/B2DXFitters/python/B2DXFitters/datasetio.py
index 44df0c10e11113ad2c21abc731babd2c24bc19d0..ed1ad3d8e99347d234022974f5f1a651bff992a4 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/datasetio.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/datasetio.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 """
 @file datasetio.py
 
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/factory.py b/PhysFit/B2DXFitters/python/B2DXFitters/factory.py
index d891f4922d5db4e37614ed49b52ca8a96879fa17..626eb5810a15de98786140e2ff30ade9c9f1952a 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/factory.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/factory.py
@@ -1,4 +1,14 @@
 # coding=utf-8
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 """
 This module provides helper functions to get different ROOT and RooFit
 objects.
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/mdfitutils.py b/PhysFit/B2DXFitters/python/B2DXFitters/mdfitutils.py
index f9576de052684371710b8342447aea83e303c1fb..3c882c2816034002491fef20c081ec7244e953fc 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/mdfitutils.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/mdfitutils.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/resmodelutils.py b/PhysFit/B2DXFitters/python/B2DXFitters/resmodelutils.py
index 0d10f33bc85b5d8183a908b6603018d650cc3dcf..02fa8ea03714b799c369a9b3a498d1536fa94915 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/resmodelutils.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/resmodelutils.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 """
 @file resmodelutils.py
 
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/stattools.py b/PhysFit/B2DXFitters/python/B2DXFitters/stattools.py
index 2b2e2ebbea9a078fda238d03c67f195f1c1c044c..d64b657c700ca5d44c983008d1600ecfbf9ea16a 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/stattools.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/stattools.py
@@ -1,4 +1,14 @@
 # coding=utf-8
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 
 """This module implements several statistical tools.
 
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/taggingutils.py b/PhysFit/B2DXFitters/python/B2DXFitters/taggingutils.py
index 5607b1c9b579b74d4ccd2aac2447521bbd8f1d9e..93c2c7453f3beb8245faec4f4eb39a0794622f2a 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/taggingutils.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/taggingutils.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 """
 @file taggingutils.py
 
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/timepdfutils.py b/PhysFit/B2DXFitters/python/B2DXFitters/timepdfutils.py
index f84bd01300a30520e625a5455af017d2ccf6dfb4..6ef09f5d209ee5166a0ce9fe0fcced78892ca847 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/timepdfutils.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/timepdfutils.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 """
 @file timepdfutils.py
 
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/timepdfutils_Bd.py b/PhysFit/B2DXFitters/python/B2DXFitters/timepdfutils_Bd.py
index 1c63ec1c31fc05c3b9fd39063d32a4727ce37e5f..5aa22806b2cfaf011f7dfa0637c0a1cefb2efa7e 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/timepdfutils_Bd.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/timepdfutils_Bd.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 """
 @file timepdfutils_Bd.py
 
diff --git a/PhysFit/B2DXFitters/python/B2DXFitters/utils.py b/PhysFit/B2DXFitters/python/B2DXFitters/utils.py
index acf488aeed78f2376ed2d92f2e6b5d92165ec968..260cc03e69dd809d9718f16f76973d8e104218bd 100644
--- a/PhysFit/B2DXFitters/python/B2DXFitters/utils.py
+++ b/PhysFit/B2DXFitters/python/B2DXFitters/utils.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 """
 @file utils.py
 
diff --git a/PhysFit/B2DXFitters/scripts/BootstrapMC.py b/PhysFit/B2DXFitters/scripts/BootstrapMC.py
index 2d46c8f29107d18e5085bc488b21002d3a03158e..3af782b0107753af0a673a938b3a48279f8c110a 100755
--- a/PhysFit/B2DXFitters/scripts/BootstrapMC.py
+++ b/PhysFit/B2DXFitters/scripts/BootstrapMC.py
@@ -1,5 +1,15 @@
 #!/bin/sh
 # -*- mode: python; coding: utf-8 -*-
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # vim: ft=python:sw=4:tw=78:expandtab 
 # --------------------------------------------------------------------------- 
 # @file BootstrapMC.py
diff --git a/PhysFit/B2DXFitters/scripts/CalculateDsKAcceptances.py b/PhysFit/B2DXFitters/scripts/CalculateDsKAcceptances.py
index 56cd87cda9f3bafc68b41bb1ca53fd6f92cb9bd9..1ae20a861363c0818d9e4eabe6197c4f8d3af8ed 100644
--- a/PhysFit/B2DXFitters/scripts/CalculateDsKAcceptances.py
+++ b/PhysFit/B2DXFitters/scripts/CalculateDsKAcceptances.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 
diff --git a/PhysFit/B2DXFitters/scripts/ChangeMassHypo.py b/PhysFit/B2DXFitters/scripts/ChangeMassHypo.py
index 57e12aa021b404f2282d5bc3de0f8655ddc2ddb4..355f46704f821b84f52640d33b866b302c8777b7 100755
--- a/PhysFit/B2DXFitters/scripts/ChangeMassHypo.py
+++ b/PhysFit/B2DXFitters/scripts/ChangeMassHypo.py
@@ -1,5 +1,15 @@
 #!/bin/sh
 # -*- mode: python; coding: utf-8 -*-
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # vim: ft=python:sw=4:tw=78:expandtab
 # --------------------------------------------------------------------------- 
 # @file ChangeMassHypo.py
diff --git a/PhysFit/B2DXFitters/scripts/DrawPullsForToys.py b/PhysFit/B2DXFitters/scripts/DrawPullsForToys.py
index 588d294c92b44900fe6e8f2e79d5baa88ca14a82..77e6fa9f0a5aa93e36d1b2f41c081bb25df295b3 100644
--- a/PhysFit/B2DXFitters/scripts/DrawPullsForToys.py
+++ b/PhysFit/B2DXFitters/scripts/DrawPullsForToys.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # -----------------------------------------------------------------------------
 # settings for running without GaudiPython
 # -----------------------------------------------------------------------------
diff --git a/PhysFit/B2DXFitters/scripts/DrawPullsForToysMDFit.py b/PhysFit/B2DXFitters/scripts/DrawPullsForToysMDFit.py
index 348581e980324775b67e9580f50c7c7692e0c381..8e4ee861acca9b48b163b35d81ea1a750c0eac5a 100644
--- a/PhysFit/B2DXFitters/scripts/DrawPullsForToysMDFit.py
+++ b/PhysFit/B2DXFitters/scripts/DrawPullsForToysMDFit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # -----------------------------------------------------------------------------
 # settings for running without GaudiPython
 # -----------------------------------------------------------------------------
diff --git a/PhysFit/B2DXFitters/scripts/calculateAcceptance.py b/PhysFit/B2DXFitters/scripts/calculateAcceptance.py
index 08ea04bee0a9d8e3e2a1bfce49344e41d9e8577a..741ea76336734666cede935b621b53c83b3484a0 100644
--- a/PhysFit/B2DXFitters/scripts/calculateAcceptance.py
+++ b/PhysFit/B2DXFitters/scripts/calculateAcceptance.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- #
 #                                                                             #
 #   Python script to compare datas or pdfs                                    #
diff --git a/PhysFit/B2DXFitters/scripts/comparePDF.py b/PhysFit/B2DXFitters/scripts/comparePDF.py
index b000b06878a0ee1b48eec626acb9d060500867ee..d3ae5c59951ba85e271ca5b50e6e7bda28e103db 100644
--- a/PhysFit/B2DXFitters/scripts/comparePDF.py
+++ b/PhysFit/B2DXFitters/scripts/comparePDF.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- #
 #                                                                             #
 #   Python script to compare datas or pdfs                                    #
diff --git a/PhysFit/B2DXFitters/scripts/compareSWeightsForSplits.py b/PhysFit/B2DXFitters/scripts/compareSWeightsForSplits.py
index be6eccf9b171e36510aa4b87f285373c81f7698c..09c80d5eb5c28a8d364549ed66304255d7e01581 100644
--- a/PhysFit/B2DXFitters/scripts/compareSWeightsForSplits.py
+++ b/PhysFit/B2DXFitters/scripts/compareSWeightsForSplits.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 import os,sys
diff --git a/PhysFit/B2DXFitters/scripts/createTemplatesMistag.py b/PhysFit/B2DXFitters/scripts/createTemplatesMistag.py
index 0b2287b59d2a3e1b6bb9e5a5900d263e1aba98bb..a175635939834106352988b27c56ae183e257eba 100755
--- a/PhysFit/B2DXFitters/scripts/createTemplatesMistag.py
+++ b/PhysFit/B2DXFitters/scripts/createTemplatesMistag.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python    
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- #
 #                                                                             #
 #   Python script to run a toy MC fit for the CP asymmetry observables        #
diff --git a/PhysFit/B2DXFitters/scripts/createTemplatesTerr.py b/PhysFit/B2DXFitters/scripts/createTemplatesTerr.py
index 8d91f4942dcf33885db135944deebfc83ecad329..fa4882fd4f9157cebc20ffe45cc46b39cb5a986b 100644
--- a/PhysFit/B2DXFitters/scripts/createTemplatesTerr.py
+++ b/PhysFit/B2DXFitters/scripts/createTemplatesTerr.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- #
 #                                                                             #
 #   Python script to compare datas or pdfs                                    #
diff --git a/PhysFit/B2DXFitters/scripts/fitShapes.py b/PhysFit/B2DXFitters/scripts/fitShapes.py
index 71ec6ebf946fd80c2f0c5a1459474fd552a752a5..d85c3477fbc74103161d44f6f6f3d1e962569169 100755
--- a/PhysFit/B2DXFitters/scripts/fitShapes.py
+++ b/PhysFit/B2DXFitters/scripts/fitShapes.py
@@ -1,5 +1,15 @@
 #!/bin/sh
 # -*- mode: python; coding: utf-8 -*-
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # vim: ft=python:sw=4:tw=78:expandtab
 # ---------------------------------------------------------------------------
 # @file fitShapes.py
diff --git a/PhysFit/B2DXFitters/scripts/fitSplineAcc.py b/PhysFit/B2DXFitters/scripts/fitSplineAcc.py
index f6ef62972d3ce951f7d76a94c58af02304e30d9f..4d0ebef29377c0342093a50866278b0ec62164c3 100755
--- a/PhysFit/B2DXFitters/scripts/fitSplineAcc.py
+++ b/PhysFit/B2DXFitters/scripts/fitSplineAcc.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- #
 #                                                                             #
 #   Python script to compare datas or pdfs                                    #
diff --git a/PhysFit/B2DXFitters/scripts/make_histos.py b/PhysFit/B2DXFitters/scripts/make_histos.py
index 958f1e24ff879a04f94dda7155744a4d7d542733..46d0376376c0b4fa0091c5868b460402aca6c926 100755
--- a/PhysFit/B2DXFitters/scripts/make_histos.py
+++ b/PhysFit/B2DXFitters/scripts/make_histos.py
@@ -1,5 +1,15 @@
 #!/bin/sh
 # -*- mode: python; coding: utf-8 -*-
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # vim: ft=python:sw=4:tw=78
 # --------------------------------------------------------------------------- 
 # @file make_histos.py
diff --git a/PhysFit/B2DXFitters/scripts/make_toy_for_toy_histos.py b/PhysFit/B2DXFitters/scripts/make_toy_for_toy_histos.py
index 7d446709f48b7099427f8dabb3eed2ce68d655ea..74fb9f1d3914d0739c6de1d70029eddf866476a3 100755
--- a/PhysFit/B2DXFitters/scripts/make_toy_for_toy_histos.py
+++ b/PhysFit/B2DXFitters/scripts/make_toy_for_toy_histos.py
@@ -1,5 +1,15 @@
 #!/bin/sh
 # -*- mode: python; coding: utf-8 -*-
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # vim: ft=python:sw=4:tw=78
 # --------------------------------------------------------------------------- 
 # @file make_histos.py
diff --git a/PhysFit/B2DXFitters/scripts/makefoldedasy.py b/PhysFit/B2DXFitters/scripts/makefoldedasy.py
index e746d19247f4fb4d9cad1526f89d67495eaa4228..5d955b304d7d0ed0702680cb6653d94fc7aa975e 100644
--- a/PhysFit/B2DXFitters/scripts/makefoldedasy.py
+++ b/PhysFit/B2DXFitters/scripts/makefoldedasy.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 
 
diff --git a/PhysFit/B2DXFitters/scripts/makefoldedasysigmc.py b/PhysFit/B2DXFitters/scripts/makefoldedasysigmc.py
index c4185cf28e30df769568ef3e9beb6beeca5a08fd..fafd0172b912f207f700831d6f9d35d5059554ac 100644
--- a/PhysFit/B2DXFitters/scripts/makefoldedasysigmc.py
+++ b/PhysFit/B2DXFitters/scripts/makefoldedasysigmc.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 
 
diff --git a/PhysFit/B2DXFitters/scripts/overlayMCWithSplineAcc.py b/PhysFit/B2DXFitters/scripts/overlayMCWithSplineAcc.py
index ad8beb59f46b832df369a339fe60793ea0ee7b3c..bf4a36d2e51de2b0383347b72ffff68c8d993e23 100755
--- a/PhysFit/B2DXFitters/scripts/overlayMCWithSplineAcc.py
+++ b/PhysFit/B2DXFitters/scripts/overlayMCWithSplineAcc.py
@@ -1,5 +1,15 @@
 #!/bin/sh
 # -*- mode: python; coding: utf-8 -*-
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # vim: ft=python:sw=4:tw=78
 # ---------------------------------------------------------------------------
 # @file runBs2DsKCPAsymmObsFitter-cFit.py
diff --git a/PhysFit/B2DXFitters/scripts/plotAsymmetry.py b/PhysFit/B2DXFitters/scripts/plotAsymmetry.py
index 5c0a30b049183103a9d96362dfb762f2bb00eeb5..4bb014c7c81fbf9536b8015f856fca75d1a1cb69 100755
--- a/PhysFit/B2DXFitters/scripts/plotAsymmetry.py
+++ b/PhysFit/B2DXFitters/scripts/plotAsymmetry.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- 
 # @file plotAsymmetry.py
 #
diff --git a/PhysFit/B2DXFitters/scripts/plotCombinedTemplates.py b/PhysFit/B2DXFitters/scripts/plotCombinedTemplates.py
index 4401fc1f39c485c53ba7114d0620eac7640c9582..b4cc69894b5ddab31baf98e2a0f657516c0d5c19 100644
--- a/PhysFit/B2DXFitters/scripts/plotCombinedTemplates.py
+++ b/PhysFit/B2DXFitters/scripts/plotCombinedTemplates.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- #
 #                                                                             #
 #   Python script to compare datas or pdfs                                    #
diff --git a/PhysFit/B2DXFitters/scripts/plotMDFitter.py b/PhysFit/B2DXFitters/scripts/plotMDFitter.py
index 20cc2c065f90d90fa9a3603c4eb81dddada8ef65..d3392d95fde9d7ac1dba9e3ae94598530aaad9dc 100755
--- a/PhysFit/B2DXFitters/scripts/plotMDFitter.py
+++ b/PhysFit/B2DXFitters/scripts/plotMDFitter.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- #
 #                                                                             #
 #   Python script to plot MDFitter results                                    #
diff --git a/PhysFit/B2DXFitters/scripts/plotMistag.py b/PhysFit/B2DXFitters/scripts/plotMistag.py
index 246d798819d6b0eb07a8f4f5b3f952c0c611edc2..05cfffe652806dfa5c0e2a8dacfad43577251db6 100755
--- a/PhysFit/B2DXFitters/scripts/plotMistag.py
+++ b/PhysFit/B2DXFitters/scripts/plotMistag.py
@@ -1,5 +1,15 @@
 #!/bin/sh
 # -*- mode: python; coding: utf-8 -*-
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # vim: ft=python:sw=4:tw=78:expandtab
 
 # This file is used as both a shell script and as a Python script.
diff --git a/PhysFit/B2DXFitters/scripts/plotPIDeffMisID.py b/PhysFit/B2DXFitters/scripts/plotPIDeffMisID.py
index 9e91c7cfe30c06dcd8421f126b4992c92cd33d21..f53b19ad10621e68649a003c86cfb5ad672f7b3d 100755
--- a/PhysFit/B2DXFitters/scripts/plotPIDeffMisID.py
+++ b/PhysFit/B2DXFitters/scripts/plotPIDeffMisID.py
@@ -1,5 +1,15 @@
 #!/bin/sh
 # -*- mode: python; coding: utf-8 -*-
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # vim: ft=python:sw=4:tw=78:expandtab
 # --------------------------------------------------------------------------- 
 # @file plotPIDeffMisID.py
diff --git a/PhysFit/B2DXFitters/scripts/plotSFit.py b/PhysFit/B2DXFitters/scripts/plotSFit.py
index 4f67c015aebe4b056f566edda78f8856107e3bd0..e9b1ab24c58e20d0e42f0f4a018709dad79544ef 100755
--- a/PhysFit/B2DXFitters/scripts/plotSFit.py
+++ b/PhysFit/B2DXFitters/scripts/plotSFit.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- #
 #                                                                             #
 #   Python script to plot the Bd -> D pi time models                          #
diff --git a/PhysFit/B2DXFitters/scripts/plotSFitFromFitresult.py b/PhysFit/B2DXFitters/scripts/plotSFitFromFitresult.py
index 8b96b83f6252d780ac80bc7f3093cdf00b2d3f4c..b4bdfbb49862bbee326a05a07b7d3d1d75109908 100644
--- a/PhysFit/B2DXFitters/scripts/plotSFitFromFitresult.py
+++ b/PhysFit/B2DXFitters/scripts/plotSFitFromFitresult.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 import os
 import sys
diff --git a/PhysFit/B2DXFitters/scripts/plotShapes.py b/PhysFit/B2DXFitters/scripts/plotShapes.py
index a103ab5377425dd3e996262bae225f09516e3c20..aa5fcb90d40c5a2f4c46379afa7cf9932589a708 100644
--- a/PhysFit/B2DXFitters/scripts/plotShapes.py
+++ b/PhysFit/B2DXFitters/scripts/plotShapes.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- #
 #                                                                             #
 #   Python script to plot background shapes                                   #
diff --git a/PhysFit/B2DXFitters/scripts/prepareWorkspace.py b/PhysFit/B2DXFitters/scripts/prepareWorkspace.py
index fe5f40a357d6ae741d2182ff11b295648edfa095..fce18beff2589a62564c1dab9a489b891c841b31 100755
--- a/PhysFit/B2DXFitters/scripts/prepareWorkspace.py
+++ b/PhysFit/B2DXFitters/scripts/prepareWorkspace.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- #
 #                                                                             #
 #   Python script to prepare workspace for B2DXFitter package                 #
diff --git a/PhysFit/B2DXFitters/scripts/printFitResult.py b/PhysFit/B2DXFitters/scripts/printFitResult.py
index 4f4dc6810c134d89b8a42a35ca2e01a691a11d4e..0c95e37782aa03931081982ea1f464a4ee9622fd 100755
--- a/PhysFit/B2DXFitters/scripts/printFitResult.py
+++ b/PhysFit/B2DXFitters/scripts/printFitResult.py
@@ -1,5 +1,15 @@
 #!/bin/sh
 # -*- mode: python; coding: utf-8 -*-
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # vim: ft=python:sw=4:tw=78
 # --------------------------------------------------------------------------- 
 # @file printFitResult.py
diff --git a/PhysFit/B2DXFitters/scripts/runMDFitter.py b/PhysFit/B2DXFitters/scripts/runMDFitter.py
index a9abbbd21e3ea70e3a43834d388b455c8572134b..7b43fcb3e4be7c0ff2e5bd6b710c69cd8f1f6233 100644
--- a/PhysFit/B2DXFitters/scripts/runMDFitter.py
+++ b/PhysFit/B2DXFitters/scripts/runMDFitter.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- #
 #                                                                             #
 #   Python script to run a mass fit on data for B -> DX                       #
diff --git a/PhysFit/B2DXFitters/scripts/runSFit_new.py b/PhysFit/B2DXFitters/scripts/runSFit_new.py
index c5cb549f5713f68bc31cdb75a4718eb9993975ec..ccbddd585167c3d1ae78b11502caefac19c8ec86 100755
--- a/PhysFit/B2DXFitters/scripts/runSFit_new.py
+++ b/PhysFit/B2DXFitters/scripts/runSFit_new.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- #
 #                                                                             #
 #   Python script to run a toy MC fit for the CP asymmetry observables        #
diff --git a/PhysFit/B2DXFitters/scripts/saveFitResults.py b/PhysFit/B2DXFitters/scripts/saveFitResults.py
index 22ac587b8689b66b6ec39896de15822b2287c493..979ccedaabccb5be248ed0d406dd4a9e8e4aa81b 100755
--- a/PhysFit/B2DXFitters/scripts/saveFitResults.py
+++ b/PhysFit/B2DXFitters/scripts/saveFitResults.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 
 # --------------------------------------------------------------------------- #
 #                                                                             #
diff --git a/PhysFit/B2DXFitters/scripts/toyFactory.py b/PhysFit/B2DXFitters/scripts/toyFactory.py
index fc5d68abdc2d048fae03456b833ec2e68ea3b881..3b8a8537126333060ae7a778299598d4f558aea0 100755
--- a/PhysFit/B2DXFitters/scripts/toyFactory.py
+++ b/PhysFit/B2DXFitters/scripts/toyFactory.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 """
 @file toyFactory.py
 
diff --git a/PhysFit/B2DXFitters/src/BasicMDFitPdf.cxx b/PhysFit/B2DXFitters/src/BasicMDFitPdf.cxx
index 2038719e36d0719a9bf0a5f0d4cfde0697a562e3..b0699e98ed0f4272cb29616a0dd1eb049745721a 100644
--- a/PhysFit/B2DXFitters/src/BasicMDFitPdf.cxx
+++ b/PhysFit/B2DXFitters/src/BasicMDFitPdf.cxx
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 //---------------------------------------------------------------------------//                                                                            
 //                                                                           //                                                                                         
 //  Basic PDFs used in the MDFit                                             //                                                                                
diff --git a/PhysFit/B2DXFitters/src/Bd2DhModels.cxx b/PhysFit/B2DXFitters/src/Bd2DhModels.cxx
index bc96046b9c2290f4430f7ca9d304a9a1610701e1..187d2b7cdadd902a2ac7f43559880f794291597a 100644
--- a/PhysFit/B2DXFitters/src/Bd2DhModels.cxx
+++ b/PhysFit/B2DXFitters/src/Bd2DhModels.cxx
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 //---------------------------------------------------------------------------//
 //                                                                           //
 //  RooFit models for Bd -> D h                                              //
diff --git a/PhysFit/B2DXFitters/src/Bs2Dsh2011TDAnaModels.cxx b/PhysFit/B2DXFitters/src/Bs2Dsh2011TDAnaModels.cxx
index 151e609393f30647da1d5d94e313dcc5ff9a3f00..12a354e3c2c95633696e750331402fdc9d5a5191 100644
--- a/PhysFit/B2DXFitters/src/Bs2Dsh2011TDAnaModels.cxx
+++ b/PhysFit/B2DXFitters/src/Bs2Dsh2011TDAnaModels.cxx
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 // ROOT and RooFit includes
 #include "RooFormulaVar.h"
 #include "RooAddPdf.h"
diff --git a/PhysFit/B2DXFitters/src/DecRateCoeff_Bd.cxx b/PhysFit/B2DXFitters/src/DecRateCoeff_Bd.cxx
index 83ba2c5371e92899fbe17dfc8ab1263316ec9b79..c8ae81ff7d4d7893451e49033dc5e025392e8aab 100644
--- a/PhysFit/B2DXFitters/src/DecRateCoeff_Bd.cxx
+++ b/PhysFit/B2DXFitters/src/DecRateCoeff_Bd.cxx
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 #include "Riostream.h"
 
 #include "B2DXFitters/DecRateCoeff_Bd.h"
diff --git a/PhysFit/B2DXFitters/src/FitMeTool.cxx b/PhysFit/B2DXFitters/src/FitMeTool.cxx
index 39a834d17ae6e8492bfed63114cf776f8a2aeaf8..41a23dda0de497b455058978712c3776a46ec5e6 100644
--- a/PhysFit/B2DXFitters/src/FitMeTool.cxx
+++ b/PhysFit/B2DXFitters/src/FitMeTool.cxx
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 //---------------------------------------------------------------------------//
 //                                                                           //
 //  Fitter toolkit base class based on RooFit                                //
diff --git a/PhysFit/B2DXFitters/src/GeneralUtils.cxx b/PhysFit/B2DXFitters/src/GeneralUtils.cxx
index 15e9056b2c03c45931faac9a3890f4456f51d972..50662ce0fd04664e67308394a0c1d674c341019d 100644
--- a/PhysFit/B2DXFitters/src/GeneralUtils.cxx
+++ b/PhysFit/B2DXFitters/src/GeneralUtils.cxx
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 //---------------------------------------------------------------------------//
 //                                                                           //
 //  General utilities                                                        //
diff --git a/PhysFit/B2DXFitters/src/MDFitterSettings.cxx b/PhysFit/B2DXFitters/src/MDFitterSettings.cxx
index 5e4f99184df4875fce0a0dea76490b39df32b22b..69bd9905ffc08a18bbd97f9bc1b51bbb3bbf808b 100644
--- a/PhysFit/B2DXFitters/src/MDFitterSettings.cxx
+++ b/PhysFit/B2DXFitters/src/MDFitterSettings.cxx
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 /***************************************************************************** 
  * Project: RooFit                                                           * 
  *                                                                           * 
diff --git a/PhysFit/B2DXFitters/src/MassFitUtils.cxx b/PhysFit/B2DXFitters/src/MassFitUtils.cxx
index 930b2d59c653b4d459dab99ad45bbe9c295db817..77e3c472aed6549d8febaa0c10b2bd89dca9986f 100644
--- a/PhysFit/B2DXFitters/src/MassFitUtils.cxx
+++ b/PhysFit/B2DXFitters/src/MassFitUtils.cxx
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 //---------------------------------------------------------------------------//
 //                                                                           //
 //  Mass fit utilities                                                       //
diff --git a/PhysFit/B2DXFitters/src/SFitUtils.cxx b/PhysFit/B2DXFitters/src/SFitUtils.cxx
index 3be75fd441a8b8c4c01a949659aef9d66d07ee4a..120e44a7980f476d34a353189a4ed2d11e678a5d 100644
--- a/PhysFit/B2DXFitters/src/SFitUtils.cxx
+++ b/PhysFit/B2DXFitters/src/SFitUtils.cxx
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 //---------------------------------------------------------------------------//
 //                                                                           //
 //  SFit utilities                                                           //
diff --git a/PhysFit/B2DXFitters/tests/test_taggingutils.py b/PhysFit/B2DXFitters/tests/test_taggingutils.py
index a301e8e40fbe82891d12cc3ae3112fd44247f34e..d84905d8a1c789403c9555e90e304e4d65804b2c 100755
--- a/PhysFit/B2DXFitters/tests/test_taggingutils.py
+++ b/PhysFit/B2DXFitters/tests/test_taggingutils.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- #
 #                                                                             #
 #   Python script to test the taggingutils module                             #
diff --git a/PhysFit/B2DXFitters/tutorial/decRateCoeff_Bd_tut_MeanRes.py b/PhysFit/B2DXFitters/tutorial/decRateCoeff_Bd_tut_MeanRes.py
index bd4f6d7b8980e9503b904c14b3d42a98c6f33b48..674ce80999f75e72581c5668939ad606cb23f8b3 100755
--- a/PhysFit/B2DXFitters/tutorial/decRateCoeff_Bd_tut_MeanRes.py
+++ b/PhysFit/B2DXFitters/tutorial/decRateCoeff_Bd_tut_MeanRes.py
@@ -1,4 +1,14 @@
 #!/bin/sh
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- 
 # @file decRateCoeff_Bd_tut_MeanRes.py
 #
diff --git a/PhysFit/B2DXFitters/tutorial/decRateCoeff_Bd_tut_PEDTE.py b/PhysFit/B2DXFitters/tutorial/decRateCoeff_Bd_tut_PEDTE.py
index 078925b8ccbfc8cddfb9897820c17000e03c72ed..7803441563e961315eba51751d9b0a36db8635ba 100755
--- a/PhysFit/B2DXFitters/tutorial/decRateCoeff_Bd_tut_PEDTE.py
+++ b/PhysFit/B2DXFitters/tutorial/decRateCoeff_Bd_tut_PEDTE.py
@@ -1,4 +1,14 @@
 #!/bin/sh
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- 
 # @file decRateCoeff_Bd_tut_PEDTE.py
 #
diff --git a/PhysFit/B2DXFitters/tutorial/glm_tutorial000.py b/PhysFit/B2DXFitters/tutorial/glm_tutorial000.py
index ee2787089a34aefb1c4fda625e763e65b7c0a577..949099791c9806e300192c5442813e193ed8b877 100755
--- a/PhysFit/B2DXFitters/tutorial/glm_tutorial000.py
+++ b/PhysFit/B2DXFitters/tutorial/glm_tutorial000.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- 
 # @file glm_tutorial000.py
 #
diff --git a/PhysFit/B2DXFitters/tutorial/glm_tutorial001.py b/PhysFit/B2DXFitters/tutorial/glm_tutorial001.py
index 9b9c4b9e413af60cf37f0fd944844d0649e9d4b1..fc7e04ec53e5284a033880417725e7a46d6e3fa3 100755
--- a/PhysFit/B2DXFitters/tutorial/glm_tutorial001.py
+++ b/PhysFit/B2DXFitters/tutorial/glm_tutorial001.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- 
 # @file glm_tutorial001.py
 #
diff --git a/PhysFit/B2DXFitters/tutorial/glm_tutorial002.py b/PhysFit/B2DXFitters/tutorial/glm_tutorial002.py
index f68f68f9a59844f5d3b1f275cb149fd477d51922..58b5cc232b5e63b89993bbfb7deca99a7036d96f 100755
--- a/PhysFit/B2DXFitters/tutorial/glm_tutorial002.py
+++ b/PhysFit/B2DXFitters/tutorial/glm_tutorial002.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # --------------------------------------------------------------------------- 
 # @file glm_tutorial002.py
 #
diff --git a/PhysFit/B2DXFitters/tutorial/time-tut000.py b/PhysFit/B2DXFitters/tutorial/time-tut000.py
index a99a61ad577d4162000f5fce1d7d38e3eb0107a7..858db4328fc3b29eedc519239243546e67455a1e 100755
--- a/PhysFit/B2DXFitters/tutorial/time-tut000.py
+++ b/PhysFit/B2DXFitters/tutorial/time-tut000.py
@@ -1,5 +1,15 @@
 #!/bin/sh
 # -*- mode: python; coding: utf-8 -*-
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # vim: ft=python:sw=4:tw=78:expandtab
 # --------------------------------------------------------------------------- 
 # @file time-tut000.py
diff --git a/PhysFit/B2DXFitters/tutorial/time-tut001.py b/PhysFit/B2DXFitters/tutorial/time-tut001.py
index 98f576ab80ee2a80e21e999992a4805bb79b8302..c5150615ac444c2d2563174c35bf93954a5c0944 100755
--- a/PhysFit/B2DXFitters/tutorial/time-tut001.py
+++ b/PhysFit/B2DXFitters/tutorial/time-tut001.py
@@ -1,5 +1,15 @@
 #!/bin/sh
 # -*- mode: python; coding: utf-8 -*-
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # vim: ft=python:sw=4:tw=78:expandtab
 # --------------------------------------------------------------------------- 
 # @file time-tut001.py
diff --git a/PhysFit/B2DXFitters/tutorial/time-tut002.py b/PhysFit/B2DXFitters/tutorial/time-tut002.py
index d96e1f3d1c16cd8ba9f31583b7cfa909feb91c24..86ffa04e8159dffa6e71e20cb344026292082302 100755
--- a/PhysFit/B2DXFitters/tutorial/time-tut002.py
+++ b/PhysFit/B2DXFitters/tutorial/time-tut002.py
@@ -1,5 +1,15 @@
 #!/bin/sh
 # -*- mode: python; coding: utf-8 -*-
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # vim: ft=python:sw=4:tw=78:expandtab
 # --------------------------------------------------------------------------- 
 # @file time-tut002.py
diff --git a/PhysFit/B2DXFitters/tutorial/time-tut003.py b/PhysFit/B2DXFitters/tutorial/time-tut003.py
index a8017f3876a2452d389202d430259f556da06ae2..ebd3cc935eeb2e76d6a691440e669a029b2556a1 100755
--- a/PhysFit/B2DXFitters/tutorial/time-tut003.py
+++ b/PhysFit/B2DXFitters/tutorial/time-tut003.py
@@ -1,5 +1,15 @@
 #!/bin/sh
 # -*- mode: python; coding: utf-8 -*-
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # vim: ft=python:sw=4:tw=78:expandtab
 # --------------------------------------------------------------------------- 
 # @file time-tut003.py
diff --git a/PhysFit/B2DXFitters/tutorial/time-tut004.py b/PhysFit/B2DXFitters/tutorial/time-tut004.py
index b2deddf7b419f908bd254c3b58ef11fedb105fdd..0dce9ed8c220140a413c5134b945d85d7abdd8b4 100755
--- a/PhysFit/B2DXFitters/tutorial/time-tut004.py
+++ b/PhysFit/B2DXFitters/tutorial/time-tut004.py
@@ -1,5 +1,15 @@
 #!/bin/sh
 # -*- mode: python; coding: utf-8 -*-
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 # vim: ft=python:sw=4:tw=78:expandtab
 # --------------------------------------------------------------------------- 
 # @file time-tut004.py
diff --git a/PhysTools/Meerkat/CMakeLists.txt b/PhysTools/Meerkat/CMakeLists.txt
index f5aee754f5fd7400d5f38c99cd39fdf785e8e4c3..2e9d98656fbcb277f415249c588724c33a29ce74 100644
--- a/PhysTools/Meerkat/CMakeLists.txt
+++ b/PhysTools/Meerkat/CMakeLists.txt
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 ################################################################################
 # Package: Meerkat
 ################################################################################
diff --git a/PhysTools/Meerkat/python/CombinedPdf.py b/PhysTools/Meerkat/python/CombinedPdf.py
index 6b944ad557c83a3416b41874f1664d3e2550cadc..f5ca1ea295c50faa458fc85150a2306b737ecfdb 100644
--- a/PhysTools/Meerkat/python/CombinedPdf.py
+++ b/PhysTools/Meerkat/python/CombinedPdf.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 #   This example demonstrated the use of combined phase spaces and factorised density. 
 #   Here we create a 2D phase space for two variables in range (-1,1), and estimate 
diff --git a/PhysTools/Meerkat/python/DalitzPdf.py b/PhysTools/Meerkat/python/DalitzPdf.py
index 0308e0279e234af946da34c508011d756c14034e..6c21917128cbf88df1d8852c9b6e6dbba5f184ea 100644
--- a/PhysTools/Meerkat/python/DalitzPdf.py
+++ b/PhysTools/Meerkat/python/DalitzPdf.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 #  An example of using 2D Dalitz plot phase space class. 
 #  Generate points across the Dalitz plot and use kernel 
diff --git a/PhysTools/Meerkat/python/ExtendedDalitzPdf.py b/PhysTools/Meerkat/python/ExtendedDalitzPdf.py
index 4ac8e1f9cbc7b182966a908a238dd5c873279c63..510012ad026dea4d9f3f8b33b3b8e727e0e014d2 100644
--- a/PhysTools/Meerkat/python/ExtendedDalitzPdf.py
+++ b/PhysTools/Meerkat/python/ExtendedDalitzPdf.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 #  An example of using Extended Dalitz plot phase space class. 
 #  (Dalitz plot with the mass of the mother particle in a range)
diff --git a/PhysTools/Meerkat/python/FourBodyPhaseSpace.py b/PhysTools/Meerkat/python/FourBodyPhaseSpace.py
index 38c76d44ab0301abda900d11ac9b7996624330a9..3a856218a0f3138fa238df1f9900e25cefb3bea0 100644
--- a/PhysTools/Meerkat/python/FourBodyPhaseSpace.py
+++ b/PhysTools/Meerkat/python/FourBodyPhaseSpace.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 # This example script calculates the efficiency over the phase space 
 # of four-body decay D0->K+K-pi+pi-. The phase space variables are 
diff --git a/PhysTools/Meerkat/python/Histogram2DPdf.py b/PhysTools/Meerkat/python/Histogram2DPdf.py
index d817e577478245d23956d20593e01b3d65545c5e..6ca5c8e9490447b42c8e5803228074db72cb6189 100644
--- a/PhysTools/Meerkat/python/Histogram2DPdf.py
+++ b/PhysTools/Meerkat/python/Histogram2DPdf.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 #  An example of using histogram density class. 
 
diff --git a/PhysTools/Meerkat/python/HistogramDensity.py b/PhysTools/Meerkat/python/HistogramDensity.py
index 36838b0d91c6c0ce5455a3919f22adb59f780771..d76f61b1d57dde0967c99f9c485158408d781185 100644
--- a/PhysTools/Meerkat/python/HistogramDensity.py
+++ b/PhysTools/Meerkat/python/HistogramDensity.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 #  Generate a uniform distribution in the range (-1,1)
 #  and apply a Meerkat procedure to estimate PDF from it. 
diff --git a/PhysTools/Meerkat/python/OneDimAdaptiveKernel.py b/PhysTools/Meerkat/python/OneDimAdaptiveKernel.py
index cb00056c174c292da321f0baef562cb2d34e5515..b66cf108ff2174680fcf76f48aa0755a615bd81b 100644
--- a/PhysTools/Meerkat/python/OneDimAdaptiveKernel.py
+++ b/PhysTools/Meerkat/python/OneDimAdaptiveKernel.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 #  This is an example of using adaptive kernel class for estimation of 1D PDF 
 #  with a narrow peak. 
diff --git a/PhysTools/Meerkat/python/OneDimPdf.py b/PhysTools/Meerkat/python/OneDimPdf.py
index e8c655bf8b7fe454efa8f880234a1c5e5b908189..246c3e51898a02a121b5599ae058b211defe47af 100644
--- a/PhysTools/Meerkat/python/OneDimPdf.py
+++ b/PhysTools/Meerkat/python/OneDimPdf.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 #  This is the simplest possible example of using Meerkat package. 
 #
diff --git a/PhysTools/Meerkat/python/ParamPhsp.py b/PhysTools/Meerkat/python/ParamPhsp.py
index 6f038a035ae2035a3edeba6b262b0f386d7509d5..aa227e96ae53b7986e3ee5d542343f37688ca1e6 100644
--- a/PhysTools/Meerkat/python/ParamPhsp.py
+++ b/PhysTools/Meerkat/python/ParamPhsp.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 #  An example of using 2D parametric phase space class. 
 
diff --git a/PhysTools/Meerkat/python/WeightedTuple.py b/PhysTools/Meerkat/python/WeightedTuple.py
index 34e261d816042fc54e6b5bee27e9c7cc25764ab8..1a1f8933aae7ad842afed1d1d1fc95a4c22d8e57 100644
--- a/PhysTools/Meerkat/python/WeightedTuple.py
+++ b/PhysTools/Meerkat/python/WeightedTuple.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import division
 #  This example demonstrates the use of weighted ntuple. 
 #
diff --git a/PhysTools/Meerkat/src/AbsPhaseSpace.cpp b/PhysTools/Meerkat/src/AbsPhaseSpace.cpp
index 189cd0d80bc1d765236cba7d45cd5f155b07a037..4837bcfbb8a309810272537191a53fd80cddb6c3 100644
--- a/PhysTools/Meerkat/src/AbsPhaseSpace.cpp
+++ b/PhysTools/Meerkat/src/AbsPhaseSpace.cpp
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           *
+*                                                                             *
+* This software is distributed under the terms of the GNU General Public      *
+* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   *
+*                                                                             *
+* In applying this licence, CERN does not waive the privileges and immunities *
+* granted to it by virtue of its status as an Intergovernmental Organization  *
+* or submit itself to any jurisdiction.                                       *
+\*****************************************************************************/
 #include <stdio.h>
 #include <vector>
 
diff --git a/TrackCalib/CMakeLists.txt b/TrackCalib/CMakeLists.txt
index 78b9d5cd075e10f951cb49932a124d97d2370d85..de54dc8f7b0e70141071fe34ef5892cda6859be8 100644
--- a/TrackCalib/CMakeLists.txt
+++ b/TrackCalib/CMakeLists.txt
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 ################################################################################
 # Package: TrackCalib
 ################################################################################
diff --git a/TrackCalib/python/TrackCalib/Fit.py b/TrackCalib/python/TrackCalib/Fit.py
index 140ba83e0e2e38cf04114689659cd1c0146acec8..38aa1c1e5d787194563b83543c02f98b68bd1781 100644
--- a/TrackCalib/python/TrackCalib/Fit.py
+++ b/TrackCalib/python/TrackCalib/Fit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 from __future__ import division
diff --git a/TrackCalib/python/TrackCalib/Plot.py b/TrackCalib/python/TrackCalib/Plot.py
index a0a468945e8135afb9bed4bb34f7887d77ee3d0d..35b89e45d0760b7e25cf8a9a55f33fd0699925b5 100644
--- a/TrackCalib/python/TrackCalib/Plot.py
+++ b/TrackCalib/python/TrackCalib/Plot.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 from __future__ import division
diff --git a/TrackCalib/python/TrackCalib/Prepare.py b/TrackCalib/python/TrackCalib/Prepare.py
index 78ff0c4dbcf31965505dfbce84aebbed1fdee5a6..464989ec3cfc77e620dbc34ccc61fd33122e093d 100644
--- a/TrackCalib/python/TrackCalib/Prepare.py
+++ b/TrackCalib/python/TrackCalib/Prepare.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import absolute_import
 from __future__ import division
diff --git a/TrackCalib/python/TrackCalib/Utils.py b/TrackCalib/python/TrackCalib/Utils.py
index 5532240d13749c63c9c41c6fb07c149313889b38..e53007e972b70f8a6c085a851be6c940862b4882 100644
--- a/TrackCalib/python/TrackCalib/Utils.py
+++ b/TrackCalib/python/TrackCalib/Utils.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 from __future__ import division
 
diff --git a/TrackCalib/scripts/CreateTrackEffTables.py b/TrackCalib/scripts/CreateTrackEffTables.py
index 38b08377f4d9d1703da322ceedb8957a5026b7af..104bbd4c8e5b21d0c89b25d84b3f9057475a39c6 100644
--- a/TrackCalib/scripts/CreateTrackEffTables.py
+++ b/TrackCalib/scripts/CreateTrackEffTables.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 from __future__ import print_function
 
 from TrackCalib.Fit import *
diff --git a/UraniaSys/CMakeLists.txt b/UraniaSys/CMakeLists.txt
index 1bd756b07280073cf8ee8739efa2f3e9605b7d40..2351cfa546766633f04a69215220624341f203da 100644
--- a/UraniaSys/CMakeLists.txt
+++ b/UraniaSys/CMakeLists.txt
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
 ################################################################################
 # Package: UraniaSys
 ################################################################################
diff --git a/UraniaSys/doc/DoxyUraniaHeader.html b/UraniaSys/doc/DoxyUraniaHeader.html
index 57889e00024d80447ac7acc0fe7344e3a1ca5992..53acca60bf425c7c99a0652c398c934e59673a3a 100644
--- a/UraniaSys/doc/DoxyUraniaHeader.html
+++ b/UraniaSys/doc/DoxyUraniaHeader.html
@@ -1,4 +1,14 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<!--
+    (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration
+
+    This software is distributed under the terms of the GNU General Public
+    Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
+
+    In applying this licence, CERN does not waive the privileges and immunities
+    granted to it by virtue of its status as an Intergovernmental Organization
+    or submit itself to any jurisdiction.
+-->
 <html><head><meta name="robots" content="noindex">
 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
 <link href="http://lhcbdoc.web.cern.ch/lhcbdoc/css/doxygen.css" rel="stylesheet" type="text/css">