Skip to content
Snippets Groups Projects

Remove GEC from default HLT1 sequence

Merged Ahmed Abdelmotteleb requested to merge ahabdelm-remove-gec-from-hlt1 into master

Closes #395 (closed)

Renders !664 (closed) and !784 (closed) obsolete

Test with Moore!2631 (merged) and MooreOnline!278 (merged)

@dovombru

Want to remove Global Event Cuts (GEC) from the default HLT1 sequence. All HLT1 would then run without these cuts being implemented at the beginning of data processing.

Also want to study the impact on the selection efficiency for

ZμμZ\rightarrow\mu\mu
,
WμνW\rightarrow\mu\nu
, and other processes impacted by the GEC

Changes:

- Added a new function called make_composite_node to replace the currrently used function make_composite_node_with_gec which is featured in a couple of sequence files (is there a better way to do this?) -->Unnecessary

Next plans:

  • Study the impact on the selection efficiency for
    ZμμZ\rightarrow\mu\mu
  • Study the impact on the selection efficiency for
    WμνW\rightarrow\mu\nu
  • Confirm that the impact on the throughput is reasonable
  • Remove all instances where we use GECs (except one sequence hlt1_pp_default_gec)
  • Adjust throughput tests to run over correct sequences (now without GECs by default)

Throughput:

Latest throughput values obtained from the "AllenPR throughput" mattermost channel:

TL;DR: all throughputs are fine, apart from the one from hlt1_pp_no_ut which is slightly worse than before:


Efficiencies:

Studied the efficiencies for Z/W decays using HltEfficiencyChecker and 2 yaml files: hlt1_z_eff.yaml hlt1_w_eff.yaml

Can just run the command: MooreAnalysis/run MooreAnalysis/HltEfficiencyChecker/scripts/hlt_eff_checker.py hlt1_w_eff.yaml from the stack home directory

TL;DR: both W and Z efficiencies increase without GEC as expected (0.914 --> 0.941 and 0.935 --> 0.977 respectively)

W before (master branch): w_eff_check_master_branch.txt

Integrated HLT efficiencies for the lines with denominator: CanRecoChildren
------------------------------------------------------------------------------------
Line:	 Hlt1SingleHighPtMuonDecision         	 Efficiency:	 0.914 +/- 0.009
Line:	 W_Hlt1SingleHighPtMuonDecisionTrueSim	 Efficiency:	 0.914 +/- 0.009
------------------------------------------------------------------------------------
Finished printing integrated HLT efficiencies for denominator: CanRecoChildren
------------------------------------------------------------------------------------

W after (this branch): w_eff_check_new_branch.txt

Integrated HLT efficiencies for the lines with denominator: CanRecoChildren
------------------------------------------------------------------------------------
Line:	 Hlt1SingleHighPtMuonDecision         	 Efficiency:	 0.941 +/- 0.008
Line:	 W_Hlt1SingleHighPtMuonDecisionTrueSim	 Efficiency:	 0.940 +/- 0.008
------------------------------------------------------------------------------------
Finished printing integrated HLT efficiencies for denominator: CanRecoChildren
------------------------------------------------------------------------------------

Z before (master branch): z_eff_check_master_branch.txt

Integrated HLT efficiencies for the lines with denominator: CanRecoChildren
------------------------------------------------------------------------------------
Line:	 Hlt1SingleHighPtMuonDecision          	 Efficiency:	 0.935 +/- 0.015
Line:	 Z0_Hlt1SingleHighPtMuonDecisionTrueSim	 Efficiency:	 0.935 +/- 0.015
------------------------------------------------------------------------------------
Finished printing integrated HLT efficiencies for denominator: CanRecoChildren
------------------------------------------------------------------------------------

Z after (this branch): z_eff_check_new_branch.txt

Integrated HLT efficiencies for the lines with denominator: CanRecoChildren
------------------------------------------------------------------------------------
Line:	 Hlt1SingleHighPtMuonDecision          	 Efficiency:	 0.977 +/- 0.009
Line:	 Z0_Hlt1SingleHighPtMuonDecisionTrueSim	 Efficiency:	 0.977 +/- 0.009
------------------------------------------------------------------------------------
Finished printing integrated HLT efficiencies for denominator: CanRecoChildren
------------------------------------------------------------------------------------

I also checked with the default HLTEfficiencyChecker example: MooreAnalysis/run MooreAnalysis/HltEfficiencyChecker/scripts/hlt_eff_checker.py MooreAnalysis/HltEfficiencyChecker/options/hlt1_eff_example.yaml and confirmed that these lines were not affected (as expected): default_eff_check_master_branch.txtdefault_eff_check_new_branch.txt

Efficiencies plots:

Got some plots using HltEfficiencyChecker:

Efficiencies__Hlt1SingleHighPtMuonDecision__CanRecoChildren__PT:

  • W before: Efficiencies__Hlt1SingleHighPtMuonDecision__CanRecoChildren__PT
  • W after: Efficiencies__Hlt1SingleHighPtMuonDecision__CanRecoChildren__PT
  • Z before: Efficiencies__Hlt1SingleHighPtMuonDecision__CanRecoChildren__PT
  • Z after: Efficiencies__Hlt1SingleHighPtMuonDecision__CanRecoChildren__PT
Edited by Ahmed Abdelmotteleb

Merge request reports

Merged by Sebastien PonceSebastien Ponce 1 year ago (Jan 19, 2024 10:03am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 35 commits

    Compare with previous version

  • added 3 commits

    • 166c45e4 - removed deprecated sequence file as part of cleanup
    • e5603a9a - removed redundant function
    • 5c81ec7d - Added 'hlt1_pp_matching_no_gec' to full CI gitlab pipeline to test throughput

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • A deleted user added hlt1-throughput-decreased label
    • Resolved by Dorothea Vom Bruch

      Hi @dovombru. Sorry, this has been going at a snail's pace. I implemented your suggestions and was trying to get the throughput for hlt1_pp_matching_no_gec by including it to the full gitlab CI pipeline like you suggested. I made my attempt here by including hlt1_pp_matching_no_gec to the list of other sequences we use for throughputs. This doesn't seem to work. Gitlab doesn't produce the throughput for this sequence. I tried asking a few people, but no one knows the answer. Can you please suggest where I went wrong? Thanks :)

  • Ahmed Abdelmotteleb added 132 commits

    added 132 commits

    • ed4fa9f3...d8fe0870 - 130 commits from branch master
    • 298b6d30 - Merge branch 'master' into ahabdelm-remove-gec-from-hlt1
    • 3500caa4 - Add throughput test addition in the correct file

    Compare with previous version

  • A deleted user removed hlt1-throughput-decreased label
  • A deleted user added hlt1-throughput-decreased label
  • Ahmed Abdelmotteleb changed the description

    changed the description

    • Resolved by Ahmed Abdelmotteleb

      @dovombru Okay I think managed to do everything you requested. The only thing worth noting is the fact that we get a slight decrease of the throughput for the hlt1_pp_no_ut sequence. Not sure if this to be expected. You have all the throughput test results as well as the efficiency results with some plots. Let me know if there is more work to be done :)

  • Ahmed Abdelmotteleb marked the checklist item Study the impact on the selection efficiency for
    ZμμZ\rightarrow\mu\mu
    as completed

    marked the checklist item Study the impact on the selection efficiency for Z\rightarrow\mu\mu as completed

  • Ahmed Abdelmotteleb marked the checklist item Study the impact on the selection efficiency for
    WμνW\rightarrow\mu\nu
    as completed

    marked the checklist item Study the impact on the selection efficiency for W\rightarrow\mu\nu as completed

  • Ahmed Abdelmotteleb marked the checklist item Study the impact on the selection efficiency for
    ZμμZ\rightarrow\mu\mu
    as incomplete

    marked the checklist item Study the impact on the selection efficiency for Z\rightarrow\mu\mu as incomplete

  • Ahmed Abdelmotteleb marked the checklist item Study the impact on the selection efficiency for
    WμνW\rightarrow\mu\nu
    as incomplete

    marked the checklist item Study the impact on the selection efficiency for W\rightarrow\mu\nu as incomplete

  • Ahmed Abdelmotteleb changed the description

    changed the description

  • added 1 commit

    • 4ec791b8 - Enabling GECs again for hlt1_pp_default and hlt1_pp_matching to test for throughput

    Compare with previous version

  • A deleted user removed hlt1-throughput-decreased label
  • A deleted user added hlt1-throughput-decreased label
  • Ahmed Abdelmotteleb changed the description

    changed the description

  • Ahmed Abdelmotteleb marked the checklist item Study the impact on the selection efficiency for
    ZμμZ\rightarrow\mu\mu
    as completed

    marked the checklist item Study the impact on the selection efficiency for Z\rightarrow\mu\mu as completed

  • Ahmed Abdelmotteleb marked the checklist item Study the impact on the selection efficiency for
    WμνW\rightarrow\mu\nu
    as completed

    marked the checklist item Study the impact on the selection efficiency for W\rightarrow\mu\nu as completed

  • Ahmed Abdelmotteleb marked the checklist item Confirm that the impact on the throughput is reasonable as completed

    marked the checklist item Confirm that the impact on the throughput is reasonable as completed

  • added 1 commit

    • e46ef664 - Removed/renamed all no_gec sequences and removed all traces of GECs (imports, functions, etc.)

    Compare with previous version

  • A deleted user removed hlt1-throughput-decreased label
  • added 1 commit

    • 987636aa - Adjust throughput tests to run over correct sequences

    Compare with previous version

  • Ahmed Abdelmotteleb resolved all threads

    resolved all threads

  • Ahmed Abdelmotteleb changed the description

    changed the description

  • Ahmed Abdelmotteleb changed the description

    changed the description

  • added 16 commits

    Compare with previous version

  • added 1 commit

    • 476085ae - Fix throughput test by adding correct (updated) sequence name

    Compare with previous version

  • A deleted user added hlt1-throughput-decreased label
  • added 1 commit

    • 58906fdf - Removed repeated throughput test

    Compare with previous version

  • A deleted user removed hlt1-throughput-decreased label
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading