...
- Copy most recent online baseline run file from ifarm to clonfarm1
- Open new terminal, log in to ifarm, and navigate to '/work/hallb/hps/phys2021_svt_calibrations/'
- Find the "svt_<online_run_number>_cond.dat" file with run_number closest to, but less than, the current run being fit.
- Copy online baseline file to clonfarm1 → 'scp /work/hallb/hps/phys2021_svt_calibrations/svt_<online_run_number>_cond.dat <user>@clonfarm1.jlab.org:/data/hps/slac_svt/server/offlinePedestals/output/'
- Run python analysis script
- Return to clonfarm1 terminal directory /data/hps/slac_svt/server/offlinePedestals/
- Run python analysis → 'python3 offlineBaselineFitAnalysis.py -i output/hps_<run_number>_offline_baseline_fits.root -o output/hps_<run_number>_offline_baseline_fits_analysis.root -b output/svt_<online_run_number>_cond.dat -csv output/hps_<run_number>_offline_baselines.dat -thresh output/hps_<run_number>_offline_thresholds.dat'
- new offline baselines are located → output/hps_<run_number>_offline_baselines.dat
- new offline thresholds are located → output/hps_<run_number>_offline_thresholds.dat
- Cleanup the output directory
- 'rm -rf ./scratch/*' to clear job scratch dir
- 'mkdir output/<run_number>' and move "output/rawsvthits_0<run_number>_hh.root", "output/hps_<run_number>_offline_baseline_fits_analysis.root" and ALL of the "<file>.dat" files into that output/<run_number> directory for safe-keeping.
- Remove all of the loose files associated with this run inside of output/
...
{"serverDuration": 107, "requestCorrelationId": "e98cb94aca3b035e"}