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
Tune dependent reweighting #24174
Tune dependent reweighting #24174
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-24174/5864 |
The tests are being triggered in jenkins. |
@zleba did you applied these changes in master, which PR was? |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@alberto-sanchez The modified files are quite stable across version, so the same changes can be done on master. In the end we want to use this feature for 2017 and 2018 MC production, so in some way to backport to 9_3_X and 10_X_X |
Hi @zleba, |
backport #24179 |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_9_3_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_10_3_X is complete. This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos, @kpedro88 (and backports should be raised in the release meeting by the corresponding L2) |
@alberto-sanchez following the discussion at the ORP, as far as I can see the previous behaviour is maintained unless the tune is CP5, which was not the default, am I correct? |
Hi, yes, with the old MC fragments the behaviour is preserved. There are 6 parameters of the reweighting formula, and in the code the values are hardcoded for CP5 tune and for the older CUETP8 tune (default), the other possibility would be to read the parameters from the fragment itself. |
@zleba thank you for the confirmation, as far as this backport is concerned it looks ok. But in general would not be advisable to have these parameters passed through a PSet? Having them hardcoded looks a fragile solution in general... |
+1 |
Small change that allows having a different reweighting function for each tune.
We observed that at highPt the MC behaviour is very tune(PDF) dependent.
The generator fragment can currently contain
reweightGenEmp = cms.PSet(
tune = cms.string('CP5')
)
which will do MC reweighting suitable for CP5 tune.
Without the tune option fragment behaves as before (backward compatibility).