Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The Commit/Tools
This commit contains two parallel committed tools for the L1+HLT Acceptance studies. Previously in this repository were
seeds.py
andTriggerAcceptance.py
, I have committedseeds_L1.py
andtriggerAcceptance_L1.py
, designed to emulate the functionality of these two tools on L1 ntuples.The scripts
seeds_L1.py
: There are some functionality changes to this script versusseeds.py
, the largest of them being the usage of regular expressions to do the finding of the L1HLT seeds in the HLT configuration, opposed to literal string matching. This shortens the code somewhat. It also takes a list/csv of L1 ntuples now, as opposed to nanoAOD. It also outputs the results in JSON instead of CSV for easier parsing.triggerAcceptance_L1.py
: This is as straight a port ofTriggerAcceptance.py
as is allowed by the changes toseeds.py
(some of the histogram code is a literal copy and paste). The largest change involves how the L1 bit names are gotten. Since L1 ntuples do not carry the string name of the L1 bit, just the bit number (to my knowledge), a simple copy text copy of the oms L1 bit table is provided as input. The remaining changes are all just changes to work with theseeds_L1.py
output.Still To Do