From bbb59a676821023f346e0e723005778346762f55 Mon Sep 17 00:00:00 2001 From: deserevi <deserevi@nptool> Date: Mon, 7 Feb 2011 14:16:33 +0000 Subject: [PATCH] * Move information files in new README directory * Move CalibrationManager class to the Tools directory in NPL --- Licence/NPToolLicence => LICENSE | 0 NPLib/CalibrationManager/Makefile | 32 -------- .../CalibrationManager.cxx | 0 .../CalibrationManager.h | 0 NPLib/Tools/Makefile | 9 ++- README | 77 ------------------- README/CREDITS | 25 ++++++ Licence/Contributor => README/README/CREDITS | 0 .../Geant4Licence => README/README/G4LICENSE | 0 {Licence => README/README}/GPL2.0 | 0 HOWTO => README/README/HOWTO | 0 INSTALL => README/README/INSTALL | 0 {Licence => README/README}/header_template | 0 ReleaseNotes.txt => README/ReleaseNotes.txt | 17 +++- TODO => README/TODO | 0 VERSION => README/VERSION | 0 16 files changed, 46 insertions(+), 114 deletions(-) rename Licence/NPToolLicence => LICENSE (100%) delete mode 100644 NPLib/CalibrationManager/Makefile rename NPLib/{CalibrationManager => Tools}/CalibrationManager.cxx (100%) rename NPLib/{CalibrationManager => Tools}/CalibrationManager.h (100%) delete mode 100644 README create mode 100644 README/CREDITS rename Licence/Contributor => README/README/CREDITS (100%) rename Licence/Geant4Licence => README/README/G4LICENSE (100%) rename {Licence => README/README}/GPL2.0 (100%) rename HOWTO => README/README/HOWTO (100%) rename INSTALL => README/README/INSTALL (100%) rename {Licence => README/README}/header_template (100%) rename ReleaseNotes.txt => README/ReleaseNotes.txt (80%) rename TODO => README/TODO (100%) rename VERSION => README/VERSION (100%) diff --git a/Licence/NPToolLicence b/LICENSE similarity index 100% rename from Licence/NPToolLicence rename to LICENSE diff --git a/NPLib/CalibrationManager/Makefile b/NPLib/CalibrationManager/Makefile deleted file mode 100644 index a6c78cd13..000000000 --- a/NPLib/CalibrationManager/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -include ../Makefile.arch - -#------------------------------------------------------------------------------ -SHARELIB = libCalibrationManager.so - -all: $(SHARELIB) -#------------------------------------------------------------------------------ -############### Detector ############## - -## MUST2 ## -libCalibrationManager.so: CalibrationManager.o - $(LD) $(SOFLAGS) $^ $(OutPutOpt) $@ - -# dependances -CalibrationManager.o: CalibrationManager.cxx CalibrationManager.h -####################################### - -############# Clean and More ########## -clean: - @rm -f core *~ *.o *Dict* - -distclean: - make clean; rm -f *.so - -.SUFFIXES: .$(SrcSuf) - -### - -.$(SrcSuf).$(ObjSuf): - $(CXX) $(CXXFLAGS) $(INCLUDE) -c $< - - diff --git a/NPLib/CalibrationManager/CalibrationManager.cxx b/NPLib/Tools/CalibrationManager.cxx similarity index 100% rename from NPLib/CalibrationManager/CalibrationManager.cxx rename to NPLib/Tools/CalibrationManager.cxx diff --git a/NPLib/CalibrationManager/CalibrationManager.h b/NPLib/Tools/CalibrationManager.h similarity index 100% rename from NPLib/CalibrationManager/CalibrationManager.h rename to NPLib/Tools/CalibrationManager.h diff --git a/NPLib/Tools/Makefile b/NPLib/Tools/Makefile index d8a9f4f43..28878fba4 100644 --- a/NPLib/Tools/Makefile +++ b/NPLib/Tools/Makefile @@ -1,7 +1,7 @@ include ../Makefile.arch #------------------------------------------------------------------------------ -SHARELIB = libTagManager.so libOptionManager.so libAsciiFile.so +SHARELIB = libTagManager.so libOptionManager.so libAsciiFile.so libCalibrationManager.so all: $(SHARELIB) #------------------------------------------------------------------------------ @@ -24,11 +24,16 @@ libAsciiFile.so: TAsciiFile.o TAsciiFileDict.o TAsciiFileDict.cxx: TAsciiFile.h rootcint -f $@ -c $^ - + +## Calibration Manager ## +libCalibrationManager.so: CalibrationManager.o + $(LD) $(SOFLAGS) $^ $(OutPutOpt) $@ + # dependances NPTagManager.o:NPTagManager.cxx NPTagManager.h NPOptionManager.o:NPOptionManager.cxx NPOptionManager.h TAsciiFile.o: TAsciiFile.cxx TAsciiFile.h +CalibrationManager.o: CalibrationManager.cxx CalibrationManager.h ####################################### ############# Clean and More ########## diff --git a/README b/README deleted file mode 100644 index 3e3359379..000000000 --- a/README +++ /dev/null @@ -1,77 +0,0 @@ -/***************************************************************************** - * Copyright (C) 2009-2010 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: N. de Sereville contact address: deserevi@ipno.in2p3.fr * - * * - * Creation Date : 01/09/09 * - * Last update : * - *---------------------------------------------------------------------------* - * Decription: * - * This file describes the content of the NPTool package * - *---------------------------------------------------------------------------* - * Comment: * - * * - * * - *****************************************************************************/ - -The NPTool package has basically three modules: the NPSimulation -module in charge of performing the G4 simulation, the NPAnalysis -module in charge of analysing the results of NPSimulation as well -as data from real experiments (e.g. MUST2 @ GANIL) and the NPLib -module which contains a set of libraries needed both by the -NPSimulation and NPAnalysis modules. - -The detailed structure of the NPTool package is: -NPTool / NPLib - / NPSimulation - / NPAnalysis - / Inputs - / Outputs - / NPDocumentation - - -I) NPLib - This directory contains a set of libraries (each one in - a dedicated directory) used both in the NPSimulation and - NPAnalysis modules. - Complementary informations concerning each library of - the NPLib can be found in the README file of the NPLib - directory. - -II) NPSimulation - This directory contains all the files needed to run the - G4 simulation software. The structure of this directory - is the typical structure for G4 programs with a src and - include directory. - -III) NPAnalysis - This directory contains everything related to the analysis - program treating the output ROOT file from NPSimulation. - An example of such a program can be found in the subdirectory - Template which deals with the MUST2 detector. - -IV) Inputs - This directory contains all the input files needed for - the G4 simulation (NPSimulation). It has the following - structure: - Inputs / CrossSection - / DetectorConstruction - / EventGenerator - / EnergyLoss - -V) Outputs - This directory contains the ROOT ouput files of the - G4 simulation (NPSimulation) and of the analysis - tools (NPAnalysis). It has the following structure: - Outputs / Analysis - / Simulation - -VI) NPDocumentation - This directory contains some detailed documentation - concerning NPSimulation and NPAnalysis and on how to - add a new detector to NPSimulation. diff --git a/README/CREDITS b/README/CREDITS new file mode 100644 index 000000000..b853925f8 --- /dev/null +++ b/README/CREDITS @@ -0,0 +1,25 @@ +This file lists the most important contributors to the ROOT project. +It is sorted by name and formatted to allow easy grepping and beautification +by scripts. The fields are: name (N), email (E), description (D). + +N: Sandra Giron +E: giron@ipno.in2p3.fr +D: contribution to TMust2Physics + +N: Marc Labiche +E: marc.labiche@stfc.ac.uk +D: contribution to Paris + +N: Adrien Matta +E: matta@ipno.in2p3.fr +D: main contributor for NPTool Structure + contribution to Must2 and SSSD + +N: Angel Sanchez Benitez +E: angel.sanchez@dfaie.uhu.es +D: contribution to Hyde + +N: Nicolas de Sereville +E: deserevi@ipno.in2p3.fr +D: main contributor for NPTool Structure + contribution to Gaspard diff --git a/Licence/Contributor b/README/README/CREDITS similarity index 100% rename from Licence/Contributor rename to README/README/CREDITS diff --git a/Licence/Geant4Licence b/README/README/G4LICENSE similarity index 100% rename from Licence/Geant4Licence rename to README/README/G4LICENSE diff --git a/Licence/GPL2.0 b/README/README/GPL2.0 similarity index 100% rename from Licence/GPL2.0 rename to README/README/GPL2.0 diff --git a/HOWTO b/README/README/HOWTO similarity index 100% rename from HOWTO rename to README/README/HOWTO diff --git a/INSTALL b/README/README/INSTALL similarity index 100% rename from INSTALL rename to README/README/INSTALL diff --git a/Licence/header_template b/README/README/header_template similarity index 100% rename from Licence/header_template rename to README/README/header_template diff --git a/ReleaseNotes.txt b/README/ReleaseNotes.txt similarity index 80% rename from ReleaseNotes.txt rename to README/ReleaseNotes.txt index ab6599e00..2e535df47 100644 --- a/ReleaseNotes.txt +++ b/README/ReleaseNotes.txt @@ -1,4 +1,4 @@ -NPTool version xx.xx has been released on January xx 2011. +NPTool version xx.xx has been released on February 7th 2011. The following people have contributed to this new version: Sandra Giron, IPNO @@ -24,6 +24,9 @@ Nicolas de Sereville, IPNO + Symbolic links to *.dylib files are done if on a macosx platform. + The 'liblist' file at NPLib level is created. + + CalibrationManager class + + This class handles in a nice way a collection of calibration files + + NPReaction class + Now it is possible to give excitation to the light nucleus in exit channel. @@ -36,6 +39,7 @@ Nicolas de Sereville, IPNO + TAsciiFile class + This class allows to store any regular text file in a ROOT file + This is used to store the event generator, detector configuration files + in ROOT output file. + RootInput facility + Support for adding TFriend object @@ -45,7 +49,7 @@ Nicolas de Sereville, IPNO + Support for adding TAsciiFile object automatically + NPTagManager facility - ?? Adrien ?? + + Associate one or more string to an event in a TTree + NPSimulation -------------- @@ -56,7 +60,10 @@ Nicolas de Sereville, IPNO + NPAnalysis ------------ + Using the NPOptionManager facility, calling NPAnalysis is now: - ./Analysis -D xxx.detector -E xxx.reaction -R RunToTreat.txt + ./Analysis -D xxx.detector -E xxx.reaction -R RunToTreat.txt + + One can also call Analysis in the following way: + ./Analysis -R RunToTreat + In this case the configuration files stored in TAsciiFile are used + A simple but functional example for MUST2 analysis can be found in the NPAnalysis/must2 directory. @@ -67,6 +74,10 @@ Nicolas de Sereville, IPNO **************************************************************************** + MUST2 ------- + + Add configuration parameters: + + possibility to suppress channels + + give raw and physical threshold + + configure Si/SiLi and Si/CsI match conditions + GASPARD --------- diff --git a/TODO b/README/TODO similarity index 100% rename from TODO rename to README/TODO diff --git a/VERSION b/README/VERSION similarity index 100% rename from VERSION rename to README/VERSION -- GitLab