Analysis codes: Difference between revisions

From GammaSphere DAQ
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
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 some data from a 207Bi source. Then extract the clean ehi spectra
sort some data from a 207Bi source. Then extract the pz spectra
in .spe format with this command
in .spe format with this command


   .x get_ecln.cc
   .x get_pz.cc


Now run:
Now run:

Revision as of 19:29, 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 pz spectra in .spe format with this command

  .x get_pz.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. In this case I saw these lines in the .save file:

 caput GLBL:DIG:d_window 0.06   
 caput GLBL:DIG:k_window 0.20     
 caput GLBL:DIG:m_window 3.50
 caput GLBL:DIG:k0_window 0.80
 caput GLBL:DIG:d3_window 0.20
 caput GLBL:DIG:raw_data_window 0.32
 caput VME01:SDIG1:k0_window0 0.0
 caput VME01:SDIG1:k0_window1 0.0
 etc

for the k value: sum up all the K values, in this case: 0.20+0.80 = 0.10 or 100 in 10 nsec units. The M value is 3.50 or 350 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. The energy processing in bin_dgs follows algorithms that were developed by Shoufei Zhu.