Data Analysis

Data Analysis
This page contains the analysis for the Texas A&M campaign, it is intended as a shared "how-to" page to analyse the different detectors. Typical information of Calibration files, calibration macros, Calibrated spectra, Particle Identification plots, Detector-specific analysis methods or formulae, caveates should go here.

List of Detectors:
 * Beam centring

List of Detectors:
 * Tiara Matchsticks Calibration
 * Tiara-Hyball Calibration
 * Tiara-Hyball Analysis
 * Tiara-Barrel Calibration
 * Tiara-Barrel Analysis
 * HPGe Calibration
 * HPGe Analysis
 * Focal Plane Detector Calibration
 * Focal Plane Detector Analysis
 * List of calibration-coefficients files with associated macros
 * T40 GitHub Repository

NPTOOL work flow
As a very basic, let's remember we have to "make" each time we change something related to the code (e.g., *.cxx). And let's keep in mind there are only two locations that you should make.
 * Inside the NPLibrary: cmake ./ followed by make install (e.g., make -jN install (N=number of cpus)) on NPLibrary directory (Note: cmake -GNinja ./ and then ninja if you're using Ninja (e.g., on gca server)''')
 * Inside T40: make on T40 directory (Note: cmake -GNinja ./ and then ninja if you're using Ninja (e.g., on gca server)''')

NPTOOL energy loss options
Also, as a tip, if you want to change the setup of energy loss options, set options in Analysis.cxx. The energy loss data table are stored in nptool/Input/EnergyLoss directory.

If you didn't find energy loss data table that you want, you can easily create a new data table file. In case of SRIM, run SRIM and then just use its output table file. The format is same and calculate energy loss in MeV/mm. Move the header from "==== Calculation using SRIM-20XX =====" to "Ion energy  dE/dx ...." to below energy loss table. For details, compare the table file with existing files.