-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add sum of weights for BTA_ttbar workflow, fix typo in suball script and make basepath in BTA producers configurable #111
base: master
Are you sure you want to change the base?
Conversation
…mmissioning into btv_dilep_wf
… of weights for BTA_ttbar workflow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @philippgadow this all looks good to me ! Thanks for the PR
Is there any changes you want to include further in this PR, if not we are good to merge :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry noticing one change after approve it @philippgadow could you please have a look with this change?
if "Run3" in self._campaign: | ||
passMetSel = events.PuppiMET.pt > 0 | ||
else: | ||
passMetSel = events.MET.pt > 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies, did not find out the implementation was using the JME_shifts
Indeed in the functions we already implement the JEC with puppiMET and replace it as MET branch.
If you use the puppiMET branch, this might not propagate the JEC correction correctly
Description
This pull request introduces several improvements and fixes to the BTA workflow and associated scripts and configurations:
Feature Addition:
BTA_ttbar
workflow (LHE PDF weights not considered for the moment).basepath
andoutput_dir
inBTA_producer
andBTA_ttbar_producer
workflows for greater flexibility in file management.Bug Fixes:
suball
script where variablespaser
were incorrectly referenced asparser
, ensuring proper command-line parsing functionality.events.PuppiMET.pt
everywhere inBTA_ttbar_producer
workflow if analysis is Run3Configuration Update:
test_env.yml
to replacedefaults
withnodefaults
in the conda channel configuration, removing dependencies on Anaconda, which is not free to use for organisations with more than 200 collaborators.