diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000000000000000000000000000000000..87d5703d962127ffd3360f59273f50c6f0dfd6a9
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,15 @@
+###############################################################################
+# (c) Copyright 2018 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.                                       #
+###############################################################################
+check-copyright:
+  image: gitlab-registry.cern.ch/ci-tools/ci-worker:cc7
+  script:
+    - curl -o check_copyright.py "https://gitlab.cern.ch/lhcb-core/LbDevTools/raw/master/LbDevTools/CopyrightCheck.py?inline=false"
+    - python check_copyright.py origin/master
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d3983764659b329821dd487db5695a3954ea2129..ae7558bc1584c57015fa82d4edef88fefc1e6738 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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)
 
 #---------------------------------------------------------------
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000000000000000000000000000000000000..f288702d2fa16d3cdf0035b15a9fcbc552cd88e7
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,674 @@
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+  The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works.  By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.  We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors.  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+  To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights.  Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received.  You must make sure that they, too, receive
+or can get the source code.  And you must show them these terms so they
+know their rights.
+
+  Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+  For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software.  For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+  Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so.  This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software.  The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable.  Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products.  If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+  Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary.  To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                       TERMS AND CONDITIONS
+
+  0. Definitions.
+
+  "This License" refers to version 3 of the GNU General Public License.
+
+  "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+  "The Program" refers to any copyrightable work licensed under this
+License.  Each licensee is addressed as "you".  "Licensees" and
+"recipients" may be individuals or organizations.
+
+  To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy.  The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+  A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+  To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy.  Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+  To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies.  Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+  An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License.  If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+  1. Source Code.
+
+  The "source code" for a work means the preferred form of the work
+for making modifications to it.  "Object code" means any non-source
+form of a work.
+
+  A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+  The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form.  A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+  The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities.  However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work.  For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+  The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+  The Corresponding Source for a work in source code form is that
+same work.
+
+  2. Basic Permissions.
+
+  All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met.  This License explicitly affirms your unlimited
+permission to run the unmodified Program.  The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work.  This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+  You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force.  You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright.  Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+  Conveying under any other circumstances is permitted solely under
+the conditions stated below.  Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+  No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+  When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+  4. Conveying Verbatim Copies.
+
+  You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+  You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+  5. Conveying Modified Source Versions.
+
+  You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+    a) The work must carry prominent notices stating that you modified
+    it, and giving a relevant date.
+
+    b) The work must carry prominent notices stating that it is
+    released under this License and any conditions added under section
+    7.  This requirement modifies the requirement in section 4 to
+    "keep intact all notices".
+
+    c) You must license the entire work, as a whole, under this
+    License to anyone who comes into possession of a copy.  This
+    License will therefore apply, along with any applicable section 7
+    additional terms, to the whole of the work, and all its parts,
+    regardless of how they are packaged.  This License gives no
+    permission to license the work in any other way, but it does not
+    invalidate such permission if you have separately received it.
+
+    d) If the work has interactive user interfaces, each must display
+    Appropriate Legal Notices; however, if the Program has interactive
+    interfaces that do not display Appropriate Legal Notices, your
+    work need not make them do so.
+
+  A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit.  Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+  6. Conveying Non-Source Forms.
+
+  You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+    a) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by the
+    Corresponding Source fixed on a durable physical medium
+    customarily used for software interchange.
+
+    b) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by a
+    written offer, valid for at least three years and valid for as
+    long as you offer spare parts or customer support for that product
+    model, to give anyone who possesses the object code either (1) a
+    copy of the Corresponding Source for all the software in the
+    product that is covered by this License, on a durable physical
+    medium customarily used for software interchange, for a price no
+    more than your reasonable cost of physically performing this
+    conveying of source, or (2) access to copy the
+    Corresponding Source from a network server at no charge.
+
+    c) Convey individual copies of the object code with a copy of the
+    written offer to provide the Corresponding Source.  This
+    alternative is allowed only occasionally and noncommercially, and
+    only if you received the object code with such an offer, in accord
+    with subsection 6b.
+
+    d) Convey the object code by offering access from a designated
+    place (gratis or for a charge), and offer equivalent access to the
+    Corresponding Source in the same way through the same place at no
+    further charge.  You need not require recipients to copy the
+    Corresponding Source along with the object code.  If the place to
+    copy the object code is a network server, the Corresponding Source
+    may be on a different server (operated by you or a third party)
+    that supports equivalent copying facilities, provided you maintain
+    clear directions next to the object code saying where to find the
+    Corresponding Source.  Regardless of what server hosts the
+    Corresponding Source, you remain obligated to ensure that it is
+    available for as long as needed to satisfy these requirements.
+
+    e) Convey the object code using peer-to-peer transmission, provided
+    you inform other peers where the object code and Corresponding
+    Source of the work are being offered to the general public at no
+    charge under subsection 6d.
+
+  A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+  A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling.  In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage.  For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product.  A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+  "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source.  The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+  If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information.  But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+  The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed.  Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+  Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+  7. Additional Terms.
+
+  "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law.  If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+  When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it.  (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.)  You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+  Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+    a) Disclaiming warranty or limiting liability differently from the
+    terms of sections 15 and 16 of this License; or
+
+    b) Requiring preservation of specified reasonable legal notices or
+    author attributions in that material or in the Appropriate Legal
+    Notices displayed by works containing it; or
+
+    c) Prohibiting misrepresentation of the origin of that material, or
+    requiring that modified versions of such material be marked in
+    reasonable ways as different from the original version; or
+
+    d) Limiting the use for publicity purposes of names of licensors or
+    authors of the material; or
+
+    e) Declining to grant rights under trademark law for use of some
+    trade names, trademarks, or service marks; or
+
+    f) Requiring indemnification of licensors and authors of that
+    material by anyone who conveys the material (or modified versions of
+    it) with contractual assumptions of liability to the recipient, for
+    any liability that these contractual assumptions directly impose on
+    those licensors and authors.
+
+  All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10.  If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term.  If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+  If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+  Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+  8. Termination.
+
+  You may not propagate or modify a covered work except as expressly
+provided under this License.  Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+  However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+  Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+  Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License.  If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+  9. Acceptance Not Required for Having Copies.
+
+  You are not required to accept this License in order to receive or
+run a copy of the Program.  Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance.  However,
+nothing other than this License grants you permission to propagate or
+modify any covered work.  These actions infringe copyright if you do
+not accept this License.  Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+  10. Automatic Licensing of Downstream Recipients.
+
+  Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License.  You are not responsible
+for enforcing compliance by third parties with this License.
+
+  An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations.  If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+  You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License.  For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+  11. Patents.
+
+  A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based.  The
+work thus licensed is called the contributor's "contributor version".
+
+  A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version.  For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+  Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+  In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement).  To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+  If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients.  "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+  If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+  A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License.  You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+  Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+  12. No Surrender of Others' Freedom.
+
+  If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all.  For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+  13. Use with the GNU Affero General Public License.
+
+  Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work.  The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+  14. Revised Versions of this License.
+
+  The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+  Each version is given a distinguishing version number.  If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation.  If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+  If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+  Later license versions may give you additional or different
+permissions.  However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+  15. Disclaimer of Warranty.
+
+  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. Limitation of Liability.
+
+  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+  17. Interpretation of Sections 15 and 16.
+
+  If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+                     END OF TERMS AND CONDITIONS
+
+            How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+  If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+    <program>  Copyright (C) <year>  <name of author>
+    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+  You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<https://www.gnu.org/licenses/>.
+
+  The GNU General Public License does not permit incorporating your program
+into proprietary programs.  If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library.  If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.  But first, please read
+<https://www.gnu.org/licenses/why-not-lgpl.html>.
diff --git a/DaVinciSys/CMakeLists.txt b/DaVinciSys/CMakeLists.txt
index 7e7eea9ea77e3a5e5ac0dda1312267e03f5cf0e7..e2666d97751c8b3b66bc14a67bafe4949f37c761 100644
--- a/DaVinciSys/CMakeLists.txt
+++ b/DaVinciSys/CMakeLists.txt
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DaVinciSys
 ################################################################################
diff --git a/DaVinciSys/doc/MainPage.h b/DaVinciSys/doc/MainPage.h
index f7c16602f61f939cca427f6e0bb8e0c1b197ac94..dca7805dcbb369599af4a19c955c1f9b961ee06d 100755
--- a/DaVinciSys/doc/MainPage.h
+++ b/DaVinciSys/doc/MainPage.h
@@ -1,3 +1,13 @@
+/*****************************************************************************\
+* (c) Copyright 2000-2018 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.                                       *
+\*****************************************************************************/
 /** \mainpage notitle
  *  \anchor davincidoxygenmain
  *
diff --git a/DaVinciSys/tests/options/DVTestInitialise.py b/DaVinciSys/tests/options/DVTestInitialise.py
index ecf0efcb7ea2fa71fd7cfea357edace240020b47..7becd1b0b9621c0169d0e67e18501a70b3f909d1 100755
--- a/DaVinciSys/tests/options/DVTestInitialise.py
+++ b/DaVinciSys/tests/options/DVTestInitialise.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DVTestInitialise.py,v 1.4 2010-02-23 10:33:21 jpalac Exp $
 ## ============================================================================
 ## CVS tag $Name: not supported by cvs2svn $
diff --git a/DaVinciSys/tests/qmtest/davincisys.qms/davincisys.qmt b/DaVinciSys/tests/qmtest/davincisys.qms/davincisys.qmt
index 3c3690e009157c949d139086606e2998c33fb3eb..893067474ee616bc32dacf44b9c8625ff51113dc 100755
--- a/DaVinciSys/tests/qmtest/davincisys.qms/davincisys.qmt
+++ b/DaVinciSys/tests/qmtest/davincisys.qms/davincisys.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
 <argument name="args"><set>
diff --git a/DaVinciSys/tests/qmtest/sam.qms b/DaVinciSys/tests/qmtest/sam.qms
index e9be82e57eada1f7096ab2d5e960d4d5673deda5..0ad1629911c7ba56f9b011fa16356d330576e348 100755
--- a/DaVinciSys/tests/qmtest/sam.qms
+++ b/DaVinciSys/tests/qmtest/sam.qms
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="explicit_suite.ExplicitSuite" kind="suite">
   <argument name="test_ids"><set>
diff --git a/DaVinciTests/CMakeLists.txt b/DaVinciTests/CMakeLists.txt
index 5086e7ac4491c9d3918abe84c8c924f3dcc3d1d8..bab2a6f38db302efb2f214653f416ece91d4e3c6 100644
--- a/DaVinciTests/CMakeLists.txt
+++ b/DaVinciTests/CMakeLists.txt
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DaVinciTests
 ################################################################################
diff --git a/DaVinciTests/python/DaVinciTests/QMTest/DaVinciExclusions.py b/DaVinciTests/python/DaVinciTests/QMTest/DaVinciExclusions.py
index a04654365e09d4fe3ac81b519785352c8902bc58..e8f1b85d11b39c18029320d2f5cc1e13c5c09df6 100755
--- a/DaVinciTests/python/DaVinciTests/QMTest/DaVinciExclusions.py
+++ b/DaVinciTests/python/DaVinciTests/QMTest/DaVinciExclusions.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 GaudiTest import LineSkipper, RegexpReplacer
 from GaudiConf.QMTest.LHCbExclusions import preprocessor as LHCbPreprocessor
 
diff --git a/DaVinciTests/python/DaVinciTests/QMTest/__init__.py b/DaVinciTests/python/DaVinciTests/QMTest/__init__.py
index 292306f8f29560b01ae267a2e3939cdc61c758ae..a9ca42629b7585a30fbb5b7bbd4957500d59d67e 100755
--- a/DaVinciTests/python/DaVinciTests/QMTest/__init__.py
+++ b/DaVinciTests/python/DaVinciTests/QMTest/__init__.py
@@ -1,2 +1,12 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 # tells python that this directory is a module
 
diff --git a/DaVinciTests/tests/options/CommonParticles/DVTestStandardBasic.py b/DaVinciTests/tests/options/CommonParticles/DVTestStandardBasic.py
index 88fd9e9b976ed2961f21832ece1f401e47cde345..d3536def04634203f5c330a72b154c8929c90f99 100644
--- a/DaVinciTests/tests/options/CommonParticles/DVTestStandardBasic.py
+++ b/DaVinciTests/tests/options/CommonParticles/DVTestStandardBasic.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DVTestCommonParticles.py,v 1.3 2010/01/06 08:51:50 pkoppenb Exp $
 #
diff --git a/DaVinciTests/tests/options/CommonParticles/DVTestStandardIntermediate.py b/DaVinciTests/tests/options/CommonParticles/DVTestStandardIntermediate.py
index 1cdb1e493fe2a7bdeb48913d73ddfede9238d3cd..6e02a5a105768533a7b0feb237fb07afe2d27a67 100644
--- a/DaVinciTests/tests/options/CommonParticles/DVTestStandardIntermediate.py
+++ b/DaVinciTests/tests/options/CommonParticles/DVTestStandardIntermediate.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DVTestCommonParticles.py,v 1.3 2010/01/06 08:51:50 pkoppenb Exp $
 #
diff --git a/DaVinciTests/tests/options/CommonParticles/TestStandardBasicCuts.py b/DaVinciTests/tests/options/CommonParticles/TestStandardBasicCuts.py
index 5bfd90250666607788498d0ba1d08dee234ead12..da6c0d87667ee6c92f9217bc957f2cf6557786b0 100644
--- a/DaVinciTests/tests/options/CommonParticles/TestStandardBasicCuts.py
+++ b/DaVinciTests/tests/options/CommonParticles/TestStandardBasicCuts.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """Test validisy of CommonParticles.StandardBasic cuts.
 
    syntax: gaudirun.py $DAVINCIMONITORSROOT/options/TestStandardBasicCuts.py
diff --git a/DaVinciTests/tests/options/CommonParticles/TestStandardIntermediateCuts.py b/DaVinciTests/tests/options/CommonParticles/TestStandardIntermediateCuts.py
index 1f07d818648df30c030eb245bd2b7bcdd319cd21..fc374b9a4905b95a3c15c09f99b55e558061ba7d 100644
--- a/DaVinciTests/tests/options/CommonParticles/TestStandardIntermediateCuts.py
+++ b/DaVinciTests/tests/options/CommonParticles/TestStandardIntermediateCuts.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """Test validisy of CommonParticles.StandardIntermediate cuts.
 
    syntax: gaudirun.py $DAVINCIMONITORSROOT/options/TestStandardIntermediateCuts.py
diff --git a/DaVinciTests/tests/options/DVMonitorDst.py b/DaVinciTests/tests/options/DVMonitorDst.py
index 7d8a130f53f30d0f0465137a83a8af2997725b26..0b736868b43717b298485b58721a7633561a1b41 100644
--- a/DaVinciTests/tests/options/DVMonitorDst.py
+++ b/DaVinciTests/tests/options/DVMonitorDst.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DVMonitorDst.py,v 1.4 2010/03/17 18:44:33 pkoppenb Exp $
 #
diff --git a/DaVinciTests/tests/options/DVReadKs.py b/DaVinciTests/tests/options/DVReadKs.py
index ab9f9fbc0905b6264997dd1495cb57c9ae66e2bb..7f129540d5417b72739094bd1f7a44a8941f2d8c 100644
--- a/DaVinciTests/tests/options/DVReadKs.py
+++ b/DaVinciTests/tests/options/DVReadKs.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 #
 #   Stripping selections job (DST output)
 #
diff --git a/DaVinciTests/tests/options/DVStrippingDST-RealData.py b/DaVinciTests/tests/options/DVStrippingDST-RealData.py
index 8e9017866c133404a189e2a97c7a001762e92f18..dda72ca2b87a0ba0263457d22935400e7365352c 100644
--- a/DaVinciTests/tests/options/DVStrippingDST-RealData.py
+++ b/DaVinciTests/tests/options/DVStrippingDST-RealData.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 #
 #   Stripping selections job (DST output)
 #
diff --git a/DaVinciTests/tests/options/DVTestDecayTreeTuple-MC.py b/DaVinciTests/tests/options/DVTestDecayTreeTuple-MC.py
index 566d661f27e183c680a044febda9cdd923b6f26b..333067d89c96107cb9644edbb7ab4143f5f97be2 100755
--- a/DaVinciTests/tests/options/DVTestDecayTreeTuple-MC.py
+++ b/DaVinciTests/tests/options/DVTestDecayTreeTuple-MC.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 DVTestHltDecayTreeTuple-TisTos.py
  #
  #  See DecayTreeTuple documentation
diff --git a/DaVinciTests/tests/options/DVTestDecayTreeTuple-MC2010.py b/DaVinciTests/tests/options/DVTestDecayTreeTuple-MC2010.py
index 76796fa44af9cd04752ff59703610adee72d8e3c..d6c2ef8d77d73fa60c50f03e5fa67971621f8934 100755
--- a/DaVinciTests/tests/options/DVTestDecayTreeTuple-MC2010.py
+++ b/DaVinciTests/tests/options/DVTestDecayTreeTuple-MC2010.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 DVTestHltDecayTreeTuple.py
  #
  #
diff --git a/DaVinciTests/tests/options/DVTestDecayTreeTuple-TisTos.py b/DaVinciTests/tests/options/DVTestDecayTreeTuple-TisTos.py
index e4c8330edef4b052fa067efb124508863ab20265..59be4cce66dd86478730958ba95ddd7dafda5c24 100755
--- a/DaVinciTests/tests/options/DVTestDecayTreeTuple-TisTos.py
+++ b/DaVinciTests/tests/options/DVTestDecayTreeTuple-TisTos.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 DVTestHltDecayTreeTuple-TisTos.py
  #
  #  See DecayTreeTuple documentation
diff --git a/DaVinciTests/tests/options/DVTestInitialise.py b/DaVinciTests/tests/options/DVTestInitialise.py
index ba3f0a6fcb98294dbabacf6f1cb8bc9b473efbdd..9601df6429982e0e2af287a7347efabafc46d459 100755
--- a/DaVinciTests/tests/options/DVTestInitialise.py
+++ b/DaVinciTests/tests/options/DVTestInitialise.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DVTestInitialise.py,v 1.4 2010/02/23 10:33:21 jpalac Exp $
 ## ============================================================================
 ## CVS tag $Name:  $
diff --git a/DaVinciTests/tests/options/DVTestReadDst.py b/DaVinciTests/tests/options/DVTestReadDst.py
index 0ac0cd80afbe88f7804d323893b9e905ccabcec6..74d231cf3030144e7494cff4d2f4cd120b806412 100755
--- a/DaVinciTests/tests/options/DVTestReadDst.py
+++ b/DaVinciTests/tests/options/DVTestReadDst.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DVTestReadDst.py,v 1.11 2009/11/30 10:57:40 jpalac Exp $
diff --git a/DaVinciTests/tests/options/DVTestReadETC.py b/DaVinciTests/tests/options/DVTestReadETC.py
index 0b290030822b9d69252322b3810ab653374edfd6..774593e80afe44849445efb5ffe034b3be50de58 100644
--- a/DaVinciTests/tests/options/DVTestReadETC.py
+++ b/DaVinciTests/tests/options/DVTestReadETC.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DVTestReadETC.py,v 1.5 2010/01/28 07:21:10 pkoppenb Exp $
 ## ============================================================================
 ## CVS tag $Name:  $, version $Revision: 1.5 $
diff --git a/DaVinciTests/tests/options/DVTestWriteDst.py b/DaVinciTests/tests/options/DVTestWriteDst.py
index d05f0c37c376ea4d36724792aef74a86386cdd4d..ad7a99f3da92af2ac8ac4a235d504894832a3cf4 100755
--- a/DaVinciTests/tests/options/DVTestWriteDst.py
+++ b/DaVinciTests/tests/options/DVTestWriteDst.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DVTestWriteDst.py,v 1.11 2010/05/25 11:04:28 jpalac Exp $
diff --git a/DaVinciTests/tests/options/DV_MCuDST.py b/DaVinciTests/tests/options/DV_MCuDST.py
index 2e5652ee3b0a465e3910baee528cdd9d52c3299e..335a9777716300f3ec4c85c71ad839bcec0d25c8 100755
--- a/DaVinciTests/tests/options/DV_MCuDST.py
+++ b/DaVinciTests/tests/options/DV_MCuDST.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env gaudirun.py
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 # -*- coding: utf-8 -*-
 # =============================================================================
 # @file
diff --git a/DaVinciTests/tests/options/DV_Turbo_Error.py b/DaVinciTests/tests/options/DV_Turbo_Error.py
index 34172814c005a098c6fab6bbb1b3abff8e7aaed3..97545ef58d4ad5cc10f6a5ac472b4be61cd1ca0e 100644
--- a/DaVinciTests/tests/options/DV_Turbo_Error.py
+++ b/DaVinciTests/tests/options/DV_Turbo_Error.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """Invalid configuration for running over Turbo data."""
 from Configurables import DaVinci
 
diff --git a/DaVinciTests/tests/options/DV_Turbo_Implicit.py b/DaVinciTests/tests/options/DV_Turbo_Implicit.py
index ab3a21c415160b4a774a54d4eefba02154e9979a..8a3714dbe44a4fbe8a83d5a2876f9268d6f63377 100755
--- a/DaVinciTests/tests/options/DV_Turbo_Implicit.py
+++ b/DaVinciTests/tests/options/DV_Turbo_Implicit.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """Valid configuration for running over Turbo data.
 
 We don't set InputType to MDST explicitly, but this should be done by the
diff --git a/DaVinciTests/tests/options/DV_Turbo_OK.py b/DaVinciTests/tests/options/DV_Turbo_OK.py
index ed4b1421202ef632430ba020478d1b3082649b75..17eae855d8ca29f1b3651a9b327b8232586a41aa 100755
--- a/DaVinciTests/tests/options/DV_Turbo_OK.py
+++ b/DaVinciTests/tests/options/DV_Turbo_OK.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """Valid configuration for running over Turbo data."""
 from Configurables import DaVinci
 
diff --git a/DaVinciTests/tests/options/DaVinci-1000events.py b/DaVinciTests/tests/options/DaVinci-1000events.py
index 435315e01614abcecea88f42ecd0812163dc8ef1..ade4d555029950d12820575c22757c8f83ed9458 100644
--- a/DaVinciTests/tests/options/DaVinci-1000events.py
+++ b/DaVinciTests/tests/options/DaVinci-1000events.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
 from Configurables import DaVinci
 
diff --git a/DaVinciTests/tests/options/DisableLoKiCacheFunctors.py b/DaVinciTests/tests/options/DisableLoKiCacheFunctors.py
index e168c86cc06439840a83f62c0dee94a276584d0a..29dfb9324efe7669c0500155761a439af42dde3d 100644
--- a/DaVinciTests/tests/options/DisableLoKiCacheFunctors.py
+++ b/DaVinciTests/tests/options/DisableLoKiCacheFunctors.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import ApplicationMgr
 ApplicationMgr().Environment['LOKI_DISABLE_CACHE'] = '1'
diff --git a/DaVinciTests/tests/options/DisableLoKiPythonFunctors.py b/DaVinciTests/tests/options/DisableLoKiPythonFunctors.py
index f79a0fef04f813183df36a5666b32d331174292f..14f8f50f45fbb315484fdef4ac29c036c394025d 100644
--- a/DaVinciTests/tests/options/DisableLoKiPythonFunctors.py
+++ b/DaVinciTests/tests/options/DisableLoKiPythonFunctors.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import ApplicationMgr
 ApplicationMgr().Environment['LOKI_DISABLE_PYTHON'] = '1'
diff --git a/DaVinciTests/tests/options/Do09selBu2LLK.py b/DaVinciTests/tests/options/Do09selBu2LLK.py
index 3ef7486be527deb1132f936da674f430377910cf..c76ee8ceefc509f99c8d9ac228fde73aaea96832 100755
--- a/DaVinciTests/tests/options/Do09selBu2LLK.py
+++ b/DaVinciTests/tests/options/Do09selBu2LLK.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Do09selBu2LLK.py
    Configuration options for the execution of the selection of
diff --git a/DaVinciTests/tests/options/EnableCaloReprocessing.py b/DaVinciTests/tests/options/EnableCaloReprocessing.py
index 1b8eb690e276713587a15636fcf4f20d228db477..3e97ad3d87f881706f817e407c7649412d71ca43 100644
--- a/DaVinciTests/tests/options/EnableCaloReprocessing.py
+++ b/DaVinciTests/tests/options/EnableCaloReprocessing.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import PhysConf
 PhysConf().CaloReProcessing = True
diff --git a/DaVinciTests/tests/options/EnableFPEAuditor.py b/DaVinciTests/tests/options/EnableFPEAuditor.py
index 5913e89f035adc52a3fe95980f5d7f64657f6801..c278e1b373b27a5d7a7ac19cfaa38d84f475c23b 100644
--- a/DaVinciTests/tests/options/EnableFPEAuditor.py
+++ b/DaVinciTests/tests/options/EnableFPEAuditor.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
 
 ApplicationMgr().ExtSvc + [ "AuditorSvc" ]
diff --git a/DaVinciTests/tests/options/PID/DaVinci-DST-ANNPID-Stripping20-Test.py b/DaVinciTests/tests/options/PID/DaVinci-DST-ANNPID-Stripping20-Test.py
index 7d76a61ff576dcd14934a8de1e3eed8f5d7c3f95..56e1c65e6963084e2de9b98b4126cfaf6388767e 100755
--- a/DaVinciTests/tests/options/PID/DaVinci-DST-ANNPID-Stripping20-Test.py
+++ b/DaVinciTests/tests/options/PID/DaVinci-DST-ANNPID-Stripping20-Test.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
diff --git a/DaVinciTests/tests/options/PID/DaVinci-uDST-ANNPID-Stripping20-Test.py b/DaVinciTests/tests/options/PID/DaVinci-uDST-ANNPID-Stripping20-Test.py
index 0cf211a8c20f51bd6d1d9b0f19179a404e6369b8..87d3c38c7305c5a514074528d396acf242e17176 100755
--- a/DaVinciTests/tests/options/PID/DaVinci-uDST-ANNPID-Stripping20-Test.py
+++ b/DaVinciTests/tests/options/PID/DaVinci-uDST-ANNPID-Stripping20-Test.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
diff --git a/DaVinciTests/tests/options/Packing/DaVinci-DSTUnpacking-Stripping20-Test.py b/DaVinciTests/tests/options/Packing/DaVinci-DSTUnpacking-Stripping20-Test.py
index 3e22172ca2149ae51e247d837d38582a16ce6e5d..fff2b1618a9ccb76f37eef3f99396a35760596e1 100755
--- a/DaVinciTests/tests/options/Packing/DaVinci-DSTUnpacking-Stripping20-Test.py
+++ b/DaVinciTests/tests/options/Packing/DaVinci-DSTUnpacking-Stripping20-Test.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
diff --git a/DaVinciTests/tests/options/Packing/DaVinci-uDSTUnpacking-Stripping20-Test.py b/DaVinciTests/tests/options/Packing/DaVinci-uDSTUnpacking-Stripping20-Test.py
index 47c92cc045ced172f530cf597cfe824528629351..fc2f9b1d215c7ec35b9d640a7dd06e116da4a72f 100755
--- a/DaVinciTests/tests/options/Packing/DaVinci-uDSTUnpacking-Stripping20-Test.py
+++ b/DaVinciTests/tests/options/Packing/DaVinci-uDSTUnpacking-Stripping20-Test.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
diff --git a/DaVinciTests/tests/options/SimpleMuSelection.py b/DaVinciTests/tests/options/SimpleMuSelection.py
index 62e22f3830f859493fe0f4cbc15fcaba8537bbb9..8bf2ec6e2fa7f186f7023a1cc726e035d54b5f2a 100644
--- a/DaVinciTests/tests/options/SimpleMuSelection.py
+++ b/DaVinciTests/tests/options/SimpleMuSelection.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """
   @ Created by R. LAmbert
   @ date 2009-11-20
diff --git a/DaVinciTests/tests/options/Stripping/DVTestBd2KstarMuMu.py b/DaVinciTests/tests/options/Stripping/DVTestBd2KstarMuMu.py
index be5120474f6df8b58f16c714d806f5751121edf6..dc91d6755583f51ec104cd7d237de4472c7f4155 100644
--- a/DaVinciTests/tests/options/Stripping/DVTestBd2KstarMuMu.py
+++ b/DaVinciTests/tests/options/Stripping/DVTestBd2KstarMuMu.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 ## CVS tag $Name:  $, version $Revision: 1.15 $
 ## ============================================================================
 """
diff --git a/DaVinciTests/tests/options/Stripping/Sim2010_Bd2JpsiKs.py b/DaVinciTests/tests/options/Stripping/Sim2010_Bd2JpsiKs.py
index 274b86bb5e35f960742758c040f720029076b7c1..7fe555a746d34b8f163f0a50e7977461a4406c9b 100644
--- a/DaVinciTests/tests/options/Stripping/Sim2010_Bd2JpsiKs.py
+++ b/DaVinciTests/tests/options/Stripping/Sim2010_Bd2JpsiKs.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 #-- GAUDI jobOptions generated on Mon Jan 17 17:06:59 2011
 #-- Contains event types : 
 #--   11144103 - 1 files - 10000 events - 4.10 GBytes
diff --git a/DaVinciTests/tests/options/Stripping/Sim2010_Bd2JpsiKs.xml b/DaVinciTests/tests/options/Stripping/Sim2010_Bd2JpsiKs.xml
index bebfecbf77f6a6981893f1cb13c5f03001ce36d1..37a07ad490a8be375f07211895a454d8d1ede284 100644
--- a/DaVinciTests/tests/options/Stripping/Sim2010_Bd2JpsiKs.xml
+++ b/DaVinciTests/tests/options/Stripping/Sim2010_Bd2JpsiKs.xml
@@ -1,4 +1,14 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!-- Edited By PoolXMLCatalog.py -->
 <!DOCTYPE POOLFILECATALOG SYSTEM "InMemory">
 <POOLFILECATALOG>
diff --git a/DaVinciTests/tests/options/Stripping/Sim2010_Bs2JpsiPhi.py b/DaVinciTests/tests/options/Stripping/Sim2010_Bs2JpsiPhi.py
index 855ccdd2489e6aef652c60a61b8a4df979fcf663..b43f8e8940765f624642c77f406ac1971738d0cb 100644
--- a/DaVinciTests/tests/options/Stripping/Sim2010_Bs2JpsiPhi.py
+++ b/DaVinciTests/tests/options/Stripping/Sim2010_Bs2JpsiPhi.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 #-- GAUDI jobOptions generated on Mon Jan 17 17:13:58 2011
 #-- Contains event types : 
 #--   13144006 - 1 files - 10000 events - 4.13 GBytes
diff --git a/DaVinciTests/tests/options/Stripping/Sim2010_Bs2JpsiPhi.xml b/DaVinciTests/tests/options/Stripping/Sim2010_Bs2JpsiPhi.xml
index 825e4c036670b12122f29c5bc2a75f94cde319a8..b467514818ba2a1d2814428ed5d1107414501b32 100644
--- a/DaVinciTests/tests/options/Stripping/Sim2010_Bs2JpsiPhi.xml
+++ b/DaVinciTests/tests/options/Stripping/Sim2010_Bs2JpsiPhi.xml
@@ -1,4 +1,14 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!-- Edited By PoolXMLCatalog.py -->
 <!DOCTYPE POOLFILECATALOG SYSTEM "InMemory">
 <POOLFILECATALOG>
diff --git a/DaVinciTests/tests/options/Stripping/test_express_appconfig.py b/DaVinciTests/tests/options/Stripping/test_express_appconfig.py
index b36b0449e7c27f858e7334eb9da0d53a86295145..d81ab2539f2d50d6beea326cb8360da5786340a9 100644
--- a/DaVinciTests/tests/options/Stripping/test_express_appconfig.py
+++ b/DaVinciTests/tests/options/Stripping/test_express_appconfig.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import importOptions
 importOptions("$APPCONFIGOPTS/DaVinci/DVMonitor-RealData.py")
 importOptions("$APPCONFIGOPTS/DaVinci/DataType-2010.py")
diff --git a/DaVinciTests/tests/options/Tagging/DVTestTagging-MC12.py b/DaVinciTests/tests/options/Tagging/DVTestTagging-MC12.py
index d60fe507f1c245dd626bb61b94beee109b26bb2e..623fc9e57bc636961898983791ab7f274d9f67f4 100644
--- a/DaVinciTests/tests/options/Tagging/DVTestTagging-MC12.py
+++ b/DaVinciTests/tests/options/Tagging/DVTestTagging-MC12.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 ########################################################################
 #
 # Example Options for BTagging algorithm
diff --git a/DaVinciTests/tests/options/Tagging/DVTestTagging-Summer2017Opt-Run1.py b/DaVinciTests/tests/options/Tagging/DVTestTagging-Summer2017Opt-Run1.py
index bdcd299f88f6956a0f111de8f861c76219f2ce8f..07282ee99c6e58bcb19cfa24a3461ee1658a9664 100644
--- a/DaVinciTests/tests/options/Tagging/DVTestTagging-Summer2017Opt-Run1.py
+++ b/DaVinciTests/tests/options/Tagging/DVTestTagging-Summer2017Opt-Run1.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """
 Example Options for BTagging algorithm
 
diff --git a/DaVinciTests/tests/options/TurboMC_2015.py b/DaVinciTests/tests/options/TurboMC_2015.py
index 4595df200ab4e0e124b51fefcf69ce3ed0222ff5..94548c5e287d3a893fb08829c3708443f3cbb6ce 100644
--- a/DaVinciTests/tests/options/TurboMC_2015.py
+++ b/DaVinciTests/tests/options/TurboMC_2015.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import DaVinci, DecayTreeTuple
 from DecayTreeTuple import Configuration
 from GaudiConf import IOHelper
diff --git a/DaVinciTests/tests/options/TurboMC_2016.py b/DaVinciTests/tests/options/TurboMC_2016.py
index f89eea0041321412cd1612fd0066961f66fe1641..80d73617ca4cf27a12b50109e1179103207d2e20 100644
--- a/DaVinciTests/tests/options/TurboMC_2016.py
+++ b/DaVinciTests/tests/options/TurboMC_2016.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import DaVinci, DecayTreeTuple
 from DecayTreeTuple import Configuration
 from GaudiConf import IOHelper
diff --git a/DaVinciTests/tests/options/TurboMC_2016_uDST.py b/DaVinciTests/tests/options/TurboMC_2016_uDST.py
index a5187918f76be9db83da149a9092f89ccbee3331..aff4cf28c2a18fecfd564f1f84ccbadc722b35e8 100644
--- a/DaVinciTests/tests/options/TurboMC_2016_uDST.py
+++ b/DaVinciTests/tests/options/TurboMC_2016_uDST.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import DaVinci, DecayTreeTuple, GaudiSequencer
 from DecayTreeTuple import Configuration
 from GaudiConf import IOHelper
diff --git a/DaVinciTests/tests/options/Upgrade/DaVinci-Options.py b/DaVinciTests/tests/options/Upgrade/DaVinci-Options.py
index 0110f548a59b41690dfe4a0745d24a573312c8d0..d94e1186b91287d0e445ffd9d964509b56d36ff3 100644
--- a/DaVinciTests/tests/options/Upgrade/DaVinci-Options.py
+++ b/DaVinciTests/tests/options/Upgrade/DaVinci-Options.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import DaVinci
 DaVinci().TupleFile = 'DV-Ntuple.root'
 DaVinci().HistogramFile = 'DV-Histos.root'
diff --git a/DaVinciTests/tests/options/Upgrade/Input-DST.py b/DaVinciTests/tests/options/Upgrade/Input-DST.py
index 6fe0b085c5569eba2b308f2ac27c3673ef2d136a..c639d40298ae330e513007e43295e29fc79e3d69 100644
--- a/DaVinciTests/tests/options/Upgrade/Input-DST.py
+++ b/DaVinciTests/tests/options/Upgrade/Input-DST.py
@@ -1,2 +1,12 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import DaVinci
 DaVinci().InputType = 'DST'
diff --git a/DaVinciTests/tests/options/Upgrade/Input-MDST.py b/DaVinciTests/tests/options/Upgrade/Input-MDST.py
index f9caeb6e7968c0f9cfcb7a769e1b7dbc607f822f..708990a43bf8ce4ab865a25b506c3352137671a8 100644
--- a/DaVinciTests/tests/options/Upgrade/Input-MDST.py
+++ b/DaVinciTests/tests/options/Upgrade/Input-MDST.py
@@ -1,2 +1,12 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import DaVinci
 DaVinci().InputType = 'MDST'
diff --git a/DaVinciTests/tests/options/Upgrade/Upgrade-DB-tags.py b/DaVinciTests/tests/options/Upgrade/Upgrade-DB-tags.py
index 5de90593ed1239c1982962b29c8d8d3bff424e19..22f14be88d919e1f52a7890e1f85a996f16ff0f1 100644
--- a/DaVinciTests/tests/options/Upgrade/Upgrade-DB-tags.py
+++ b/DaVinciTests/tests/options/Upgrade/Upgrade-DB-tags.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import LHCbApp, CondDB
 LHCbApp().DDDBtag = "dddb-20171126"
 LHCbApp().CondDBtag = "sim-20171127-vc-md100"
diff --git a/DaVinciTests/tests/options/check_mc_output.py b/DaVinciTests/tests/options/check_mc_output.py
index 01b4427c7c05b38874a74bc9e0c391fc3eba0be6..3c7f42416c6b7085a81b9292b2f0c389a1d50da1 100644
--- a/DaVinciTests/tests/options/check_mc_output.py
+++ b/DaVinciTests/tests/options/check_mc_output.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """Check ntuples made from Turbo MC input for correct truth-matching."""
 from __future__ import print_function
 import sys
diff --git a/DaVinciTests/tests/options/davinci-merge-small-files.py b/DaVinciTests/tests/options/davinci-merge-small-files.py
index c11ae764f9e0cbba1ced53f203031548ef309708..5037142505ea31bcba405c62f6916165b625a5d8 100644
--- a/DaVinciTests/tests/options/davinci-merge-small-files.py
+++ b/DaVinciTests/tests/options/davinci-merge-small-files.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 ###################
 # Define InputData
 ###################
diff --git a/DaVinciTests/tests/options/db-global-2010.py b/DaVinciTests/tests/options/db-global-2010.py
index 691000def8ee375681c2623258528264ec49f328..081e9305c7b464ebfd719922f0ef60ee1a505dad 100644
--- a/DaVinciTests/tests/options/db-global-2010.py
+++ b/DaVinciTests/tests/options/db-global-2010.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
 from Configurables import LHCbApp, CondDB, DDDBConf
 
diff --git a/DaVinciTests/tests/options/db-latest-2010.py b/DaVinciTests/tests/options/db-latest-2010.py
index 48b69514d0e5bee69594a0d4ae8ef56b8e28dd2c..5ebb18ea8b90766a6ad5dbfd8b5294985c0bba75 100644
--- a/DaVinciTests/tests/options/db-latest-2010.py
+++ b/DaVinciTests/tests/options/db-latest-2010.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
 from Configurables import LHCbApp, CondDB, DDDBConf
 
diff --git a/DaVinciTests/tests/options/dimuon_testfile.py b/DaVinciTests/tests/options/dimuon_testfile.py
index 0007df0928e2b5df12b6d7369633ae78de55e945..7618baf7dc16ec913b534ba6151692243d0b8a19 100644
--- a/DaVinciTests/tests/options/dimuon_testfile.py
+++ b/DaVinciTests/tests/options/dimuon_testfile.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 PRConfig import TestFileDB
 from Configurables import DaVinci
 
diff --git a/DaVinciTests/tests/options/dtfdict.py b/DaVinciTests/tests/options/dtfdict.py
index 30c14a49dfb18b7908a09a20340be9bc19c66851..e2949d3ca2f899667889907efeb7c12a90eef215 100644
--- a/DaVinciTests/tests/options/dtfdict.py
+++ b/DaVinciTests/tests/options/dtfdict.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 
 """
 Test of the DFTDict module
diff --git a/DaVinciTests/tests/options/fsrs/DVStripping-RealData-MagDown.py b/DaVinciTests/tests/options/fsrs/DVStripping-RealData-MagDown.py
index f7e281fc03c306e7ed46d942649b5820a22f6a39..da8f8d58a75d373a3b0fe435c2ff3cc2a125b324 100644
--- a/DaVinciTests/tests/options/fsrs/DVStripping-RealData-MagDown.py
+++ b/DaVinciTests/tests/options/fsrs/DVStripping-RealData-MagDown.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
 
 from CommonParticles.Utils import DefaultTrackingCuts
diff --git a/DaVinciTests/tests/options/fsrs/DVStripping-RealData-MagUp.py b/DaVinciTests/tests/options/fsrs/DVStripping-RealData-MagUp.py
index 41cecd268fc4804164d04b5e928736023df9bf6c..e3199be1c4e5823490df7e7c72263b15a5347f50 100644
--- a/DaVinciTests/tests/options/fsrs/DVStripping-RealData-MagUp.py
+++ b/DaVinciTests/tests/options/fsrs/DVStripping-RealData-MagUp.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
 
 from CommonParticles.Utils import DefaultTrackingCuts
diff --git a/DaVinciTests/tests/options/fsrs/davinci-dumpfsrs.py b/DaVinciTests/tests/options/fsrs/davinci-dumpfsrs.py
index e0a0f85277ab5167c749eef88123db05abc2e915..cfcc6654d2f1ca49ba4911912f2e762667efaa3f 100644
--- a/DaVinciTests/tests/options/fsrs/davinci-dumpfsrs.py
+++ b/DaVinciTests/tests/options/fsrs/davinci-dumpfsrs.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import (DaVinci, DumpFSR)
 
 DaVinci().UserAlgorithms=[DumpFSR()]
diff --git a/DaVinciTests/tests/options/fsrs/davinci-merge-bhadron.py b/DaVinciTests/tests/options/fsrs/davinci-merge-bhadron.py
index aeda00c1c8657e66472fc95550262f7a02259532..b1b27dee8b8817ef7ee8ef44680a48821b6a7700 100644
--- a/DaVinciTests/tests/options/fsrs/davinci-merge-bhadron.py
+++ b/DaVinciTests/tests/options/fsrs/davinci-merge-bhadron.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
 importOptions('$APPCONFIGOPTS/Merging/DV-Stripping-Merging.py')
 importOptions('$APPCONFIGOPTS/Merging/WriteFSR.py')
diff --git a/DaVinciTests/tests/options/fsrs/davinci-merge-ew.py b/DaVinciTests/tests/options/fsrs/davinci-merge-ew.py
index 4f442f7ab98d7e9ba52fa4d6fb584ee3db160f1e..c73e6b1f1e6a4cb8079ebf6e35c299cc04bb2315 100644
--- a/DaVinciTests/tests/options/fsrs/davinci-merge-ew.py
+++ b/DaVinciTests/tests/options/fsrs/davinci-merge-ew.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
 importOptions('$APPCONFIGOPTS/Merging/DV-Stripping-Merging.py')
 importOptions('$APPCONFIGOPTS/Merging/WriteFSR.py')
diff --git a/DaVinciTests/tests/options/fsrs/davinci-merge.py b/DaVinciTests/tests/options/fsrs/davinci-merge.py
index 057ff2652716a64257d6f822bf6d289717668ce1..6f78a868f4c417f66d8b1d9a0f40eb19ff06ce44 100644
--- a/DaVinciTests/tests/options/fsrs/davinci-merge.py
+++ b/DaVinciTests/tests/options/fsrs/davinci-merge.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
 from Configurables import InputCopyStream
 
diff --git a/DaVinciTests/tests/options/fsrs/test-genfsr.py b/DaVinciTests/tests/options/fsrs/test-genfsr.py
index b0916773f82b6ef91bc8f6b7f36077d2a58a98a5..c46d91c16e36e065f12a8e55280e82d5c1d10786 100644
--- a/DaVinciTests/tests/options/fsrs/test-genfsr.py
+++ b/DaVinciTests/tests/options/fsrs/test-genfsr.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
 
 from Configurables import GaudiSequencer
diff --git a/DaVinciTests/tests/options/gpython_algs.py b/DaVinciTests/tests/options/gpython_algs.py
index daef0eaf0f6bd0df54fdd7172aaacdd04de4e743..d79e8d42bec84dfbc88bff00bb3465cb65f1d38e 100755
--- a/DaVinciTests/tests/options/gpython_algs.py
+++ b/DaVinciTests/tests/options/gpython_algs.py
@@ -1,4 +1,14 @@
 #!/usr/bin/env python
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 # -*- coding: utf-8 -*- 
 # =============================================================================
 ## @file gpython_algs
diff --git a/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardbasic_reco14_init.qmt b/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardbasic_reco14_init.qmt
index d10faedb3cc6259daae00efad47b76233047752d..d5d563e2501b5999c153847af14c5a3ff21e7802 100755
--- a/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardbasic_reco14_init.qmt
+++ b/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardbasic_reco14_init.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardbasic_reco14_run.qmt b/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardbasic_reco14_run.qmt
index 1cca14e96fb60e61c9b2dd821d43da73fd205676..c1306c4a76783560d5abe0ccc37d15efa359a0a3 100755
--- a/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardbasic_reco14_run.qmt
+++ b/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardbasic_reco14_run.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardintermediate_reco14_init.qmt b/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardintermediate_reco14_init.qmt
index e3790601708f07c8ac602067000893fa012a973b..7ca3bd366c53a466abd3266f7e79ad5ca8409c13 100755
--- a/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardintermediate_reco14_init.qmt
+++ b/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardintermediate_reco14_init.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardintermediate_reco14_run.qmt b/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardintermediate_reco14_run.qmt
index 1a82edb1680ea499988642f4209d1e96427df159..47fa1d26bf3de7ffa9c1673f1dbe9621eb37400b 100755
--- a/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardintermediate_reco14_run.qmt
+++ b/DaVinciTests/tests/qmtest/commonparticles.qms/test_standardintermediate_reco14_run.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/davinci_mcudst.qmt b/DaVinciTests/tests/qmtest/davinci.qms/davinci_mcudst.qmt
index 051a127592f49e95828215c93d8014a15a5c4ce1..8f03f7c185bcc44a1bee2c660bb0cd1316c84587 100644
--- a/DaVinciTests/tests/qmtest/davinci.qms/davinci_mcudst.qmt
+++ b/DaVinciTests/tests/qmtest/davinci.qms/davinci_mcudst.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program">   <text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_error.qmt b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_error.qmt
index c4f1130da11f9d513379d173342ea86cad47b0cf..8b56943466c5ee2d68a37405b589dda8329fd1bf 100644
--- a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_error.qmt
+++ b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_error.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program">
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_implicit.qmt b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_implicit.qmt
index 3bef3a9d9d7ae49596b8ea66a937b318fb91e972..7ced7899bf930b7504d206cd877469653dde78fb 100644
--- a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_implicit.qmt
+++ b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_implicit.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program">
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2015_dst.qmt b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2015_dst.qmt
index 08841f02be630bbdd4339992d9b5d1ed7660675e..581091e0ffa453e961008cd44b6387c219f3cb1c 100644
--- a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2015_dst.qmt
+++ b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2015_dst.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program">
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2015_dst_read.qmt b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2015_dst_read.qmt
index b5e06f2b0243cf4dc1326a592e140c907d018cd4..8aa43285d043ceb480b092c822cd041a71335507 100644
--- a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2015_dst_read.qmt
+++ b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2015_dst_read.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program">
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_dst.qmt b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_dst.qmt
index 96747ea0edb5dc979c2c18a7972e22c453854cb1..d3c192e55102e0bde0e527c07f5d5caf9b4badf7 100644
--- a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_dst.qmt
+++ b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_dst.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program">
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_dst_read.qmt b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_dst_read.qmt
index 7b1866188f006169551b86a0d10954648d86ff4e..298b43c7fcb62e2a781b532ae0e7d39ebbcf8efd 100644
--- a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_dst_read.qmt
+++ b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_dst_read.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program">
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst.qmt b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst.qmt
index d970816e8b768e53c2b1a154acaafb25dfa51894..76f23f983c0ce1a48f3215a8b2567154dc4382df 100644
--- a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst.qmt
+++ b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program">
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst_read.qmt b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst_read.qmt
index 512b42b753e7a52a5f7da2e4d824bf3e4d2a4f2d..eee58241aaa985ef2461c231cb5dbd606011a749 100644
--- a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst_read.qmt
+++ b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst_read.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program">
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst_read_pr.qmt b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst_read_pr.qmt
index de4e78eecc72cac3e7af12e2365e8c23ecaf183c..0a486220430c353d5573a8f9573fdb955e95fa2d 100644
--- a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst_read_pr.qmt
+++ b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst_read_pr.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program">
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_ok.qmt b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_ok.qmt
index cbb56aa962c830805901bdf50d89a85bd0c7565d..0326be599c75e804f7b4514702920bb26ab43f8c 100644
--- a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_ok.qmt
+++ b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_ok.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program">
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/gaudipython_algs.qmt b/DaVinciTests/tests/qmtest/davinci.qms/gaudipython_algs.qmt
index 2cd1efe3fa32c189c7ec4028cc5259c82a3f320a..0c1598d84e8d11a0ebbdb47f7f0c509812f7d81a 100644
--- a/DaVinciTests/tests/qmtest/davinci.qms/gaudipython_algs.qmt
+++ b/DaVinciTests/tests/qmtest/davinci.qms/gaudipython_algs.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program">   <text>python</text></argument>
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/test_davinci_initialise.qmt b/DaVinciTests/tests/qmtest/davinci.qms/test_davinci_initialise.qmt
index 386d2fe0639a72f7f4371dbf19fd2e65a04c1ead..ea1acb03a4d0dec4b179ea64fd1a8e05dfeebc57 100755
--- a/DaVinciTests/tests/qmtest/davinci.qms/test_davinci_initialise.qmt
+++ b/DaVinciTests/tests/qmtest/davinci.qms/test_davinci_initialise.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <!--
 #######################################################
diff --git a/DaVinciTests/tests/qmtest/dtfdict.qms/test_dtfdict.qmt b/DaVinciTests/tests/qmtest/dtfdict.qms/test_dtfdict.qmt
index 479b533617a6da4521711da56dbed49c16f75b68..516ef3504501d79733792abc7d72b768cbfd7321 100644
--- a/DaVinciTests/tests/qmtest/dtfdict.qms/test_dtfdict.qmt
+++ b/DaVinciTests/tests/qmtest/dtfdict.qms/test_dtfdict.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-dumpfsrs-bhadron.qmt b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-dumpfsrs-bhadron.qmt
index 09f329b2873589e99e5d1a2d865c9ceda39d3cff..e723052830d7fc8c787a089051ae60aba7a548e1 100644
--- a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-dumpfsrs-bhadron.qmt
+++ b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-dumpfsrs-bhadron.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!--
 #######################################################
 # SUMMARY OF THIS TEST
diff --git a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-dumpfsrs-ew.qmt b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-dumpfsrs-ew.qmt
index 399b8031af0a12e2f3c73532f7a074eb4c105587..110883da7c2a2c34e3403cc7eddc22e09bf29c44 100644
--- a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-dumpfsrs-ew.qmt
+++ b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-dumpfsrs-ew.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!--
 #######################################################
 # SUMMARY OF THIS TEST
diff --git a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-dumpfsrs-tofile.qmt b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-dumpfsrs-tofile.qmt
index 8284856f95099dc8f5a5e479a280e1c0fc74aa03..49bfadfdcd266785efcd1a7d2b9ef28fef52bb96 100644
--- a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-dumpfsrs-tofile.qmt
+++ b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-dumpfsrs-tofile.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!--
 #######################################################
 # SUMMARY OF THIS TEST
diff --git a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-merge-bhadron.qmt b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-merge-bhadron.qmt
index a4bd09f0727e40ab541ebcdac818b3d2c705b406..ab07cd17b03678f15431ea97f6345b48d15ae723 100644
--- a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-merge-bhadron.qmt
+++ b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-merge-bhadron.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!--
 #######################################################
 # SUMMARY OF THIS TEST
diff --git a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-merge-ew.qmt b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-merge-ew.qmt
index aa0d3f5cb5c330a77a4e5a3036725e4f1861fb50..0cfe89e37704135af32871f0bab0ef51e6a6affb 100644
--- a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-merge-ew.qmt
+++ b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-merge-ew.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!--
 #######################################################
 # SUMMARY OF THIS TEST
diff --git a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-merge-small-files.qmt b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-merge-small-files.qmt
index f103c8b85817f8972da091c4038a9b453f3dd3a5..52d0c7538a178230e68be1fa1b36c982a125e99a 100755
--- a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-merge-small-files.qmt
+++ b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-merge-small-files.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!--
 #######################################################
 # SUMMARY OF THIS TEST
diff --git a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-strip-magdown.qmt b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-strip-magdown.qmt
index 0ba09c239a41a7a6b873dc5ea8bf17a65f6f75bb..991871da6c13e5434157ff0e0795d515b0f4e1a7 100644
--- a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-strip-magdown.qmt
+++ b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-strip-magdown.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!--
 #######################################################
 # SUMMARY OF THIS TEST
diff --git a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-strip-magup.qmt b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-strip-magup.qmt
index d7bb865f72aa4febed75bcc73bd81a0f3e6df56f..8c29c7b9657bc23388b356859bc66dad60823753 100644
--- a/DaVinciTests/tests/qmtest/fsrs.qms/davinci-strip-magup.qmt
+++ b/DaVinciTests/tests/qmtest/fsrs.qms/davinci-strip-magup.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!--
 #######################################################
 # SUMMARY OF THIS TEST
diff --git a/DaVinciTests/tests/qmtest/fsrs.qms/test-genfsr.qmt b/DaVinciTests/tests/qmtest/fsrs.qms/test-genfsr.qmt
index f7008732771a87df57ef6d6d6647299612bca660..3aef9e871c50415fb7be265e0baf7c386def909f 100644
--- a/DaVinciTests/tests/qmtest/fsrs.qms/test-genfsr.qmt
+++ b/DaVinciTests/tests/qmtest/fsrs.qms/test-genfsr.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program"><text>gaudirun.py</text></argument>
   <argument name="args"><set><text>$DAVINCITESTSROOT/tests/options/fsrs/test-genfsr.py</text></set></argument>
diff --git a/DaVinciTests/tests/qmtest/io.qms/test_decaytreetuple_mc2010.qmt b/DaVinciTests/tests/qmtest/io.qms/test_decaytreetuple_mc2010.qmt
index 33a2410fce7d0f9885a35a88477b7d931bccfbdd..f1d3e8511532f895266f01577f861401453408c2 100755
--- a/DaVinciTests/tests/qmtest/io.qms/test_decaytreetuple_mc2010.qmt
+++ b/DaVinciTests/tests/qmtest/io.qms/test_decaytreetuple_mc2010.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/io.qms/test_monitor_reco14_fulldst.qmt b/DaVinciTests/tests/qmtest/io.qms/test_monitor_reco14_fulldst.qmt
index 091b1c7e5f0efe78da8815324b61036c261416c8..4d4e9afe07f9d7b7161a120e2993a5061e1875ea 100755
--- a/DaVinciTests/tests/qmtest/io.qms/test_monitor_reco14_fulldst.qmt
+++ b/DaVinciTests/tests/qmtest/io.qms/test_monitor_reco14_fulldst.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/io.qms/test_read_mc2012dst.qmt b/DaVinciTests/tests/qmtest/io.qms/test_read_mc2012dst.qmt
index 8eacb2142aefa9379baff8f745910de2fdde0881..c885419c0a4a01b09d4ce2cde2bcfb9ea970ce98 100644
--- a/DaVinciTests/tests/qmtest/io.qms/test_read_mc2012dst.qmt
+++ b/DaVinciTests/tests/qmtest/io.qms/test_read_mc2012dst.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/io.qms/test_write_dst.qmt b/DaVinciTests/tests/qmtest/io.qms/test_write_dst.qmt
index c519e5f1afd2ec611d95abeda1497cdbd3290bb5..98dd174079b8e4024480581644c7d0de18535153 100755
--- a/DaVinciTests/tests/qmtest/io.qms/test_write_dst.qmt
+++ b/DaVinciTests/tests/qmtest/io.qms/test_write_dst.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/packing.qms/test_dstunpacking_stripping20.qmt b/DaVinciTests/tests/qmtest/packing.qms/test_dstunpacking_stripping20.qmt
index 8ff4e3495693de81f6dcb428a467407efc8c15d4..2bb2e197856593172b10853b2949a96546d6d3b5 100755
--- a/DaVinciTests/tests/qmtest/packing.qms/test_dstunpacking_stripping20.qmt
+++ b/DaVinciTests/tests/qmtest/packing.qms/test_dstunpacking_stripping20.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/packing.qms/test_udstunpacking_stripping20.qmt b/DaVinciTests/tests/qmtest/packing.qms/test_udstunpacking_stripping20.qmt
index fab4f9ccbd91a09c162f44d1882a6120d427e7f5..6a05c02bd44d725140751fea856a2b7e5f6917a8 100755
--- a/DaVinciTests/tests/qmtest/packing.qms/test_udstunpacking_stripping20.qmt
+++ b/DaVinciTests/tests/qmtest/packing.qms/test_udstunpacking_stripping20.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/pid.qms/test_dstannpid_stripping20.qmt b/DaVinciTests/tests/qmtest/pid.qms/test_dstannpid_stripping20.qmt
index 7cfe57d3c85aba5c943e31006198b7c92632261f..859c97e2b7ba53323f506655b5904e3724b58907 100755
--- a/DaVinciTests/tests/qmtest/pid.qms/test_dstannpid_stripping20.qmt
+++ b/DaVinciTests/tests/qmtest/pid.qms/test_dstannpid_stripping20.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/pid.qms/test_udstannpid_stripping20.qmt b/DaVinciTests/tests/qmtest/pid.qms/test_udstannpid_stripping20.qmt
index 216e6b5bb4a96fd54cadb0f8f771a698f26b4d40..88d51075afe9c6e68dac2fb2ebce258c7414a571 100755
--- a/DaVinciTests/tests/qmtest/pid.qms/test_udstannpid_stripping20.qmt
+++ b/DaVinciTests/tests/qmtest/pid.qms/test_udstannpid_stripping20.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/sam.qms b/DaVinciTests/tests/qmtest/sam.qms
index b4728be80a8e7666c15a455985eff626d56726d5..a68b67cca669777b376d62f7ab19dcca2306b067 100755
--- a/DaVinciTests/tests/qmtest/sam.qms
+++ b/DaVinciTests/tests/qmtest/sam.qms
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="explicit_suite.ExplicitSuite" kind="suite">
   <argument name="test_ids"><set>
diff --git a/DaVinciTests/tests/qmtest/stripping.qms/test_allstreams_instantiation.qmt b/DaVinciTests/tests/qmtest/stripping.qms/test_allstreams_instantiation.qmt
index dd49c26f2b7bf02229b1d07d3d9674e7fee3d7b6..00799ce70394067c195c589285f08e7dac711288 100644
--- a/DaVinciTests/tests/qmtest/stripping.qms/test_allstreams_instantiation.qmt
+++ b/DaVinciTests/tests/qmtest/stripping.qms/test_allstreams_instantiation.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <!--
 #######################################################
diff --git a/DaVinciTests/tests/qmtest/stripping.qms/test_express_appconfig.qmt b/DaVinciTests/tests/qmtest/stripping.qms/test_express_appconfig.qmt
index 42918902eab6244afe05da684fb6631d6d847d1f..30dbfb3c507cddf49275ba28562b12bcac79e740 100755
--- a/DaVinciTests/tests/qmtest/stripping.qms/test_express_appconfig.qmt
+++ b/DaVinciTests/tests/qmtest/stripping.qms/test_express_appconfig.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/stripping.qms/test_v0.qmt b/DaVinciTests/tests/qmtest/stripping.qms/test_v0.qmt
index 8040de20121b8adb6b5674cd22e26bae0893262c..c12de9901886e0bdb8c57cb694e0ee0c17d2c1b4 100755
--- a/DaVinciTests/tests/qmtest/stripping.qms/test_v0.qmt
+++ b/DaVinciTests/tests/qmtest/stripping.qms/test_v0.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/tagging.qms/test_tag_mc12.qmt b/DaVinciTests/tests/qmtest/tagging.qms/test_tag_mc12.qmt
index 0cd262bc4d7494c64b3549734f456a662e724b0b..2fc8b8b0ac8815b1e7aea9fbf9bc4242f40385fe 100644
--- a/DaVinciTests/tests/qmtest/tagging.qms/test_tag_mc12.qmt
+++ b/DaVinciTests/tests/qmtest/tagging.qms/test_tag_mc12.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
 <argument name="program"><text>python</text></argument>
diff --git a/DaVinciTests/tests/qmtest/upgrade.qms/configure_dst.qmt b/DaVinciTests/tests/qmtest/upgrade.qms/configure_dst.qmt
index b245db097f89cedbb69f017be321fe442e57d479..645ccd0bf850926a33e4047d325920d3dd65510f 100644
--- a/DaVinciTests/tests/qmtest/upgrade.qms/configure_dst.qmt
+++ b/DaVinciTests/tests/qmtest/upgrade.qms/configure_dst.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program">   <text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/qmtest/upgrade.qms/configure_mdst.qmt b/DaVinciTests/tests/qmtest/upgrade.qms/configure_mdst.qmt
index a80d767a1fb84d93c2cd54a080f9aaa5c5861c51..d91f4e090b89eb4c2209547ce59bee664232cdf2 100644
--- a/DaVinciTests/tests/qmtest/upgrade.qms/configure_mdst.qmt
+++ b/DaVinciTests/tests/qmtest/upgrade.qms/configure_mdst.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?>
+<!--
+    (c) Copyright 2000-2018 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 extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <extension class="GaudiTest.GaudiExeTest" kind="test">
   <argument name="program">   <text>gaudirun.py</text></argument>
diff --git a/DaVinciTests/tests/refs/GeneratorLogFSR_expected.xml b/DaVinciTests/tests/refs/GeneratorLogFSR_expected.xml
index 9995a67888e9d4f34d8f51336f558f1329bf9fc8..a8dff5c2763e2625e93f584f7b01b2ebc942794a 100644
--- a/DaVinciTests/tests/refs/GeneratorLogFSR_expected.xml
+++ b/DaVinciTests/tests/refs/GeneratorLogFSR_expected.xml
@@ -1,4 +1,14 @@
 <?xml version="1.0"?>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <generatorCounters>
   <version>1.1</version>
   <eventType> 13114005 </eventType>
diff --git a/Phys/DaVinci/CMakeLists.txt b/Phys/DaVinci/CMakeLists.txt
index 1ccd6651275c0aaa953790ca24a4b56b97c753b3..0a060354e080a40d265bf42ad6ba57999038bc81 100644
--- a/Phys/DaVinci/CMakeLists.txt
+++ b/Phys/DaVinci/CMakeLists.txt
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DaVinci
 ################################################################################
diff --git a/Phys/DaVinci/options/2009-RealData-Reco07.py b/Phys/DaVinci/options/2009-RealData-Reco07.py
index b28d2bd3390c274d6d812fa4eb0bc0ea4023eb7b..fba88ab97f30ece862aecff02b5c7a010cecbe8a 100644
--- a/Phys/DaVinci/options/2009-RealData-Reco07.py
+++ b/Phys/DaVinci/options/2009-RealData-Reco07.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 #-- GAUDI jobOptions generated on Tue Feb  9 15:43:05 2010
 #-- Contains event types : 
 #--   90000000 - 57 files - 381107 events - 11.26 GBytes
diff --git a/Phys/DaVinci/options/2009-RealData-Reco07V0.py b/Phys/DaVinci/options/2009-RealData-Reco07V0.py
index 87de5c9f134236daff10e645452a66ca5d0a0320..7c29e18d0c74de3b9256b15b78a8091c917869de 100644
--- a/Phys/DaVinci/options/2009-RealData-Reco07V0.py
+++ b/Phys/DaVinci/options/2009-RealData-Reco07V0.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 #-- GAUDI jobOptions generated on Tue Feb  9 15:43:54 2010
 #-- Contains event types : 
 #--   90000000 - 6 files - 381107 events - 8.04 GBytes
diff --git a/Phys/DaVinci/options/DC06_stripped_bbincl_lumi2.py b/Phys/DaVinci/options/DC06_stripped_bbincl_lumi2.py
index f8751eb2cb31230671bba5096fcae8ee670d26b3..29348b58f12c33a13eaad30d897cb9e6f215d037 100755
--- a/Phys/DaVinci/options/DC06_stripped_bbincl_lumi2.py
+++ b/Phys/DaVinci/options/DC06_stripped_bbincl_lumi2.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 #-- GAUDI jobOptions generated on Wed Oct  7 14:32:43 2009
 #-- Contains event types : 
 #--   10000000 - 523 files - 938306 events - 585.68 GBytes
diff --git a/Phys/DaVinci/options/DaVinci-ANNPID-Recalib.py b/Phys/DaVinci/options/DaVinci-ANNPID-Recalib.py
index dad0ab7e76629aea73bd345905ea44e0e40cc664..88cc3755468848aa339f756e8585ca602a13f3e4 100755
--- a/Phys/DaVinci/options/DaVinci-ANNPID-Recalib.py
+++ b/Phys/DaVinci/options/DaVinci-ANNPID-Recalib.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
diff --git a/Phys/DaVinci/options/DaVinci-Default.py b/Phys/DaVinci/options/DaVinci-Default.py
index db2a71fc44f5a055adaea1a55d96886cda6c7f8d..3edfa1f557ce0c62b89b46a7be7bab2f355991ef 100755
--- a/Phys/DaVinci/options/DaVinci-Default.py
+++ b/Phys/DaVinci/options/DaVinci-Default.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DaVinci-Default.py,v 1.9 2009-01-12 14:10:09 pkoppenb Exp $
 #
diff --git a/Phys/DaVinci/options/DaVinci-Event-Display.py b/Phys/DaVinci/options/DaVinci-Event-Display.py
index 7feeb6beaf44336e5971e4407e3ffafdbac64c41..8b5ebb0b55d7f09133047be6ae2daefaff775edf 100755
--- a/Phys/DaVinci/options/DaVinci-Event-Display.py
+++ b/Phys/DaVinci/options/DaVinci-Event-Display.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
diff --git a/Phys/DaVinci/options/DaVinci-Moni-Test.py b/Phys/DaVinci/options/DaVinci-Moni-Test.py
index 5359c1b246eefba2ae3174b0058395524ef4bb8f..318110f1d7710d7c3c88d931fbe69d1eb4ddd9fe 100755
--- a/Phys/DaVinci/options/DaVinci-Moni-Test.py
+++ b/Phys/DaVinci/options/DaVinci-Moni-Test.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import DaVinci, LHCbApp
diff --git a/Phys/DaVinci/options/DaVinci-PID-Test.py b/Phys/DaVinci/options/DaVinci-PID-Test.py
index 49f4ac25ed04b97b8da37d2db7c8ba7d7d0174ea..8e73a0f2dfcaf109241ad3d3d73ad3b914dade18 100755
--- a/Phys/DaVinci/options/DaVinci-PID-Test.py
+++ b/Phys/DaVinci/options/DaVinci-PID-Test.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DaVinci.py,v 1.45 2010-03-17 17:18:28 pkoppenb Exp $
diff --git a/Phys/DaVinci/options/DaVinci-Packing-Test.py b/Phys/DaVinci/options/DaVinci-Packing-Test.py
index 3364479a438ac28cd7edce6d9746edd9f695d4fa..ff269b32133dc0a369e257c1882d0edf3e161dbd 100755
--- a/Phys/DaVinci/options/DaVinci-Packing-Test.py
+++ b/Phys/DaVinci/options/DaVinci-Packing-Test.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DaVinci.py,v 1.45 2010-03-17 17:18:28 pkoppenb Exp $
diff --git a/Phys/DaVinci/options/DaVinci-ReadDst.py b/Phys/DaVinci/options/DaVinci-ReadDst.py
index 0ee37b945975fc1b270b171e03d298ba5c384092..e6c4dcea1652c0c096d074eb65eab06cabc0974e 100755
--- a/Phys/DaVinci/options/DaVinci-ReadDst.py
+++ b/Phys/DaVinci/options/DaVinci-ReadDst.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DaVinci-ReadDst.py,v 1.9 2010-02-19 17:03:59 pkoppenb Exp $
diff --git a/Phys/DaVinci/options/DaVinci-ReadETC.py b/Phys/DaVinci/options/DaVinci-ReadETC.py
index 8d591d5396db95b46b0bd1f4be2bdf4e8eae00e4..ddd31b26c007bd72bb26b20936df45f29cb2270e 100644
--- a/Phys/DaVinci/options/DaVinci-ReadETC.py
+++ b/Phys/DaVinci/options/DaVinci-ReadETC.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DaVinci-ReadETC.py,v 1.8 2009-06-23 13:06:35 pkoppenb Exp $
 ## ============================================================================
 ## CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.8 $
diff --git a/Phys/DaVinci/options/DaVinci-ReadStripDST.py b/Phys/DaVinci/options/DaVinci-ReadStripDST.py
index 9950b69ba247c6eac8cf3640663625128177f8f1..818277e4b029db2e3481a1e78ee2fcb338e3543e 100644
--- a/Phys/DaVinci/options/DaVinci-ReadStripDST.py
+++ b/Phys/DaVinci/options/DaVinci-ReadStripDST.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DaVinci-ReadStripDST.py,v 1.2 2010-07-16 11:59:02 jpalac Exp $
 #
 # Example for running on a stripping DST.
diff --git a/Phys/DaVinci/options/DaVinci-Simplest.py b/Phys/DaVinci/options/DaVinci-Simplest.py
index 842ae04e64b3bc38f2b729bc343711f47c7f70d8..2f67464d0a5c1e9ed529e117dc52040eae547907 100644
--- a/Phys/DaVinci/options/DaVinci-Simplest.py
+++ b/Phys/DaVinci/options/DaVinci-Simplest.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 ########################################################################
 #
 #  The simplest options file which reads some data and creates an ntuple.
diff --git a/Phys/DaVinci/options/DaVinci-WriteETC-FSR.py b/Phys/DaVinci/options/DaVinci-WriteETC-FSR.py
index 7a0e26925c43f3abcba9a5f7d33484606eb34c27..cf71ea6db9d222a955012603c65bfe85af9ce8a1 100644
--- a/Phys/DaVinci/options/DaVinci-WriteETC-FSR.py
+++ b/Phys/DaVinci/options/DaVinci-WriteETC-FSR.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DaVinci-WriteETC-FSR.py,v 1.1 2010-02-01 12:52:36 panmanj Exp $
 ## ============================================================================
 ## CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $
diff --git a/Phys/DaVinci/options/DaVinci-WriteETC.py b/Phys/DaVinci/options/DaVinci-WriteETC.py
index 302dce4e7f021c02e69bfd74b472a56355274500..38aab889a712e8923e29862125ddb77efb5cdbd6 100644
--- a/Phys/DaVinci/options/DaVinci-WriteETC.py
+++ b/Phys/DaVinci/options/DaVinci-WriteETC.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DaVinci-WriteETC.py,v 1.6 2009-06-23 13:06:35 pkoppenb Exp $
 ## ============================================================================
 ## CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.6 $
diff --git a/Phys/DaVinci/options/DaVinci-WriteMicroDST.py b/Phys/DaVinci/options/DaVinci-WriteMicroDST.py
index 0098578da681344f6b7d6011fce2b5d3e2cb2f29..950c2d8eb65ca139d87c657e5811c3f45aea7e78 100644
--- a/Phys/DaVinci/options/DaVinci-WriteMicroDST.py
+++ b/Phys/DaVinci/options/DaVinci-WriteMicroDST.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
 from Configurables import DaVinci, MicroDSTWriter
 
diff --git a/Phys/DaVinci/options/DaVinci-WriteSelDST-FSR.py b/Phys/DaVinci/options/DaVinci-WriteSelDST-FSR.py
index 87573d464e49db1ea80e8ab4c4ba37b8d98aa5d2..d64b1b91beb313ccb9168d66ba43009d357de5e1 100755
--- a/Phys/DaVinci/options/DaVinci-WriteSelDST-FSR.py
+++ b/Phys/DaVinci/options/DaVinci-WriteSelDST-FSR.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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/Phys/DaVinci/options/DaVinci-WriteSelDST.py b/Phys/DaVinci/options/DaVinci-WriteSelDST.py
index 516918c23cad4b93c2522781f675360b60d18879..a0fdc5b3c2fda6fc9864ad4ce2114fd4d5561829 100755
--- a/Phys/DaVinci/options/DaVinci-WriteSelDST.py
+++ b/Phys/DaVinci/options/DaVinci-WriteSelDST.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DaVinci-WriteSelDST.py,v 1.9 2010-07-16 11:59:02 jpalac Exp $
diff --git a/Phys/DaVinci/options/DaVinci-WriteSingleSelDST.py b/Phys/DaVinci/options/DaVinci-WriteSingleSelDST.py
index 070d71fe1a3f010515b3fef40e8b6e22f9d853c3..b7a0b245752feb6ffc6e8814bf420a412be3fae3 100644
--- a/Phys/DaVinci/options/DaVinci-WriteSingleSelDST.py
+++ b/Phys/DaVinci/options/DaVinci-WriteSingleSelDST.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
 from Configurables import DaVinci, MicroDSTWriter
 
diff --git a/Phys/DaVinci/options/DaVinciTestData.py b/Phys/DaVinci/options/DaVinciTestData.py
index a5d6b4b0b6eebb558651c2bd499b4452fb6419bc..46801e38abb128769d35e30398a7d35636b6deac 100644
--- a/Phys/DaVinci/options/DaVinciTestData.py
+++ b/Phys/DaVinci/options/DaVinciTestData.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DaVinciTestData.py,v 1.3 2009-06-23 13:06:35 pkoppenb Exp $
  #
  # This will always contain some data
diff --git a/Phys/DaVinci/options/MC09-Bs2JpsiPhiDst.py b/Phys/DaVinci/options/MC09-Bs2JpsiPhiDst.py
index c80fe0fe6f30f15b70cbb4877ebe6312865e8a6c..e5f020bcdaae5ad43424b48190c1bbea57b60436 100644
--- a/Phys/DaVinci/options/MC09-Bs2JpsiPhiDst.py
+++ b/Phys/DaVinci/options/MC09-Bs2JpsiPhiDst.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 #-- GAUDI jobOptions generated on Tue Jun 23 13:49:33 2009
 #-- Contains event types : 
 #--   13144005 - 14 files - 212463 events - 61.11 GBytes
diff --git a/Phys/DaVinci/options/MC09-Bs2JpsiPhiDst.xml b/Phys/DaVinci/options/MC09-Bs2JpsiPhiDst.xml
index e1c10cd5f9c6bfaa95c53a5bd39589fa1e68eca7..efd1ee23fd5e7800fbb62eab8eed11a16a177eb7 100644
--- a/Phys/DaVinci/options/MC09-Bs2JpsiPhiDst.xml
+++ b/Phys/DaVinci/options/MC09-Bs2JpsiPhiDst.xml
@@ -1,4 +1,14 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!-- Edited By PoolXMLCatalog.py -->
 <!DOCTYPE POOLFILECATALOG SYSTEM "InMemory">
 <POOLFILECATALOG>
diff --git a/Phys/DaVinci/options/MC09-Stripping01_HADRON.DST.py b/Phys/DaVinci/options/MC09-Stripping01_HADRON.DST.py
index e6967b269902045e91cf74e2f301d13b21ee1e3d..6c655b657b9bbd979f71eac4235b716d2f9f186c 100644
--- a/Phys/DaVinci/options/MC09-Stripping01_HADRON.DST.py
+++ b/Phys/DaVinci/options/MC09-Stripping01_HADRON.DST.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 #-- GAUDI jobOptions generated on Mon Nov  9 11:12:48 2009
 #-- Contains event types : 
 #--   30000000 - 5 files - 12051 events - 1.19 GBytes
diff --git a/Phys/DaVinci/options/MC09-Stripping01_JPSI.DST.py b/Phys/DaVinci/options/MC09-Stripping01_JPSI.DST.py
index 34177a143c9e34600a8263e6823092a224d62fc2..a0ce2ab85cd71a089a651a24982110285ddb23f8 100644
--- a/Phys/DaVinci/options/MC09-Stripping01_JPSI.DST.py
+++ b/Phys/DaVinci/options/MC09-Stripping01_JPSI.DST.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 #-- GAUDI jobOptions generated on Mon Nov  9 11:13:22 2009
 #-- Contains event types : 
 #--   30000000 - 4 files - 5256 events - 0.38 GBytes
diff --git a/Phys/DaVinci/python/DaVinci/Configuration.py b/Phys/DaVinci/python/DaVinci/Configuration.py
index fb3bf6c9143b5ebce51ac4b17c1f4f7f84fcbf2f..c75d5af4c37db33332b8596695c983c3d66eab09 100644
--- a/Phys/DaVinci/python/DaVinci/Configuration.py
+++ b/Phys/DaVinci/python/DaVinci/Configuration.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """
 High level configuration tools for DaVinci
 """
diff --git a/Phys/StrippingCache/CMakeLists.txt b/Phys/StrippingCache/CMakeLists.txt
index 6da2e948c33d7ef83aa1871b2ab2a39fe8430a7e..a9683567039a0c5b91773c85bb1804f9a15c13d9 100644
--- a/Phys/StrippingCache/CMakeLists.txt
+++ b/Phys/StrippingCache/CMakeLists.txt
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: StrippingCache
 ################################################################################
diff --git a/Phys/StrippingCache/options/DV-Stripping21r0p1-Stripping.py b/Phys/StrippingCache/options/DV-Stripping21r0p1-Stripping.py
index 9c7da66ccbfa281c4eedaf679b264ff1a8b4cf26..9db96642379b79fb3704552c0b6b0c48e82b8a59 100644
--- a/Phys/StrippingCache/options/DV-Stripping21r0p1-Stripping.py
+++ b/Phys/StrippingCache/options/DV-Stripping21r0p1-Stripping.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """
 Options for building Stripping21r0p1. 
 """
diff --git a/Phys/StrippingCache/options/DV-Stripping21r1p1-Stripping.py b/Phys/StrippingCache/options/DV-Stripping21r1p1-Stripping.py
index 29c4375b59e849a55653736e9624b402ac338f89..3c3d4cace0f80eaa5758d2895489838e17341367 100644
--- a/Phys/StrippingCache/options/DV-Stripping21r1p1-Stripping.py
+++ b/Phys/StrippingCache/options/DV-Stripping21r1p1-Stripping.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """
 Options for building Stripping21r1p1. 
 """
diff --git a/Phys/StrippingCache/options/DV-Stripping22-Stripping.py b/Phys/StrippingCache/options/DV-Stripping22-Stripping.py
index 1e80dfb5b2bbe44263b25cb36ce73dfe5d7811ae..9c7034971febe01d707d34390ba02696a8ce14df 100644
--- a/Phys/StrippingCache/options/DV-Stripping22-Stripping.py
+++ b/Phys/StrippingCache/options/DV-Stripping22-Stripping.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """
 Options for building Stripping22. 
 """
diff --git a/Phys/StrippingCache/options/DV-Stripping24-Stripping.py b/Phys/StrippingCache/options/DV-Stripping24-Stripping.py
index 5e608a7fd6350411bd45bbe68a63a1a35dcc99ee..3032c616e67c8c5207a1cc10c70e67a468228942 100644
--- a/Phys/StrippingCache/options/DV-Stripping24-Stripping.py
+++ b/Phys/StrippingCache/options/DV-Stripping24-Stripping.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """
 Options for building Stripping24. 
 """
diff --git a/Phys/StrippingCache/options/DV-Stripping25-Stripping.py b/Phys/StrippingCache/options/DV-Stripping25-Stripping.py
index e8408603c5dea7cd8bb90b451a2ea260b866776f..10eb9fd10cb43451e07b8e31f2218d5434bb0e66 100644
--- a/Phys/StrippingCache/options/DV-Stripping25-Stripping.py
+++ b/Phys/StrippingCache/options/DV-Stripping25-Stripping.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """
 Options for building Stripping25. 
 """
diff --git a/Phys/StrippingCache/options/DV-Stripping26-Stripping.py b/Phys/StrippingCache/options/DV-Stripping26-Stripping.py
index 83a241c9bab83090ba7d624b84eea0df46f690d0..c67d3c92ee0eec87a5435a5d4bd7abc0d7f1dc4f 100644
--- a/Phys/StrippingCache/options/DV-Stripping26-Stripping.py
+++ b/Phys/StrippingCache/options/DV-Stripping26-Stripping.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """
 Options for building Stripping26. 
 """
diff --git a/Phys/StrippingCache/options/DV-Stripping27-Stripping.py b/Phys/StrippingCache/options/DV-Stripping27-Stripping.py
index d6ec229760dd53d3ae9f50aaeed58e9cc2d6b300..83ecf9879c6f8a829a1f0c9e11c87435e1840545 100644
--- a/Phys/StrippingCache/options/DV-Stripping27-Stripping.py
+++ b/Phys/StrippingCache/options/DV-Stripping27-Stripping.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """
 Options for building Stripping27. 
 """
diff --git a/Phys/StrippingCache/options/DV-Stripping28-Stripping.py b/Phys/StrippingCache/options/DV-Stripping28-Stripping.py
index a446431724e88bfebc3a0c4df325f6082972fdc2..43ba19f92088f351212827c48499b2c3f8df65d8 100644
--- a/Phys/StrippingCache/options/DV-Stripping28-Stripping.py
+++ b/Phys/StrippingCache/options/DV-Stripping28-Stripping.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """
 Options for building Stripping28. 
 """
diff --git a/Phys/StrippingCache/options/DV-Stripping29-Stripping.py b/Phys/StrippingCache/options/DV-Stripping29-Stripping.py
index 617bb6f49ea5987242815fb2d231e72fc9de446b..f00f4949fd05c87d6721b667ac1f5c9cde0acac5 100644
--- a/Phys/StrippingCache/options/DV-Stripping29-Stripping.py
+++ b/Phys/StrippingCache/options/DV-Stripping29-Stripping.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """
 Options for building Stripping28. 
 """
diff --git a/Phys/StrippingCache/options/DV-Stripping29r1-Stripping.py b/Phys/StrippingCache/options/DV-Stripping29r1-Stripping.py
index 6a1be5af7eb741a259d23eaa9c1111fb976cee93..ce4850d109c0a0773e46e7b45fa3bb2ec2513927 100644
--- a/Phys/StrippingCache/options/DV-Stripping29r1-Stripping.py
+++ b/Phys/StrippingCache/options/DV-Stripping29r1-Stripping.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """
 Options for building Stripping29r1. 
 """
diff --git a/Phys/StrippingCache/options/DataType-2012.py b/Phys/StrippingCache/options/DataType-2012.py
index d88f28248d94e6e11b3a7bf306448cb7e58d3cea..1171e6349992e4ba3d5a29ff428ed16200ce0dbe 100644
--- a/Phys/StrippingCache/options/DataType-2012.py
+++ b/Phys/StrippingCache/options/DataType-2012.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: DataType.py 184170 2015-02-22 11:45:31Z ibelyaev $
 # Test your line(s) of the stripping
 #  
diff --git a/Phys/StrippingCache/options/DisableLoKiCacheFunctors.py b/Phys/StrippingCache/options/DisableLoKiCacheFunctors.py
index e168c86cc06439840a83f62c0dee94a276584d0a..29dfb9324efe7669c0500155761a439af42dde3d 100644
--- a/Phys/StrippingCache/options/DisableLoKiCacheFunctors.py
+++ b/Phys/StrippingCache/options/DisableLoKiCacheFunctors.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import ApplicationMgr
 ApplicationMgr().Environment['LOKI_DISABLE_CACHE'] = '1'
diff --git a/Phys/StrippingCache/options/SilenceErrors.py b/Phys/StrippingCache/options/SilenceErrors.py
index 3aef38f82d32db66684610167b7c5abe0d6fe00f..5ddada99e302adf32bad885519332696eeb808f3 100644
--- a/Phys/StrippingCache/options/SilenceErrors.py
+++ b/Phys/StrippingCache/options/SilenceErrors.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 # -*- coding: utf-8 -*-
 from Gaudi.Configuration import MessageSvc, FATAL
 MessageSvc(OutputLevel=FATAL)
diff --git a/Phys/StrippingCache/options/SuppressLogMessages.py b/Phys/StrippingCache/options/SuppressLogMessages.py
index 9b04125c71da7f76044bb92f6d805433a32ba282..0d16351ef1a0bea60f884fa0023dd046ff9bb320 100644
--- a/Phys/StrippingCache/options/SuppressLogMessages.py
+++ b/Phys/StrippingCache/options/SuppressLogMessages.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 # -*- coding: utf-8 -*-
 from Gaudi.Configuration import log
 import logging
diff --git a/Phys/Tesla/CMakeLists.txt b/Phys/Tesla/CMakeLists.txt
index 41b4f6e1d46c069253450d445519e3b4dae7f5f8..d4a6b6632826114d87ae4bf03414f7e2b43b9203 100644
--- a/Phys/Tesla/CMakeLists.txt
+++ b/Phys/Tesla/CMakeLists.txt
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: Tesla
 ################################################################################
diff --git a/Phys/Tesla/options/Turbo.py b/Phys/Tesla/options/Turbo.py
index 1913422ac8501365fa59aed39f6deaa0c19243b6..51d6b7f8fb4e337198cb21f08880090f0f2639ef 100755
--- a/Phys/Tesla/options/Turbo.py
+++ b/Phys/Tesla/options/Turbo.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 # SAMPLE FOR TUTORIAL: RunningTesla
 # FOR LATEST SCRIPT SEE Turbo_NewLine.py
 
diff --git a/Phys/Tesla/options/Turbo_NewLine.py b/Phys/Tesla/options/Turbo_NewLine.py
index 186a5ff7e1dd9b0380b204bf7eaa4fd4aedc2383..d72c6e6854a15f1db357565a2a0327632323aa8b 100755
--- a/Phys/Tesla/options/Turbo_NewLine.py
+++ b/Phys/Tesla/options/Turbo_NewLine.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import Tesla 
 from Gaudi.Configuration import *
 
diff --git a/Phys/Tesla/options/Turbo_THRESHOLD.py b/Phys/Tesla/options/Turbo_THRESHOLD.py
index 4b02ca5f911ee325688e08f1f66b20f2059431b4..4d6dde26313cd2967963249b6752c6a1367d849f 100755
--- a/Phys/Tesla/options/Turbo_THRESHOLD.py
+++ b/Phys/Tesla/options/Turbo_THRESHOLD.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import Tesla 
 from Gaudi.Configuration import *
 
diff --git a/Phys/Tesla/python/Tesla/Configuration.py b/Phys/Tesla/python/Tesla/Configuration.py
index 68ff6bf6656cdca5c3512b161b67c025e985b2d4..cfc6fa8aefab1f5cf65fccef9102a9296072730b 100644
--- a/Phys/Tesla/python/Tesla/Configuration.py
+++ b/Phys/Tesla/python/Tesla/Configuration.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 logging as log
 import os
 import re
diff --git a/Phys/Tesla/tests/options/CheckTurboStreamProd.py b/Phys/Tesla/tests/options/CheckTurboStreamProd.py
index f1003955c20aff8450954fa6134cdd3a4faf6f86..6d6c9c28ba77195549c413d915b32017768a26df 100644
--- a/Phys/Tesla/tests/options/CheckTurboStreamProd.py
+++ b/Phys/Tesla/tests/options/CheckTurboStreamProd.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 """Script to check TCK-TurboStreamProd compatibility.
 
 To be used in LHCbIntegrationTests and the TCK creation procedure.
diff --git a/Phys/Tesla/tests/options/DV_2015_PVs.py b/Phys/Tesla/tests/options/DV_2015_PVs.py
index a7188bb19281b198d75b455540de7fb9f955e0e4..4009c8ce78b3a7f8e2fdf78b5d0f695696b26fb8 100644
--- a/Phys/Tesla/tests/options/DV_2015_PVs.py
+++ b/Phys/Tesla/tests/options/DV_2015_PVs.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Gaudi.Configuration import *
 from LHCbKernel.Configuration import *
 from Configurables import GaudiSequencer,RawEventJuggler
diff --git a/Phys/Tesla/tests/options/DV_LineChecker.py b/Phys/Tesla/tests/options/DV_LineChecker.py
index edb5f2ac7bf7eb2d414ba341034b9282764b4ed0..b4297b44d4a7106730cefe8be154269b5f50f829 100644
--- a/Phys/Tesla/tests/options/DV_LineChecker.py
+++ b/Phys/Tesla/tests/options/DV_LineChecker.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import DaVinci
 
 from Configurables import TeslaLineChecker
diff --git a/Phys/Tesla/tests/options/TCK_2015RP.py b/Phys/Tesla/tests/options/TCK_2015RP.py
index 66d397280d1ea924abb970647716616b51c4f544..cbd27719ae07450bb44cb762a1c70e681158bf5f 100644
--- a/Phys/Tesla/tests/options/TCK_2015RP.py
+++ b/Phys/Tesla/tests/options/TCK_2015RP.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import Tesla 
 Tesla().Pack = True
 Tesla().DataType = '2015'
diff --git a/Phys/Tesla/tests/options/analyseAll.py b/Phys/Tesla/tests/options/analyseAll.py
index 88af66e487961114c0e01536363244119656b734..36c9416f03a8be46bb7422f901167451d944ff95 100644
--- a/Phys/Tesla/tests/options/analyseAll.py
+++ b/Phys/Tesla/tests/options/analyseAll.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 subprocess import call
 import os
 execfile(os.path.expandvars("$TESLAROOT/tests/options/streams.py"))
diff --git a/Phys/Tesla/tests/options/analyseInput.py b/Phys/Tesla/tests/options/analyseInput.py
index 9dc3be46269bb1f9be32b32986ac57afddc95080..f5d5c430b8d31dbe6664d1fe6548abf6b9593ed9 100644
--- a/Phys/Tesla/tests/options/analyseInput.py
+++ b/Phys/Tesla/tests/options/analyseInput.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 GaudiPython as GP
diff --git a/Phys/Tesla/tests/options/analyseOutput.py b/Phys/Tesla/tests/options/analyseOutput.py
index e9f008882967d87fa3f518cebae057c4aac6726a..da8a9a5054b8a4bd91a6144deccab4681123af8d 100644
--- a/Phys/Tesla/tests/options/analyseOutput.py
+++ b/Phys/Tesla/tests/options/analyseOutput.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 GaudiPython as GP
diff --git a/Phys/Tesla/tests/options/containers.py b/Phys/Tesla/tests/options/containers.py
index 9ce7474536ec7db6001a7f92f91ca9e81d811d24..cb711f7610bc9247332b6d25c05b82df10023de2 100644
--- a/Phys/Tesla/tests/options/containers.py
+++ b/Phys/Tesla/tests/options/containers.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 # Options file for the QMTest to check that the containers have not
 # changed, either in values or in size.
 
diff --git a/Phys/Tesla/tests/options/rightList.py b/Phys/Tesla/tests/options/rightList.py
index 24b4778943d547dd77e4ffb6162fc8a97ecfb35c..8a16a3de23db0ee97f88fbafd0c1efa502642e19 100644
--- a/Phys/Tesla/tests/options/rightList.py
+++ b/Phys/Tesla/tests/options/rightList.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import TeslaLineChecker
 list = ["Hlt2BottomoniumDiKstarTurbo"
 ,"Hlt2CharmHadD02KmPipTurbo"
diff --git a/Phys/Tesla/tests/options/streams.py b/Phys/Tesla/tests/options/streams.py
index 84d940eb5ce7509199eac44693f6f24d2bc8c719..5d8ba0db9d2890be8a5ff701edc7eb36a88c0b81 100644
--- a/Phys/Tesla/tests/options/streams.py
+++ b/Phys/Tesla/tests/options/streams.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 turbo_streams = {
     'DiMuon': {
         'lines': [
diff --git a/Phys/Tesla/tests/options/wrongList.py b/Phys/Tesla/tests/options/wrongList.py
index 7c63b1164581ce9a0241d8b46dfd63fc7325a199..58baf00828fb8ea8699726b6a1d4b0b52bf84aff 100644
--- a/Phys/Tesla/tests/options/wrongList.py
+++ b/Phys/Tesla/tests/options/wrongList.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import TeslaLineChecker
 list = ["Hlt2BottomoniumDiKstarTurbo"
 ,"Hlt2CharmHadD02KmPipTurbo"
diff --git a/Phys/Tesla/tests/qmtest/tesla.qms/default_2015.qmt b/Phys/Tesla/tests/qmtest/tesla.qms/default_2015.qmt
index d94eb9f01a9fb747d69c76c3d198184db697bf8d..fe72d08b297d65f8c71eb3949827ab07486a9e16 100644
--- a/Phys/Tesla/tests/qmtest/tesla.qms/default_2015.qmt
+++ b/Phys/Tesla/tests/qmtest/tesla.qms/default_2015.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!--
 #######################################################
 # SUMMARY OF THIS TEST
diff --git a/Phys/Tesla/tests/qmtest/tesla.qms/lineChecker_failure.qmt b/Phys/Tesla/tests/qmtest/tesla.qms/lineChecker_failure.qmt
index a7f5f1cf5e515d510903dbe7a00a61b383e3cf60..20942c8bc828f368b1dbdc95082a2421f7608c7e 100644
--- a/Phys/Tesla/tests/qmtest/tesla.qms/lineChecker_failure.qmt
+++ b/Phys/Tesla/tests/qmtest/tesla.qms/lineChecker_failure.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!--
 #######################################################
 # SUMMARY OF THIS TEST
diff --git a/Phys/Tesla/tests/qmtest/tesla.qms/lineChecker_success.qmt b/Phys/Tesla/tests/qmtest/tesla.qms/lineChecker_success.qmt
index d4b42cdc10d50ffbddf7a171349e162b13959d28..fcd394dfe9603480d5809728775238ce3e815552 100644
--- a/Phys/Tesla/tests/qmtest/tesla.qms/lineChecker_success.qmt
+++ b/Phys/Tesla/tests/qmtest/tesla.qms/lineChecker_success.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!--
 #######################################################
 # SUMMARY OF THIS TEST
diff --git a/Phys/Tesla/tests/qmtest/tesla.qms/pvrestore.qmt b/Phys/Tesla/tests/qmtest/tesla.qms/pvrestore.qmt
index 8c168a8b72164f500f6a0beca2a76d52bb4f3300..7d0d122cb0314e6b04dc571b44a40aa1f61a5c07 100644
--- a/Phys/Tesla/tests/qmtest/tesla.qms/pvrestore.qmt
+++ b/Phys/Tesla/tests/qmtest/tesla.qms/pvrestore.qmt
@@ -1,4 +1,14 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<!--
+    (c) Copyright 2000-2018 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.
+-->
 <!--
 #######################################################
 # SUMMARY OF THIS TEST
diff --git a/Phys/TurboCache/CMakeLists.txt b/Phys/TurboCache/CMakeLists.txt
index e77bab12b2e29c9ee5bec7b8a36747b3022454b7..091f1ae711e33e62eac24e6594853411511e6406 100644
--- a/Phys/TurboCache/CMakeLists.txt
+++ b/Phys/TurboCache/CMakeLists.txt
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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: TurboCache
 ################################################################################
diff --git a/Phys/TurboCache/options/DisableLoKiCacheFunctors.py b/Phys/TurboCache/options/DisableLoKiCacheFunctors.py
index e168c86cc06439840a83f62c0dee94a276584d0a..29dfb9324efe7669c0500155761a439af42dde3d 100644
--- a/Phys/TurboCache/options/DisableLoKiCacheFunctors.py
+++ b/Phys/TurboCache/options/DisableLoKiCacheFunctors.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Configurables import ApplicationMgr
 ApplicationMgr().Environment['LOKI_DISABLE_CACHE'] = '1'
diff --git a/Phys/TurboCache/options/NoEvents.py b/Phys/TurboCache/options/NoEvents.py
index 147e369efcd2b3534167b6b0440b568ceb6984bf..1406b15ed9b065c5bf1a899493eb23d6a6657d8b 100644
--- a/Phys/TurboCache/options/NoEvents.py
+++ b/Phys/TurboCache/options/NoEvents.py
@@ -1,2 +1,12 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Tesla.Configuration import Tesla
 Tesla().EvtMax = 0
diff --git a/Phys/TurboCache/options/SilenceErrors.py b/Phys/TurboCache/options/SilenceErrors.py
index 3aef38f82d32db66684610167b7c5abe0d6fe00f..5ddada99e302adf32bad885519332696eeb808f3 100644
--- a/Phys/TurboCache/options/SilenceErrors.py
+++ b/Phys/TurboCache/options/SilenceErrors.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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.                                       #
+###############################################################################
 # -*- coding: utf-8 -*-
 from Gaudi.Configuration import MessageSvc, FATAL
 MessageSvc(OutputLevel=FATAL)
diff --git a/Phys/TurboCache/options/Streams_v4r1.py b/Phys/TurboCache/options/Streams_v4r1.py
index 7dd223251032bfb2a874377cc694f8bf2aa4242b..928d767bf7e95f0d908037674882c782a06b849d 100644
--- a/Phys/TurboCache/options/Streams_v4r1.py
+++ b/Phys/TurboCache/options/Streams_v4r1.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 TurboStreamProd.streams import turbo_streams
 from Tesla.Configuration import Tesla
 Tesla().Streams = turbo_streams["2016"]
diff --git a/Phys/TurboCache/options/SuppressLogMessages.py b/Phys/TurboCache/options/SuppressLogMessages.py
index a1353423fe6fd3e9f275ac3977c1b8a5bf166e4c..37e68acd89a76ea36c3c8debaf9b30c748cdb3e7 100644
--- a/Phys/TurboCache/options/SuppressLogMessages.py
+++ b/Phys/TurboCache/options/SuppressLogMessages.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 logging
 from GaudiKernel.ProcessJobOptions import GetConsoleHandler
 
diff --git a/Phys/TurboCache/options/Tesla_Data_2016_forStreams_v2.py b/Phys/TurboCache/options/Tesla_Data_2016_forStreams_v2.py
index 42b238e74ce73166be193d143aee461edd3f3816..25a42373251dc2ac21ecab5027c386e356d03045 100755
--- a/Phys/TurboCache/options/Tesla_Data_2016_forStreams_v2.py
+++ b/Phys/TurboCache/options/Tesla_Data_2016_forStreams_v2.py
@@ -1,3 +1,13 @@
+###############################################################################
+# (c) Copyright 2000-2018 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 Tesla.Configuration import Tesla
 Tesla().Pack = True
 Tesla().InputType = "RAW"