Warning, /epic-lfhcal-tbana/examples/yall/scan-set-2/README.md is written in an unsupported language. File is not indexed.
0001 # Parameter scan set 2
0002
0003 This example runs the second TB2026 HGCROC parameter-scan calibration and
0004 waveform analysis through Yall and HTCondor.
0005
0006 For a fresh BNL installation, follow [`../SETUP.md`](../SETUP.md) first and run
0007 `scan-set-1` before using this larger scan.
0008
0009 ## Run pairs
0010
0011 Pedestal / muon pairs:
0012
0013 ```text
0014 328 / 329
0015 330 / 331
0016 332 / 333
0017 334 / 335
0018 336 / 337
0019 338 / 339
0020 340 / 341
0021 342 / 343
0022 344 / 345
0023 346 / 347
0024 348 / 349
0025 350 / 351
0026 352 / 353
0027 354 / 355
0028 356 / 357
0029 358 / 359
0030 360 / 361
0031 ```
0032
0033 The workflow uses `ToAOffsets_TBSPS2026_ParamScan_2.csv`, the center-2x4 bad
0034 channel map, and `activeCellsHGCROCParameterScan.txt` for the waveform study.
0035
0036 ## Run at BNL
0037
0038 Use the normal BNL `tcsh` login/submit session:
0039
0040 ```tcsh
0041 cd "$LFHCAL_REPO/examples/yall/scan-set-2"
0042 source env.tcsh
0043 foreach r (328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361)
0044 ls -lh "$LFHCAL_DATA/Run${r}.h2g"
0045 end
0046 yall-run validate
0047 yall-run plan
0048 set C = `yall-run create --campaigns-dir "$LFHCAL_WORK/campaigns"`
0049 echo "$C"
0050 yall-run start "$C"
0051 yall-run status "$C"
0052 ```
0053
0054 Repeat `yall-run status "$C"` to inspect progress. Use a fresh `LFHCAL_WORK` for
0055 a clean rerun rather than targeting an existing output tree.
0056
0057 ## Outputs
0058
0059 Results are written under:
0060
0061 ```text
0062 $LFHCAL_WORK/scan-set-2/
0063 ```
0064
0065 Each pair proceeds through conversion, pedestal extraction, transfer of pedestal
0066 and channel corrections, MIP calibration, MIP-trigger selection, three
0067 refinement passes, calibrated-event production, and the HGCROC waveform study.
0068
0069 Useful final areas are:
0070
0071 ```text
0072 $LFHCAL_WORK/scan-set-2/refine3/
0073 $LFHCAL_WORK/scan-set-2/calibrated/
0074 $LFHCAL_WORK/scan-set-2/waveform/
0075 $LFHCAL_WORK/scan-set-2/plots/
0076 ```
0077
0078 Campaign records and scheduler logs are kept under `$LFHCAL_WORK/campaigns`
0079 when the commands above are used.