WAC Notes April 22 2020

From PREX Wiki
Jump to: navigation, search
HOW TOs for shift crew
Expert Tools
All Expert Contacts

PREX Main << Weekly Analysis Coordinator << WAC Notes CREX << Instructions

WAC Notes April 15 2020 << >> WAC Notes August 11 2020

April 22 2020

Weekly Meeting BlueJeans

  • CREX Run List spreadsheet
  • CREX List of calibration runs
  • Full Experiment Aggregator chained file: ~/PREX/prompt/aggRootfiles/slugRootfiles/grandRootfile/CREX-full-miniruns.root
  • PREX version: ~/PREX/prompt/aggRootfiles/PREXII_slugRootfiles/grandRootfile/PREX-full-miniruns.root (maybe 20% of the data got messed up somehow :/ )
  • Kent's collab meeting list of tasks


Finalize Run List and prepare JAPAN analysis for Respin

  • We meed to go through all of our notes and make sure any loose ends are tied off
  • Make sure that all cuts are applied as needed (i.e. burp cuts have the right scale-> W&M people)
  • We should also decide which run ranges should receive which pedestals -> Caryn and company
  • Decide on runranged dithering slopes
  • There are also some additional items to add into regression and dithering corrections for AT and SAM analyses -> Put these in the spreadsheet (Devi)

  • To Do List
  1. Finalize Run List (spreadsheet)
    1. Go through all WAC Notes
    2. Go through runs with curious behavior from full-CREX aggregated file (~/PREX/prompt/aggRootfiles/slugRootfiles/grandRootfile/CREX-full-miniruns.root)
      • n_runs == Slug number branch. Was originally intended to denote how many runs had been TChained to derive a given file's outputs, but we just do miniruns and such these days instead.
      • run_number == Run number branch
      • minirun_n == Minirun ID branch (starts at 0 for first minirun of each run)
      • split_n == Nothing for now. Was originally intended to denote split runs in JAPAN analysis, but other scripts never fully supported it and it rarely comes up
      • All of the data in these aggregator files is exactly ErrorFlag==0 passing data, meaning it cuts out BMOD ON data and also fails to properly consider AT and SAM error flags (in prompt outputs, see respins for proper global error flag on those).
      • The individual data fields for a given device are as follows:
        • _mean == mean value for a given minirun
        • _mean_error == the error on the mean
        • _rms == the RMS from the histogram for a given minirun
        • _rms_error == the error on RMS calculation (probably not really useful)
        • _nentries == the number of Multiplet entries used in the minirun for the histogram to obtain the above numbers
        • Some of the EPICS and slopes and such have _slope and maybe _slope_error or _mean and are what you would expect
    3. Verify all needed cuts
      • 12X +- 0.8mm shifts -> Corresponds to 2e-4 dpp shift. Devi has an update: HAPLOG.
        • It looks like a 0.003% additional cut to the full run, so we can check again after the first respin. Be careful with BPM pedestals changing and yield cuts.
      • Burp cuts
      • Time scale of beam trip cut
      • Stability cut on BCM over noisy time frames
    4. Go back over pedestal analyses again, triple check the list of calibrations and incidents
      • Update the spreadsheet with Detector moves and HV changes
      • Note when pedestals were used and when they should be used
      • Update on unser scans and more detailed pedestal analyses
      • SAMs pedestals for AT purposes
    5. Update all dithering slopes and properly run-range as well
  2. Update AT combos
    • Add Combos sensitive to A_{PV}. atl_avg_atr_avg_avg (exists) and at1_avg_at2_avg_avg
    • Vertical
      • asym_atl_avg_atr_avg_dd (exists) DD of (Left AT_in L A_T out avg ) and (R AT_in ,R AT_out avg)
      • asym_at1_dd_at2_dd_avg Avg of ( Left AT_in - Right AT_in ) and (Left AT_out , Right AT_out DD)
      • asym_atl1r2dd_atl2r1dd_avg Avg of (Left A_Tin , Right AT_out DD) and (Left AT_out - R AT_in DD)
    • Horizontal
      • asym_atl_dd_atr_dd_avg (exists) Avg of (Left AT_in L A_T out DD ) and (R AT_in ,R AT_out DD)
      • asym_at1_avg_at2_avg_dd DD of ( Left AT_in, Right AT_in avg) and (Left AT_out , Right AT_out Avg)
      • asym_atl1r2dd_atl2r1dd_dd DD of (Left A_Tin , Right AT_out DD) and (Left AT_out - R AT_in DD)
    • Combinations of Main + ATs (see PREX)
    • Add global cuts for AT detectors
  3. Add more SAM combos?

Map files: make a text file with the run ranged map files list

  • Look at pedestals actually used, vs map file implementation
  • Apply pedestals onto the times for which they actually apply
  • Verify the quality of pedestals, and systematic impacts too
  • Make sure everything is properly committed

1X BPM bad wire questions

  • We should analyze how dangerous the flaky 1X cable was for Parity Analysis. We clearly saw mm scale shifts in the calculated X/Y positions, but this may have just been a pedestal change due to some signal pickup. Is it bad for diff calculations?

PVDB and Aggregator replacement on ifarm

  • Sakib and Cameron are planning to just use the aggregation tools that Tao has already put together for the ifarm respins. Most of the scripts already in use can be modified to work on the JAPAN and postpan summary trees without much hassle. This is ongoing
  • The PVDB is up and running on the ifarm. It requires python2 and ROOT 5.34, but it at least allows read privileges from the PVDB

Tying Compton Electron and Photon detector runs to Parity Data (for convenience and such)

RCDB is good for this. The time stamps are a bit hard to use, but they are there -> https://hallaweb.jlab.org/rcdb/

State of Updates

Run list

  • Caryn requests that we make sure that any issues noted during our WACs, in our various notes, get added into the PREX and CREX monitor events spreadsheets.
  • NeedCut runs: list
  • Suspicious runs: list


Victoria and company are finalizing slope map files and studying the alternative BMOD analysis sets


Work has been assigned to look at specific calibration runs and make sure error bars are being utilized correctly for pedestals

  • Cameron and Caryn have updated the unser pedestal analysis to have RMS error bars and output in a root file. See http://ace.phys.virginia.edu/HAPPEX/4062, https://logbooks.jlab.org/entry/3809639
  • Robert has extracted which pedestals were used from CREX data
  • Weibin has begun to denote the applicability of various pedestal runs (in a new tab on the google sheet)
  • Amali has finished the pedestal analysis scripts for most runs, details are being sorted out now

Pedestals are almost final, just some final outliers to resolve and finalize new map files

Mul Plots

There is some significant non-gaussianity (or just wider gaussians some times) for the main detectors, and tails in slugs 184 and 185, but otherwise things are OK.


  • Plots have been made using the prompt aggregator on adaq computers, but a script will be made available for general use soon.
  • Dithering would be nice

Burp cut studies

  • Quinn has done some optimization to allow for BMOD data through the burp cut in PREX data

Plan for next week

Finalize all maps and run list for CREX respin


3346 an_us bad outliers anus 1% ped shift?

3347 an_us bad outliers anus 1% ped shift?

3363 an_us huge 4000ppm noise

3364 an_us huge 4000ppm noise

3365 a few points - an_us huge 4000ppm noise

3594-3608 analogs start to go really bad (though possibly taking analog average may mitigate) & switch to 70uA

3621-3731 analog us unplugged

3621-3738 analog ds unplugged


  • 3621-3738 - unplugged analogs, must use dgds
  • 3346,3347,3363-3365 must use dgds
  • 3594-3620 - could use analag avgw, analog avg directly better, or dgds