Skip to content

Commit

Permalink
Automatic isLowFlux setting in event selection QA config (#1814)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekryshen authored Nov 25, 2024
1 parent 2da42d9 commit 043a97b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MC/analysis_testing/o2dpg_analysis_test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ def adjust_configuration_line(line, data_or_mc, collision_system):
line = line.replace('!OVERWRITEAXISRANGEFORPBPBVALUE!', "false")
else:
line = line.replace('!OVERWRITEAXISRANGEFORPBPBVALUE!', "true")
if collision_system == "pbpb":
line = line.replace('!ISLOWFLUX!', "false")
else:
line = line.replace('!ISLOWFLUX!', "true")
return line


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"event-selection-qa-task": {
"isMC": "!ANALYSIS_QC_is_mc!",
"processMCRun3": "!ANALYSIS_QC_is_mc!",
"isLowFlux": "!ISLOWFLUX!",
"processRun2": "false",
"processRun3": "true"
}
Expand Down

0 comments on commit 043a97b

Please sign in to comment.