Analysis Scripts - r3dunlop/GRSISort GitHub Wiki

HOME > RUNNING GRSISORT > UTILITIES > ANALYSYS SCRIPTS

#Compiled

  • Root2Rad
    Accepts a .root file and converts all of the contained TH1 histograms to RadWare .spe files and the TH2 histograms to RadWare .mat files. Useful for professors.
  • MakeMatrices
    Currently the go-to code. This takes an analysis tree and creates many useful coincidence matrices and spectra. It is compiled from MakeMatrices.C. If you are looking for an example of how to create an analysis macro, start here.
  • MakeTimeDiffSpec
    Run on a Fragment tree to get time difference spectra as well as other diagnostic histograms.
  • AngularCorrelations
    Accepts the .root file after running MakeMatricies.C on the analysis tree. Takes in a desired 3D histogram and projects on the x-axis, gates on the higher energy peak and fits the lower energy peak. By looking at the integrated counts in the lower energy peak it places those in a TGraph making angular correlations. Currently set to Cobalt-60.

#Scripts

  • auto_effic.C
    Reads in a root file and calculates the efficiency of each HPGe Crystal based on a specific source and activity. Currently also gain matches, etc. This script is changing frequently.
⚠️ **GitHub.com Fallback** ⚠️