-
Notifications
You must be signed in to change notification settings - Fork 126
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
Adding the CorrT1METJet class to nanoaod.py #1119
Comments
+1 having the same problem. @9GaoHong do you have an working implementation of the correction to MET from CorrT1METJets? I can't seem to be able to propagate the CorrT1METJets through the CorrectedMETFactory... |
@lucalavezzo Yes, I solved the problem by changing the nanoaod.py of coffee framework in local with the above code, and you can refer to the following code for specific instructions on how to use CorrT1METJet:
You can try in the same way. If you encounter any problems, feel free to ask me. |
@lgray |
Is your feature request related to a problem? Please describe.
When propagating JEC to Type1 corrections for raw MET, it is necessary to consider the contributions of both jet and soft jets, but currently the script does not support the use of soft jets branch CorrT1METJet.
Describe the solution you'd like
Fix the /coffea/nanoevents/methods/nanoaod.py, add these code for CorrT1METJet:
Fix the /coffea/nanoevents/schemas/nanoaod.py, add this key in 'mixins' dictionary:
"CorrT1METJet":"CorrT1METJet",
The text was updated successfully, but these errors were encountered: