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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

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.

  1. 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]
  1. Log into your ops account

ssh username@opsl01

  1. Harp scan files can be found in

/cs/data/harpData/IHA1H04A and /cs/data/harpData/IHA1H04AIHA1H04B

  1. Create a new directory in the /adaqfs/home/a-onl/rastersize/bpmCalibration directory for your harp scans
    • Some example directories are already there
  2. scp the harp scan files into the new directory


How to Analyze the Pedestal Run

  1. Run spot++ on the pedestal runs that you took for the LHRS and RHRS.
  2. Run pedestals.C

How to Analyze the Harp Scan Data

How to Calibrate the BPMs

How To Run spot++

  1. You need to be logged on to the a-onl account
    • ssh –X aonl@aonl2 –l a-onl
  2. If part of a Beam Recovery procedure, make sure you have taken a CODA run in counting mode for the LHRS
  3. 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
  4. Plots should pop up after a few seconds
  5. When prompted, type y or n to upload the plots to the Elog (or not)