Skip to content
VinzenzBildstein edited this page Mar 19, 2024 · 7 revisions

HOME > RUNNING GRSISORT > UTILITIES > EXTRA MACROS

  • html_generator.C
    Creates root-like HTML documentation for each of the defined classes in the script. Deprecated, use doxygen instead.
  • odbgains.C
    Creates a bash script that we use to set the odb gains and offsets in the online analyzer. Running ODBGains("nameofcalfile.cal") outputs a file called odbgains.sh.
  • GainMatchGRIFFIN.cxx
    Program that gain-matches GRIFFIN given a set of peak values. Fairly flexible, and written to work with few (but not no) modifications.

For older data from the first few years of GRIFFIN:

  • bufferclean.C
    Cleans the extraneous data that is dumped into the GRIFFIN stream at the start of a run. This gets written to a new Midas File.
  • offsetfind.C
    Finds the timestamp offset between the different GRIF-16 and 4G digitizer systems (must have buffer cleaned).
  • offsetfix.C
    Finds the timestamp offset between the different GRIF-16 and 4G digitizers and then produces a new midas file with the fixed timestamps (must have buffer cleaned).

Clone this wiki locally