Back to home page

EIC code displayed by LXR

 
 

    


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

0001 # Simple LFHCal Yall example
0002 
0003 Start here for the LFHCal examples. This is a bounded smoke test of the real
0004 LFHCal programs, not a production calibration.
0005 
0006 The example uses three pedestal/MIP pairs:
0007 
0008 ```text
0009 296 / 298
0010 299 / 300
0011 303 / 304
0012 ```
0013 
0014 It creates the output directories with a Yall `%preflight`, then schedules:
0015 
0016 1. six unique raw-run conversions;
0017 2. three pedestal extractions.
0018 
0019 That is **9 scheduled tasks**. Conversion and pedestal extraction are both
0020 limited to the first 1000 events.
0021 
0022 ## Run it
0023 
0024 Use the BNL setup described in [../SETUP_TLDR.md](../SETUP_TLDR.md). From the
0025 normal BNL tcsh session:
0026 
0027 ```tcsh
0028 cd "$LFHCAL_REPO/examples/yall/lfhcal-simple"
0029 source env.tcsh
0030 $EIC_SHELL
0031 ```
0032 
0033 Inside `eic-shell` (bash):
0034 
0035 ```bash
0036 source ./env-eic.sh
0037 yall-run validate
0038 yall-run plan
0039 C=$(yall-run create --campaigns-dir "$LFHCAL_WORK/campaigns" -j 1)
0040 yall-run start "$C"
0041 yall-run status "$C"
0042 ```
0043 
0044 The `create` command runs the lightweight directory-creation preflight locally.
0045 No Condor job is submitted for setup. The campaign itself uses the local backend.
0046 
0047 Outputs go under:
0048 
0049 ```text
0050 $LFHCAL_WORK/lfhcal-simple/
0051 ```
0052 
0053 When it succeeds, exit from `eic-shell` and run the small Condor/EIC smoke test
0054 described in [../SETUP_TLDR.md](../SETUP_TLDR.md), followed by `scan-set-1`.