Replies: 2 comments 9 replies
-
|
Also, in the first shot, the "clamping" for JEC is not implemented, yet, cf. also https://github.com/nsmith-/correctionlib/issues/5 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi, thanks for the first pass at this. Regarding your points:
In this library (and in json) every float is double-precision so I believe if you initially convert
|
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @nsmith- , all,
I gave the JEC-conversion a shot and have a working "V0" version with some shortcomings. In particular, I wasn't sure how to pass parameters to the "Formula", so I transformed the formula
max(0.0001,[0]+((x-[1])*([2]+((x-[1])*([3]+((x-[1])*[4]))))))to something messy likemax(0.0001,1.7675362825393677+((x-21.433332443237305)*(-0.007086962461471558+((x-21.433332443237305)*(-0.006380382925271988+((x-21.433332443237305)*0.0013125771656632423))))))with string replacement. FYI: The "V0" directly transforms what is parsed by JetCorrectorParameters (in CMSSW) to the JSON.The string replacement and "V0" in general has some issues:
Thanks for your thoughts/suggestions :-)
Beta Was this translation helpful? Give feedback.
All reactions