BPM Calibration
From PREX Wiki
Revision as of 13:23, 24 June 2019 by Catherinef (Talk | contribs) (Created page with "<span style="color:red">In the process of editing and updating this page. Please contact Juliette Mammei <B>[mailto:crowder@jlab.org?Subject=PREXwiki crowder@jlab.org]</B> wit...")
In the process of editing and updating this page. Please contact Juliette Mammei crowder@jlab.org with questions or suggestions.
PREX Main<< Information for Shift Takers << Shift Leader << HOW TOs
Contents
Getting Started
Where can I find the files I need?
You need to be logged on to the a-onl account
ssh –X aonl@aonl2
- Macros are located in
-
/adaqfs/home/a-onl/rastersize/bpmCalibration
-
- Database files are located in
-
/adaqfs/home/a-onl/rastersize/DB
-
- Output files are located in
/chafs1/work1/spot
- Root output files have the format Lrun#.root or Rrun#.root for the LHRS and RHRS, respectively
- Plot output files have the format FADC_prex_run#.pdf
- Harp scan file location is described below
Getting the harp scan files
You will need to have an ops account to do this.
- Check the HALOG for the HarpFitter entries corresponding to the harp scans you took
- Write down the Entry Log # and Timestamp
- An example can be found [here]
- Log into your ops account
ssh username@opsl01
- Harp scan files can be found in
/cs/data/harpData/IHA1H04A and /cs/data/harpData/IHA1H04AIHA1H04B
- Create a new directory in the /adaqfs/home/a-onl/rastersize/bpmCalibration directory for your harp scans
- Some example directories are already there
- scp the harp scan files into the new directory
How to Analyze the Pedestal Run
- Run spot++ on the pedestal runs that you took for the LHRS and RHRS.
- Run pedestals.C
How to Analyze the Harp Scan Data
How to Calibrate the BPMs
How To Run spot++
- You need to be logged on to the a-onl account
- ssh –X aonl@aonl2 –l a-onl
- If part of a Beam Recovery procedure, make sure you have taken a CODA run in counting mode for the LHRS
- Then type either:
- spot_L run# for the LHRS (Recommended)
spot_R run# for the RHRS
- If no run # is given, analyzes last run taken
- spot_L run# for the LHRS (Recommended)
- Plots should pop up after a few seconds
- When prompted, type y or n to upload the plots to the Elog (or not)