Analysis codes

From GammaSphere DAQ
Revision as of 19:01, June 12, 2018 by Tlauritsen (talk | contribs)
Jump to navigation Jump to search

We have two kinds of data analysis codes, GTSort receives UDP packed from the IOCs and can give some impression on whether signals are coming in or not, but to look for coincidences it is necessary to

  • merge (GTMerge3) the data from the different IOCs
  • use the DGSSort root sorter on the merged data

GEBSort_nogeb

GEBSort_nogeb is the program that can analyze data from DGS, DFMA and GRETINA.

For DGS data, enable bin_dgs in the GEBSort.chat file. To find the PZ values to use sort data from a 207Bi source. Then extract the clean ehi spectra in .spe format with this command

  .x get_ecln.cc

then run:

  dgs_pz 350 100 dgs_pz.cal

where 350 100 are the M and K values you find in the runxx.save file. Specify the values in 10 nsec units.

Now sort again (resort) using the new pz values that were extracted above. Extract the new clean ehi spectra as

  .x get_ecln.cc

and run the calibration program

  dgs_ecal dgs_ehi.cal 207Bi



(old) GTMerge3/DGSSort

To checout the software, compile and run

  • cd whereYouWantToWork
  • make

modify test.sh with information about where your data is, etc

  • ./test.sh
  • root -l (.x bar.cc, ...)

(old) GTSort

The official version of GTSort is at

but it is not always up to date. Shaoufei is the point man for GTSort