Cosmic Data Analysis
Contents
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.
To boot CODA (Data acquisition system)
1. Set the High voltage crates to On and Local
2. Login to sbs2 under user adaq
3 On CODA desktop
- open terminal and type msqld - on a separate terminal, type starcoda - wait for the main CODA window to appear before changing desktops
4. Change to desktop ROC
- open terminal, type telnet cdetts2 2006 - once the telnet is connected, it will tell you there is an escape character (^[) just press enter ONCE - an "->" prompt will appear, type reboot - The terminal will say "callbackControl: Do not understand the command: Session/control/setSession"
5. Change Desktop to HV (high Voltage)
- open terminal, ssh into highv@hvsrv3 - change directory into slowc - type './hvs TEST - refer to High Voltage Control to operate.
Hall A Analyzer
After a completed CODA run, the raw data must be converted into a usable root file.
On the computer sbs2 under user adaq, in directory analyzer/replay
Type analyzer
ASCII text will appear that resembles the root startup.
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. All pointer methods must be run after executing the plot.C script for the specified run number.
Plot ADC Fit
To run plot adc fit type command:
plot_adc_fit(#)
The # is the number of the scintillating bar (1-14) to analyse.
The method plot_adc_fit