From f247164dbf7065370e8a40cc45513a86b011d53c Mon Sep 17 00:00:00 2001
From: Dave Casper <dcasper@uci.edu>
Date: Sun, 30 Aug 2020 15:53:16 -0700
Subject: [PATCH] Add copyright notices and Apache2 license

---
 EventFormats/EventFormats/DAQFormats.hpp            | 7 +++++++
 EventFormats/EventFormats/DigitizerDataFragment.hpp | 8 ++++++++
 EventFormats/EventFormats/RawExampleFormat.hpp      | 8 ++++++++
 EventFormats/EventFormats/TLBDataFragment.hpp       | 8 ++++++++
 EventFormats/EventFormats/TLBMonitoringFragment.hpp | 8 ++++++++
 EventFormats/EventFormats/TrackerDataFragment.hpp   | 8 ++++++++
 EventFormats/EventFormats/TrackerDataFragment.icc   | 7 +++++++
 Exceptions/Exceptions/Exceptions.hpp                | 8 ++++++++
 LICENSE                                             | 1 +
 Logging/include/Logging.hpp                         | 8 ++++++++
 10 files changed, 71 insertions(+)
 create mode 100644 LICENSE

diff --git a/EventFormats/EventFormats/DAQFormats.hpp b/EventFormats/EventFormats/DAQFormats.hpp
index 44ac3ff..336b1a9 100644
--- a/EventFormats/EventFormats/DAQFormats.hpp
+++ b/EventFormats/EventFormats/DAQFormats.hpp
@@ -1,3 +1,10 @@
+/*
+  Copyright (C) 2019-2020 CERN for the benefit of the FASER collaboration
+*/
+
+///////////////////////////////////////////////////////////////////
+// DAQFormats.hpp, (c) FASER Detector software
+///////////////////////////////////////////////////////////////////
 #pragma once
 
 #include <stdint.h>
diff --git a/EventFormats/EventFormats/DigitizerDataFragment.hpp b/EventFormats/EventFormats/DigitizerDataFragment.hpp
index a06c155..265a4f3 100644
--- a/EventFormats/EventFormats/DigitizerDataFragment.hpp
+++ b/EventFormats/EventFormats/DigitizerDataFragment.hpp
@@ -1,3 +1,11 @@
+/*
+  Copyright (C) 2019-2020 CERN for the benefit of the FASER collaboration
+*/
+
+///////////////////////////////////////////////////////////////////
+// DigitizerDataFragment.hpp, (c) FASER Detector software
+///////////////////////////////////////////////////////////////////
+
 #pragma once
 #include <map>
 #include <bitset>
diff --git a/EventFormats/EventFormats/RawExampleFormat.hpp b/EventFormats/EventFormats/RawExampleFormat.hpp
index c805382..f124009 100644
--- a/EventFormats/EventFormats/RawExampleFormat.hpp
+++ b/EventFormats/EventFormats/RawExampleFormat.hpp
@@ -1,3 +1,11 @@
+/*
+  Copyright (C) 2019-2020 CERN for the benefit of the FASER collaboration
+*/
+
+///////////////////////////////////////////////////////////////////
+// RawExampleFormat.hpp, (c) FASER Detector software
+///////////////////////////////////////////////////////////////////
+
 #pragma once
 
 #include <stdint.h>
diff --git a/EventFormats/EventFormats/TLBDataFragment.hpp b/EventFormats/EventFormats/TLBDataFragment.hpp
index 526a390..1d03b9d 100644
--- a/EventFormats/EventFormats/TLBDataFragment.hpp
+++ b/EventFormats/EventFormats/TLBDataFragment.hpp
@@ -1,3 +1,11 @@
+/*
+  Copyright (C) 2019-2020 CERN for the benefit of the FASER collaboration
+*/
+
+///////////////////////////////////////////////////////////////////
+// TLBDataFragment.hpp, (c) FASER Detector software
+///////////////////////////////////////////////////////////////////
+
 #pragma once
 #include <bitset>
 #include <cstring> //memcpy
diff --git a/EventFormats/EventFormats/TLBMonitoringFragment.hpp b/EventFormats/EventFormats/TLBMonitoringFragment.hpp
index 598733d..f1fb906 100644
--- a/EventFormats/EventFormats/TLBMonitoringFragment.hpp
+++ b/EventFormats/EventFormats/TLBMonitoringFragment.hpp
@@ -1,3 +1,11 @@
+/*
+  Copyright (C) 2019-2020 CERN for the benefit of the FASER collaboration
+*/
+
+///////////////////////////////////////////////////////////////////
+// TLBMonitoringFragment.hpp, (c) FASER Detector software
+///////////////////////////////////////////////////////////////////
+
 #pragma once
 #include <cstring> //memcpy, memset
 #include "Exceptions/Exceptions.hpp"
diff --git a/EventFormats/EventFormats/TrackerDataFragment.hpp b/EventFormats/EventFormats/TrackerDataFragment.hpp
index 37a0bf4..74c6ac3 100644
--- a/EventFormats/EventFormats/TrackerDataFragment.hpp
+++ b/EventFormats/EventFormats/TrackerDataFragment.hpp
@@ -1,3 +1,11 @@
+/*
+  Copyright (C) 2019-2020 CERN for the benefit of the FASER collaboration
+*/
+
+///////////////////////////////////////////////////////////////////
+// TrackerDataFragment.hpp, (c) FASER Detector software
+///////////////////////////////////////////////////////////////////
+
 #pragma once
 #include <bitset>
 #include "Exceptions/Exceptions.hpp"
diff --git a/EventFormats/EventFormats/TrackerDataFragment.icc b/EventFormats/EventFormats/TrackerDataFragment.icc
index e470e7c..b3cd571 100644
--- a/EventFormats/EventFormats/TrackerDataFragment.icc
+++ b/EventFormats/EventFormats/TrackerDataFragment.icc
@@ -1,3 +1,10 @@
+/*
+  Copyright (C) 2019-2020 CERN for the benefit of the FASER collaboration
+*/
+
+///////////////////////////////////////////////////////////////////
+// TrackerDataFragment.icc, (c) FASER Detector software
+///////////////////////////////////////////////////////////////////
 
 bool TrackerDataFragment::m_debug = false;
 //
diff --git a/Exceptions/Exceptions/Exceptions.hpp b/Exceptions/Exceptions/Exceptions.hpp
index 07f243a..7663570 100644
--- a/Exceptions/Exceptions/Exceptions.hpp
+++ b/Exceptions/Exceptions/Exceptions.hpp
@@ -1,3 +1,11 @@
+/*
+  Copyright (C) 2019-2020 CERN for the benefit of the FASER collaboration
+*/
+
+///////////////////////////////////////////////////////////////////
+// Exceptions.hpp, (c) FASER Detector software
+///////////////////////////////////////////////////////////////////
+
 #pragma once
 
 #include <iostream>
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..c67c20d
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1 @@
+The software in this repository is released under the Apache 2.0 license, except where other licenses apply.
\ No newline at end of file
diff --git a/Logging/include/Logging.hpp b/Logging/include/Logging.hpp
index 3c4752f..d036276 100644
--- a/Logging/include/Logging.hpp
+++ b/Logging/include/Logging.hpp
@@ -1,3 +1,11 @@
+/*
+  Copyright (C) 2019-2020 CERN for the benefit of the FASER collaboration
+*/
+
+///////////////////////////////////////////////////////////////////
+// Logging.hpp, (c) FASER Detector software
+///////////////////////////////////////////////////////////////////
+
 //============================================================================
 // Name        : SimpleLogger
 // Author      : Sam Meehan
-- 
GitLab