Support files for Hall A&C analysis workshop 2017
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DB
ROOTtutorial
replay
vdccalib
.gitignore
README.md
setup.sh

README.md

Hall A Analyzer Hands-On Tutorial

This is a small replay and analysis setup for demonstration of the Hall A C++ Analyzer Podd at the June 2017 Hall A & C Analysis Workshop at JLab.

Prerequisites

It is assumed that you have both ROOT and the analyzer set up. Example raw data files are included in the virtual machine image distributed at the workshop. To run this tutorial outside of the virtual machine, appropriate files need to be linked or copied from JLab SciComp disks (/cache, /volatile, /work) or restored from tape.

Setup

Put data files or links to them in local directories, then update the included setup.sh accordingly. Run setup.sh to define the required environment variables DB_DIR, DATA_DIR and OUT_DIR.

Replay

To run the example replay, do

cd replay
analyzer
analyzer [0] .x replay.C

Analysis

Some simple analysis scripts have been provided. Open the .root file for a run you're interested with the analyzer, then run the script. Example

cd replay
analyzer $OUT_DIR/gmp_23062.root
analyzer [0] .x plotR.C
...

More Information

Please see the the presentation given at the workshop.