Back to home page

EIC code displayed by LXR

 
 

    


Warning, /epic-lfhcal-tbana/examples/yall/fullset-c1-repro/README.md is written in an unsupported language. File is not indexed.

0001 # FullSetC_1 reproduction
0002 
0003 This example reproduces Fredi's SPS H2 `FullSetC_1` merged-muon calibration
0004 chain from raw TB2026 data using Yall and HTCondor.
0005 
0006 Pedestal: `137`
0007 
0008 Muon runs, in Fredi's merge order:
0009 
0010 ```text
0011 147 148 149 146 145 144 141 142 143 140 139 138
0012 ```
0013 
0014 The merged input is `Muon_FullSetC_1`. This set uses the V2 summing-board
0015 mapping, the shared FullSetA-F bad-channel map, and
0016 `configs/TB2026/ToAOffsets_TBSPS2026_FullSetC.csv`.
0017 
0018 Published reference:
0019 
0020 ```text
0021 calibrations/TB2026/calib_SPS-H2_FullSetC_1.txt
0022 ```
0023 
0024 ## Download raw files
0025 
0026 ```tcsh
0027 tcsh download_raw.tcsh
0028 ```
0029 
0030 The helper uses `$LFHCAL_DATA` when set, otherwise Paul's standard TB2026 PWG
0031 directory. Existing nonempty files are skipped and new downloads go through a
0032 temporary `.part` file.
0033 
0034 ## Run at BNL
0035 
0036 ```tcsh
0037 cd "$LFHCAL_REPO/examples/yall/fullset-c1-repro"
0038 source env.tcsh
0039 yall-run validate
0040 yall-run plan
0041 set C = `yall-run create --campaigns-dir "$LFHCAL_WORK/campaigns"`
0042 yall-run start "$C"
0043 yall-run status "$C"
0044 ```
0045 
0046 Results go under `$LFHCAL_WORK/fullset-c1-repro/`. The final text
0047 calibration is
0048 `final/calib_Final_Muon_FullSetC_1_calib.txt`.
0049 
0050 The run table is the single source of truth. The pedestal rule binds only
0051 `type=pedestal` and inherits the compatible run number, requiring yall-run PR
0052 #33 (`1081e9dd39418262588248272618130ce0503b8a`).
0053 
0054 ## Compare with the published calibration
0055 
0056 ```tcsh
0057 python3 ../compare_fullset.py --set-name FullSetC_1
0058 ```
0059 
0060 The common tool compares refinement stages and builds combined PDF plot books,
0061 using `pdfunite`, `qpdf`, or Ghostscript.