Skip to content

Commit e9b1450

Browse files
committed
Fix Run2/3 config
1 parent 6f4e722 commit e9b1450

4 files changed

Lines changed: 4 additions & 8 deletions

File tree

codeHF/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,4 @@ Enter the `codeHF` directory and execute the steering script:
4848
bash runtest.sh
4949
```
5050

51-
Running all the steps with `INPUT_CASE=2` takes about 40 seconds in total.
52-
5351
The postprocessing step produces several plots `comparison_histos_(...).pdf`, `MC_(...).pdf`.

codeHF/config_input.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ NJOBSPARALLEL_O2=$(python3 -c "print(min(10, round($(nproc) / 2)))")
2828
# INPUT_TASK_CONFIG="" # Input-specific task configuration (e.g. enabling converters), overriding the task configuration in CONFIG_TASKS. String of space-separated commands.
2929
# JSON="dpl-config.json" # O2 device configuration
3030

31-
# O2 device configuration
32-
JSONRUN3="dpl-config_run3.json" # Run 3
33-
# JSONRUN5_HF="dpl-config_run5_hf.json" # Run 5, open HF
34-
# JSONRUN5_ONIAX="dpl-config_run5_oniaX.json" # Run 5, onia (J/psi and X), (higher pt cut on 2-prong decay tracks and no DCA cut on single track)
35-
JSON="$JSONRUN3"
36-
3731
INPUT_BASE="/data2/data" # alicecerno2
3832

3933
case $INPUT_CASE in

codeHF/config_tasks.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,15 @@ function AdjustJson {
176176
if [ "$INPUT_RUN" -eq 2 ]; then
177177
ReplaceString "\"processRun2\": \"false\"" "\"processRun2\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
178178
ReplaceString "\"processRun3\": \"true\"" "\"processRun3\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
179+
ReplaceString "\"processRun2BetaM\": \"false\"" "\"processRun2BetaM\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
180+
ReplaceString "\"processRun3BetaM\": \"true\"" "\"processRun3BetaM\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
179181
ReplaceString "\"processRun2\": \"0\"" "\"processRun2\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON."
180182
ReplaceString "\"processRun3\": \"1\"" "\"processRun3\": \"0\"" "$JSON" || ErrExit "Failed to edit $JSON."
181183
elif [ "$INPUT_RUN" -eq 3 ]; then
182184
ReplaceString "\"processRun2\": \"true\"" "\"processRun2\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
183185
ReplaceString "\"processRun3\": \"false\"" "\"processRun3\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
186+
ReplaceString "\"processRun2BetaM\": \"true\"" "\"processRun2BetaM\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
187+
ReplaceString "\"processRun3BetaM\": \"false\"" "\"processRun3BetaM\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
184188
ReplaceString "\"processRun2\": \"1\"" "\"processRun2\": \"0\"" "$JSON" || ErrExit "Failed to edit $JSON."
185189
ReplaceString "\"processRun3\": \"0\"" "\"processRun3\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON."
186190
fi

0 commit comments

Comments
 (0)