From 4593dfab60ef022a36f89d538a0b054de064ee21 Mon Sep 17 00:00:00 2001 From: matta adrien <matta@lpccaen.in2p3.fr> Date: Tue, 11 Oct 2016 16:18:17 +0200 Subject: [PATCH] * Adding missing copyright to various file --- NPLib/Core/NPAnalysisFactory.cxx | 24 +++++++++++ NPLib/Core/NPAnalysisFactory.h | 24 +++++++++++ NPLib/Core/NPDetectorFactory.cxx | 24 +++++++++++ NPLib/Core/NPDetectorFactory.h | 23 +++++++++++ NPLib/Core/NPDetectorManager.cxx | 2 +- NPLib/Core/NPDetectorManager.h | 2 +- NPLib/Core/NPGlobalSystemOfUnits.h | 21 ++++++++++ NPLib/Core/NPPhysicalConstants.h | 60 ++++++++++------------------ NPLib/Core/NPSpectraServer.cxx | 25 ++++++++++++ NPLib/Core/NPSpectraServer.h | 21 ++++++++++ NPLib/Core/NPSystemOfUnits.h | 64 ++++++++++-------------------- NPLib/Online/NPOnline.cxx | 24 +++++++++++ NPLib/Online/NPOnline.h | 23 +++++++++++ README.md | 2 +- 14 files changed, 254 insertions(+), 85 deletions(-) diff --git a/NPLib/Core/NPAnalysisFactory.cxx b/NPLib/Core/NPAnalysisFactory.cxx index b98af2d93..8e65dc3f5 100644 --- a/NPLib/Core/NPAnalysisFactory.cxx +++ b/NPLib/Core/NPAnalysisFactory.cxx @@ -1,3 +1,27 @@ +/***************************************************************************** + * Copyright (C) 2009-2016 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien Matta contact address: matta@lpccaen.in2p3.fr * + * * + * Creation Date : * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ + + + #include"NPAnalysisFactory.h" using namespace NPL; #include<fstream> diff --git a/NPLib/Core/NPAnalysisFactory.h b/NPLib/Core/NPAnalysisFactory.h index 2fec74e1e..7daddd437 100644 --- a/NPLib/Core/NPAnalysisFactory.h +++ b/NPLib/Core/NPAnalysisFactory.h @@ -1,5 +1,29 @@ #ifndef _ANALYSISFACTORY_ #define _ANALYSISFACTORY_ + +/***************************************************************************** + * Copyright (C) 2009-2016 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien Matta contact address: matta@lpccaen.in2p3.fr * + * * + * Creation Date : * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ + + #include"NPVAnalysis.h" #include"NPAnalysisFactory.h" #include<map> diff --git a/NPLib/Core/NPDetectorFactory.cxx b/NPLib/Core/NPDetectorFactory.cxx index 92af62cca..9690fc46e 100644 --- a/NPLib/Core/NPDetectorFactory.cxx +++ b/NPLib/Core/NPDetectorFactory.cxx @@ -1,3 +1,27 @@ + +/***************************************************************************** + * Copyright (C) 2009-2016 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien Matta contact address: matta@lpccaen.in2p3.fr * + * * + * Creation Date : * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ + + #include"NPDetectorFactory.h" using namespace NPL; #include<dlfcn.h> diff --git a/NPLib/Core/NPDetectorFactory.h b/NPLib/Core/NPDetectorFactory.h index a1de7bfa0..e6151cda4 100644 --- a/NPLib/Core/NPDetectorFactory.h +++ b/NPLib/Core/NPDetectorFactory.h @@ -1,5 +1,28 @@ #ifndef _DETECTORFACTORY_ #define _DETECTORFACTORY_ +/***************************************************************************** + * Copyright (C) 2009-2016 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien Matta contact address: matta@lpccaen.in2p3.fr * + * * + * Creation Date : * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ + + #include"NPVDetector.h" #include<map> #include<string> diff --git a/NPLib/Core/NPDetectorManager.cxx b/NPLib/Core/NPDetectorManager.cxx index a40bfbc28..015491e6e 100644 --- a/NPLib/Core/NPDetectorManager.cxx +++ b/NPLib/Core/NPDetectorManager.cxx @@ -6,7 +6,7 @@ *****************************************************************************/ /***************************************************************************** - * Original Author: contact address: * + * Original Author: Adrien Matta contact address: matta@lpccaen.in2p3.fr * * * * Creation Date : * * Last update : * diff --git a/NPLib/Core/NPDetectorManager.h b/NPLib/Core/NPDetectorManager.h index 9f21b8682..ae7485e0c 100644 --- a/NPLib/Core/NPDetectorManager.h +++ b/NPLib/Core/NPDetectorManager.h @@ -8,7 +8,7 @@ *****************************************************************************/ /***************************************************************************** - * Original Author: contact address: * + * Original Author: Adrien Matta contact address: matta@lpccaen.in2p3.fr * * * * Creation Date : * * Last update : * diff --git a/NPLib/Core/NPGlobalSystemOfUnits.h b/NPLib/Core/NPGlobalSystemOfUnits.h index 8fafc495e..cbce24d95 100644 --- a/NPLib/Core/NPGlobalSystemOfUnits.h +++ b/NPLib/Core/NPGlobalSystemOfUnits.h @@ -1,4 +1,25 @@ #ifdef NP_SYSTEM_OF_UNITS_H +/***************************************************************************** + * Copyright (C) 2009-2016 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien Matta contact address: matta@lpccaen.in2p3.fr * + * * + * Creation Date : * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ #include "NPSystemOfUnits.h" diff --git a/NPLib/Core/NPPhysicalConstants.h b/NPLib/Core/NPPhysicalConstants.h index 82be85caf..54add9f13 100644 --- a/NPLib/Core/NPPhysicalConstants.h +++ b/NPLib/Core/NPPhysicalConstants.h @@ -1,46 +1,28 @@ -// -*- C++ -*- -// $Id:$ -// ---------------------------------------------------------------------- -// HEP coherent Physical Constants -// -// This file has been provided by Geant4 (simulation toolkit for HEP). -// -// The basic units are : -// millimeter -// nanosecond -// Mega electron Volt -// positon charge -// degree Kelvin -// amount of substance (mole) -// luminous intensity (candela) -// radian -// steradian -// -// Below is a non exhaustive list of Physical CONSTANTS, -// computed in the Internal HEP System Of Units. -// -// Most of them are extracted from the Particle Data Book : -// Phys. Rev. D volume 50 3-1 (1994) page 1233 -// -// ...with a meaningful (?) name ... -// -// You can add your own constants. -// -// Author: M.Maire -// -// History: -// -// 23.02.96 Created -// 26.03.96 Added constants for standard conditions of temperature -// and pressure; also added Gas threshold. -// 29.04.08 use PDG 2006 values -// 03.11.08 use PDG 2008 values - -// Prevent to use NPSystem of unit while HEP system of unit is in use (in G4 for example) #ifndef HEP_PHYSICAL_CONSTANTS_H #ifndef NP_PHYSICAL_CONSTANTS_H #define NP_PHYSICAL_CONSTANTS_H +/***************************************************************************** + * Copyright (C) 2009-2016 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien Matta contact address: matta@lpccaen.in2p3.fr * + * * + * Creation Date : * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ #include "NPSystemOfUnits.h" diff --git a/NPLib/Core/NPSpectraServer.cxx b/NPLib/Core/NPSpectraServer.cxx index 907233aa3..586f22f5c 100644 --- a/NPLib/Core/NPSpectraServer.cxx +++ b/NPLib/Core/NPSpectraServer.cxx @@ -1,3 +1,28 @@ + +/***************************************************************************** + * Copyright (C) 2009-2016 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien Matta contact address: matta@lpccaen.in2p3.fr * + * * + * Creation Date : * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ + + + #include "NPSpectraServer.h" #include<cstdlib> #include<unistd.h> diff --git a/NPLib/Core/NPSpectraServer.h b/NPLib/Core/NPSpectraServer.h index c79d0ae7b..b68ca3e35 100644 --- a/NPLib/Core/NPSpectraServer.h +++ b/NPLib/Core/NPSpectraServer.h @@ -1,5 +1,26 @@ #ifndef NPSPECTRASERVER_H #define NPSPECTRASERVER_H +/***************************************************************************** + * Copyright (C) 2009-2016 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien Matta contact address: matta@lpccaen.in2p3.fr * + * * + * Creation Date : * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ #include "TSocket.h" #include "TServerSocket.h" diff --git a/NPLib/Core/NPSystemOfUnits.h b/NPLib/Core/NPSystemOfUnits.h index 7cd9f18aa..2c5c615ec 100644 --- a/NPLib/Core/NPSystemOfUnits.h +++ b/NPLib/Core/NPSystemOfUnits.h @@ -1,47 +1,25 @@ -// -*- C++ -*- -// $Id:$ -// ---------------------------------------------------------------------- -// HEP coherent system of Units -// -// This file has been provided to CLHEP by Geant4 (simulation toolkit for HEP). -// -// The basic units are : -// millimeter (millimeter) -// nanosecond (nanosecond) -// Mega electron Volt (MeV) -// positron charge (eplus) -// degree Kelvin (kelvin) -// the amount of substance (mole) -// luminous intensity (candela) -// radian (radian) -// steradian (steradian) -// -// Below is a non exhaustive list of derived and pratical units -// (i.e. mostly the SI units). -// You can add your own units. -// -// The SI numerical value of the positron charge is defined here, -// as it is needed for conversion factor : positron charge = e_SI (coulomb) -// -// The others physical constants are defined in the header file : -//PhysicalConstants.h -// -// Authors: M.Maire, S.Giani -// -// History: -// -// 06.02.96 Created. -// 28.03.96 Added miscellaneous constants. -// 05.12.97 E.Tcherniaev: Redefined pascal (to avoid warnings on WinNT) -// 20.05.98 names: meter, second, gram, radian, degree -// (from Brian.Lasiuk@yale.edu (STAR)). Added luminous units. -// 05.08.98 angstrom, picobarn, microsecond, picosecond, petaelectronvolt -// 01.03.01 parsec -// 31.01.06 kilogray, milligray, microgray -// 29.04.08 use PDG 2006 value of e_SI -// 03.11.08 use PDG 2008 value of e_SI - #ifndef HEP_SYSTEM_OF_UNITS_H +/***************************************************************************** + * Copyright (C) 2009-2016 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien Matta contact address: matta@lpccaen.in2p3.fr * + * * + * Creation Date : * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ #ifndef NP_SYSTEM_OF_UNITS_H #define NP_SYSTEM_OF_UNITS_H diff --git a/NPLib/Online/NPOnline.cxx b/NPLib/Online/NPOnline.cxx index 3d25c3253..c91272ba3 100644 --- a/NPLib/Online/NPOnline.cxx +++ b/NPLib/Online/NPOnline.cxx @@ -1,3 +1,27 @@ +/***************************************************************************** + * Copyright (C) 2009-2016 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien Matta contact address: matta@lpccaen.in2p3.fr * + * * + * Creation Date : * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ + + + // NPL #include "NPOnline.h" diff --git a/NPLib/Online/NPOnline.h b/NPLib/Online/NPOnline.h index ddb108cb2..378e926ad 100644 --- a/NPLib/Online/NPOnline.h +++ b/NPLib/Online/NPOnline.h @@ -1,5 +1,28 @@ #ifndef NPONLINE_H #define NPONLINE_H +/***************************************************************************** + * Copyright (C) 2009-2016 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien Matta contact address: matta@lpccaen.in2p3.fr * + * * + * Creation Date : * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ + + #include "TGLayout.h" #include "TGButton.h" #include "TGTab.h" diff --git a/README.md b/README.md index bcc784bbd..dad9852dd 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ distributed data analysis and Monte Carlo simulation package for low-energy nuclear physics experiments. The NPTool package aims to offer an unified framework for preparing and analysing complex experiments, making an efficient use of Geant4 and ROOT toolkits. If you wish to contribute, contact Adrien -MATTA at a.matta@surrey.ac.uk +MATTA at matta@lpccaen.in2p3.fr # Contents 1. [Getting the code](#getting-the-code) -- GitLab