-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add Muon L1 to prefire weight producer #33758
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
525ef8a
add L1 muon prefiring to prefire weight producer
JanFSchulte 7145c79
add missing era
JanFSchulte 9d42d6b
code format
JanFSchulte 999876d
correctly rename cff config
JanFSchulte 8291674
fix test errors and address PR comments
JanFSchulte 29a1f5d
code format
JanFSchulte e961914
add preVFP and postVFP options via modifiers
JanFSchulte baeed97
fix
JanFSchulte 52dcdeb
bug fix plus add prefire weights to 2018 nanoAOD
JanFSchulte 02827ff
make L1PrefiringWeightProducer a stream producer to address thread sa…
JanFSchulte e37a9cd
addressing code momments from the PR
JanFSchulte 1de3d2e
make more member variables const
JanFSchulte 05f63aa
remove unnecessary deletes
JanFSchulte 1255d48
retrack some variables
JanFSchulte 5704e9c
cleanup of log warnings
JanFSchulte 816db5d
split muon uncertainty into syst. and stat.
JanFSchulte eb958e2
fix maximum weight conditions
JanFSchulte f93973f
new round of comments
JanFSchulte 7a450d2
add logwarning for weights > 1
JanFSchulte 5484ca6
update to 2016 UL prefiring maps for ECAL
JanFSchulte fd1d685
fix swapped stat and syst uncertainties
JanFSchulte fb3a0b3
add prefiring weights to Nano DQM
JanFSchulte d74deb9
make prefirng weights floats
JanFSchulte 03de4ac
corect eras for miniAOD
JanFSchulte cb4759e
bug fix plus merge of photon and jet weights
JanFSchulte 343d774
code format
JanFSchulte 21f22a4
fix DQM to not have weights of 1 in the overflow
JanFSchulte 1a4b06f
fix weight labels in nano
JanFSchulte File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
231 changes: 0 additions & 231 deletions
231
PhysicsTools/PatUtils/plugins/L1ECALPrefiringWeightProducer.cc
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
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.
we should add something for the run2_nanoAOD_102Xv1
I made this comments on the earlier version
https://github.com/cms-sw/cmssw/pull/32728/files#r563596034
now the changes for the muons indicate that something should happen.
can you clarify ?
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.
If I understand the old discussion correctly, we have indeed have to add the prefiring weights to the nanoAOD for 2018. Should this line be modified for that? https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/python/nano_cff.py#L106
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.
for what I see we do not store the 2018 at all even for UL
https://cms-nanoaod-integration.web.cern.ch/integration/32728/mc106Xul16_doc.html#L1PreFiringWeight
https://cms-nanoaod-integration.web.cern.ch/integration/32728/mc106Xul17_doc.html#L1PreFiringWeight
https://cms-nanoaod-integration.web.cern.ch/integration/32728/mc106Xul18_doc.html
we do have the pre-UL (run2_nanoAOD_94X2016 | run2_nanoAOD_94XMiniAODv1 | run2_nanoAOD_94XMiniAODv2)
i.e. https://cms-nanoaod-integration.web.cern.ch/integration/32728/mc94Xv2_doc.html#L1PreFiringWeight
but again not for the 2018 (i.e., with modifier run2_nanoAOD_102Xv1)
can you check locally what happens for the 2018? and do we really need it ?
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.
I have added 2018 here: https://github.com/cms-sw/cmssw/pull/33758/files#diff-9b898944f08810913ea5c1605c47bd9a6c99eb91fc20f491ba2767702f4a0184R260 and confirmed that the prefiring weights are now added to 2018 nanoAOD.
We indeed need to add these weights as they are non-negligible for muons for that year.