bradylowe / slac-test-beam-quartz-analysis

This repo provides code and explanation for analyzing Root files containing quartz cerenkov detector data.
0 stars 1 forks source link

slac-test-beam-quartz-analysis

This repo provides code and explanation for analyzing Root files containing quartz cerenkov detector data. The data was acquired at SLAC (Stanford Linear Accelerator Center) for the benchmarking of Showermax detector among others. The data is not included in this repo.


First, before using the analyzer,

you must open load_files.h, get to line 43, and modify the file path pointing to your rootfiles directory.

Or, alternately, you can make this change from the command line with:


The quartz analysis macro pmt_analyzer_showermax.c can be called from command line:

The analyzer can handle up to 10 input run numbers:

Analyzer output:


A modified version of the analyzer is required for the tandem detectors:

A modified version of the analyzer is required for very large signal runs:

A modified version of the benchmark analyzer is used to perform pedestal fits to runs without signal:

A shell script has been created for analyzing data in a loop (automatically chooses macro)


Other files:

the_real_deal_yx.h:

read_csv.h:

values_by_run.csv:

signal_by_hv_and_pmt.csv:

single_use_macros: