CNRS Université Paris-Sud 11


Sur ce site

Bâtiments 104 et 108
91405 Orsay Campus

+33 1 69 15 52 13
104 +33 1 69 15 50 08
108 +33 1 69 15 52 68
Mentions légales

Accueil > Groupes de recherche > Structure du noyau > AGATA > Database Team > Scan Data > S001 > Read-Me

Also in this section


All source codes and Makefiles used in decoding these data and creating the compressed ROOT files are available within this tar-file.

A flat structure was deliberately chosen for the ROOT Tree with a separate branch for each item of data : there is then no need to use C++ classes to access the data keeping required programming skills to read the data fairly minimal. The simple ROOT macro CheckTree.C allows one to quickly examine the contents of the ROOT file and the structure of the Tree. Sample output has been included at the end of the file CheckTree.C posted showing the tree structure.

Only 64 flash ADC samples were kept of the original 250 sample points. In the following figure it can be seen that most of the 128 samples displayed contain no information. Also note the signals in the diagonals and the problem with D03. For each event the first 64 samples of each ADC trace were used to determine the baseline. These baselines have also been stored in the ROOT tree.

During the pre-processing and filtering of the data some spectra were created which can be found in the Directory "Hists". To look at these just open a ROOT Object Browser :
root [1] TBrowser tb
You might need to read the source code to understand the histograms.
The actual scan data are stored in the TTree "Data".

ReadTree.cxx is an example code showing how to connect to the ROOT data tree, define pointers to the (data) branches of this tree and to assign them to sort variables which can be used for analysis. Some help with trees is available in Chapter12.pdf of the ROOT doc .

Postscript :

Please note that the software that is used to generate these web pages has a tendency to screw up file endings. eg CheckTree.C => CheckTree.c