Cosmic Data Analysis

From Hall A Wiki
Revision as of 13:36, 3 July 2017 by Ralphmm (Talk | contribs) (Root Analysis Script)

Jump to: navigation, search

Motivation for Cosmic Ray Analysis

Cosmic rays provide a good proxy for high energy charged particles that will be found in Hall A during the time of experimentation. The robust nature of cosmic rays allow for vertical track testing at any point of the day/year, which makes them ideal for continuous testing/debugging methodology used in CDet.

DAQ Computer Access

The current computer setup for the DAQ is sbs2 which is located in the test lab, under the user adaq. it is recommended when setting up coda, to do so at the test lab setup, as remote ssh connections can be terminated periodically from the jlab host server.

Hall A Analyzer

Root Analysis Script

Access directory "analyzer" which contains directories "replay" and "rootfiles". Directory "replay" contains script for writing raw data files into root files which are saved in directory "rootfiles". In directory "rootfiles" there is the plot.C script.

To run plot.C type commands:

cd rootfiles

root -l

.x plot.C(####)

The #### is the run number to analyse. All events analyzed using the hall a analyser and the setup.C script will load for analysis.

The script plot.C contains many pointer methods with descriptions and directions for running as follows.

Plot ADC Fit