From b286aed4f602f5521c292cb3e1e29497cff61ee6 Mon Sep 17 00:00:00 2001 From: Unknown <unknown> Date: Wed, 2 Oct 2013 10:00:25 +0000 Subject: [PATCH] --- NPLib/Tools/NPEnergyLoss.cxx | 32 ++++++++++++++++++++++++++++++++ NPLib/Tools/NPEnergyLoss.h | 30 ++++++++++++++++++++++++++++++ NPLib/Tools/NPReaction.cxx | 33 +++++++++++++++++++++++++++++++++ NPLib/Tools/NPReaction.h | 31 +++++++++++++++++++++++++++++++ NPLib/VDetector/VDetector.cxx | 26 +++++++++++++++++++++++++- NPLib/VDetector/VDetector.h | 23 +++++++++++++++++++++++ 6 files changed, 174 insertions(+), 1 deletion(-) diff --git a/NPLib/Tools/NPEnergyLoss.cxx b/NPLib/Tools/NPEnergyLoss.cxx index f7bd696f5..cf6d582c1 100644 --- a/NPLib/Tools/NPEnergyLoss.cxx +++ b/NPLib/Tools/NPEnergyLoss.cxx @@ -1,3 +1,35 @@ +/***************************************************************************** + * Copyright (C) 2009 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@ipno.in2p3.fr * + * * + * Creation Date : April 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * Deal with energy loss on basis of a dEdX input file, from SRIM or LISE++ * + * The class can be used to evaluate energy loss in material or to Evaluate* + * initial energy before crossing the material. * + * * + * The use of Interpolator derived form the GSL insure a very good speed of* + * execution. * + * * + * Table Should come in the following unit: * + * Particle Energy: MeV/u * + * dEdX: MeV/micrometer * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ + + #include <iostream> #include <fstream> #include <cmath> diff --git a/NPLib/Tools/NPEnergyLoss.h b/NPLib/Tools/NPEnergyLoss.h index 4dd07068d..10616258d 100644 --- a/NPLib/Tools/NPEnergyLoss.h +++ b/NPLib/Tools/NPEnergyLoss.h @@ -1,6 +1,36 @@ #ifndef __EnergyLoss__ #define __EnergyLoss__ +/***************************************************************************** + * Copyright (C) 2009 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@ipno.in2p3.fr * + * * + * Creation Date : April 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * Deal with energy loss on basis of a dEdX input file, from SRIM or LISE++ * + * The class can be used to evaluate energy loss in material or to Evaluate* + * initial energy before crossing the material. * + * * + * The use of Interpolator derived form the GSL insure a very good speed of* + * execution. * + * * + * Table Should come in the following unit: * + * Particle Energy: MeV/u * + * dEdX: MeV/micrometer * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ + #include <string> #include <vector> using namespace std ; diff --git a/NPLib/Tools/NPReaction.cxx b/NPLib/Tools/NPReaction.cxx index 8517a5a33..dfb319ab5 100644 --- a/NPLib/Tools/NPReaction.cxx +++ b/NPLib/Tools/NPReaction.cxx @@ -1,3 +1,36 @@ +/***************************************************************************** + * Copyright (C) 2009 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@ipno.in2p3.fr * + * * + * Creation Date : March 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This class deal with Two Body transfert Reaction * + * Physical parameter (Nuclei mass) are loaded from the nubtab03.asc file * + * (2003 nuclear table of isotopes mass). * + * * + * KineRelativistic: Used in NPSimulation * + * A relativistic calculation is made to compute Light and Heavy nuclei * + * angle given the Theta CM angle. * + * * + * ReconstructRelativistic: Used in NPAnalysis * + * A relativistic calculation is made to compute Excitation energy given the* + * light angle and energy in Lab frame. * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ + #include <iostream> #include <fstream> #include <string> diff --git a/NPLib/Tools/NPReaction.h b/NPLib/Tools/NPReaction.h index 80a076a93..3ab556da1 100644 --- a/NPLib/Tools/NPReaction.h +++ b/NPLib/Tools/NPReaction.h @@ -1,6 +1,37 @@ #ifndef __REACTION__ #define __REACTION__ +/***************************************************************************** + * Copyright (C) 2009 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@ipno.in2p3.fr * + * * + * Creation Date : March 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This class deal with Two Body transfert Reaction * + * Physical parameter (Nuclei mass) are loaded from the nubtab03.asc file * + * (2003 nuclear table of isotopes mass). * + * * + * KineRelativistic: Used in NPSimulation * + * A relativistic calculation is made to compute Light and Heavy nuclei * + * angle given the Theta CM angle. * + * * + * ReconstructRelativistic: Used in NPAnalysis * + * A relativistic calculation is made to compute Excitation energy given the* + * light angle and energy in Lab frame. * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ // C++ header #include <string> diff --git a/NPLib/VDetector/VDetector.cxx b/NPLib/VDetector/VDetector.cxx index 30df4fff2..877bb38e3 100644 --- a/NPLib/VDetector/VDetector.cxx +++ b/NPLib/VDetector/VDetector.cxx @@ -1,4 +1,28 @@ -#include "VDetector.h" +/***************************************************************************** + * Copyright (C) 2009 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@ipno.in2p3.fr * + * * + * Creation Date : June 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: Class VDetector (virtual) for NPAnalysis * + * All detector class used in NPAnalysis should derived from this virtual * + * class. Those VDetector daughter will deal with geometry, calibration and * + * basic data treatment. * + * * + *---------------------------------------------------------------------------* + * Comment: * + * See MUST2 array for exemple of VDetector derived class * + * * + *****************************************************************************/ + #include "VDetector.h" using namespace NPA ; diff --git a/NPLib/VDetector/VDetector.h b/NPLib/VDetector/VDetector.h index c2f4461bf..c10a4f39c 100644 --- a/NPLib/VDetector/VDetector.h +++ b/NPLib/VDetector/VDetector.h @@ -1,6 +1,29 @@ #ifndef VDectector_H #define VDectector_H +/***************************************************************************** + * Copyright (C) 2009 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@ipno.in2p3.fr * + * * + * Creation Date : June 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: Class VDetector (virtual) for NPAnalysis * + * All detector class used in NPAnalysis should derived from this virtual * + * class. Those VDetector daughter will deal with geometry, calibration and * + * basic data treatment. * + * * + *---------------------------------------------------------------------------* + * Comment: * + * See MUST2 array for exemple of VDetector derived class * + * * + *****************************************************************************/ // STL header #include <string> -- GitLab