@@ -7,20 +7,22 @@ Step-by-step tutorial for data analysis standalone software
The main components of the SW are:
1. TreeWave generation
2. Create ntuple
3. Read ntuple
2. Create n-tuple
3. Read n-tuple
4. Energy resolution calculation
## TreeWave generation
This macro converts the binary file.dat acquired by the Digitizer into a ROOT file (the TreeWave.root). This file is a TTree containing in different branches all the samplings and the temperature of the signals divided for different crystals.
## Create ntuple
## Create n-tuple
The second step is: `/$HOME/foot_turin/Script/PythonScript/sw_standalone/create_ntuple.py`.
This class aims at processing the TreeWave.root generating the major quantities required by the analysis (amplitude, charge, baseline, fit paramters, etc.) and saving them in another ROOT file.
Enabling the fit analysis the processing time could be quite long (several minutes). Thus, the idea of the code is to run this class one time, generate the n-tuples of all the signals quantities and leave the histograms generation to the next step (read_ntuple.py).