Analysis codes: Difference between revisions

From GammaSphere DAQ
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
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


---------------------------------------------------
---------------------------------------------------
Line 12: Line 7:


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


   .x get_ecln.cc
   .x get_ecln.cc


then run:
Now run:


   dgs_pz 350 100 dgs_pz.cal
   dgs_pz 350 100 dgs_pz.cal
Line 33: Line 28:
   dgs_ecal dgs_ehi.cal 207Bi
   dgs_ecal dgs_ehi.cal 207Bi


 
you can also use "88Y", "60Co" for the source.
 
 
==(old) GTMerge3/DGSSort==
 
To checout the software, compile and run
 
*  cd whereYouWantToWork
 
*  svn co https://svn.anl.gov/repos/gs_analysis/DGSSort .
 
* 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
 
* https://svn.anl.gov/repos/gs_analysis/GTSort/
 
but it is not always up to date. Shaoufei is the point man for GTSort

Revision as of 19:09, June 12, 2018


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 some data from a 207Bi source. Then extract the clean ehi spectra in .spe format with this command

  .x get_ecln.cc

Now 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

you can also use "88Y", "60Co" for the source.