GET library
|
The files presented in this section are located in the examples directory of the package.
In order to use the GET library in a ROOT session, it must be loaded, either in the ROOT login macro, either during the session itself:
Two small programs are included in the library in order to extract data frames (CoBo) from a run file and/or to merge them.
It happens, when running CoBo modules without MuTAnT, or for any reason, that the CoBo frames are somewhat mixed in the run file. The program GETCoboFramesSplit allows to read the file, and write separately the header frames and the frames for every single AsAd board.
To print the program help, enter the command with no argument:
For example, to split frames from a file <run_file.dat> (in current directory), where 2 CoBo modules wher used:
A sub-directory is created for each CoBo/AsAd and for header with a file <run_file.dat> containing only the corresponding frame.
In addition, an input file <run_file.dat>.merge is created for the program that can remerge the frames.
The program GETCoboFramesMerge reads separated CoBo/AsAd frame files and write them in one single file, ordered according to the time stamp (to be tested) or the event number (default).
To print the program help and the supported options, enter the command with no argument:
The program needs an input file such as the one created by the frames splitting program:
The merging can be achieved with: