{"action":"created","issue":{"url":"https://api.github.com/repos/cp3-llbb/Framework/issues/216","repository_url":"https://api.github.com/repos/cp3-llbb/Framework","labels_url":"https://api.github.com/repos/cp3-llbb/Framework/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/cp3-llbb/Framework/issues/216/comments","events_url":"https://api.github.com/repos/cp3-llbb/Framework/issues/216/events","html_url":"https://github.com/cp3-llbb/Framework/pull/216","id":187962670,"number":216,"title":"Support for weight-averaged scale factors and efficiencies","user":{"login":"blinkseb","id":386274,"avatar_url":"https://avatars.githubusercontent.com/u/386274?v=3","gravatar_id":"","url":"https://api.github.com/users/blinkseb","html_url":"https://github.com/blinkseb","followers_url":"https://api.github.com/users/blinkseb/followers","following_url":"https://api.github.com/users/blinkseb/following{/other_user}","gists_url":"https://api.github.com/users/blinkseb/gists{/gist_id}","starred_url":"https://api.github.com/users/blinkseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blinkseb/subscriptions","organizations_url":"https://api.github.com/users/blinkseb/orgs","repos_url":"https://api.github.com/users/blinkseb/repos","events_url":"https://api.github.com/users/blinkseb/events{/privacy}","received_events_url":"https://api.github.com/users/blinkseb/received_events","type":"User","site_admin":false},"labels":[{"id":369807350,"url":"https://api.github.com/repos/cp3-llbb/Framework/labels/CMSSW%208.0.X","name":"CMSSW 8.0.X","color":"006b75","default":false},{"id":257713362,"url":"https://api.github.com/repos/cp3-llbb/Framework/labels/Do%20not%20merge","name":"Do not merge","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-11-08T11:02:47Z","updated_at":"2016-11-08T19:43:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cp3-llbb/Framework/pulls/216","html_url":"https://github.com/cp3-llbb/Framework/pull/216","diff_url":"https://github.com/cp3-llbb/Framework/pull/216.diff","patch_url":"https://github.com/cp3-llbb/Framework/pull/216.patch"},"body":"This PR adds support for weighted binned-values, more specifically to weighted scale-factors, needed for HWW working points for both electron & muon SFs. The integrated luminosity is used as a weight to describe how much a given set of values must be sampled. In the end, only one scale factor will be stored in the tree, equal to the weighted average of the various scale-factors for a given sample.\r\n\r\nNote: the seed is hardcoded in order to have reproducibility, but this also means different samples will have the same suite of random numbers. If someone has an idea a way to guarantee reproducibility but with randomness across samples, please speak up :+1: "},"comment":{"url":"https://api.github.com/repos/cp3-llbb/Framework/issues/comments/259238613","html_url":"https://github.com/cp3-llbb/Framework/pull/216#issuecomment-259238613","issue_url":"https://api.github.com/repos/cp3-llbb/Framework/issues/216","id":259238613,"user":{"login":"blinkseb","id":386274,"avatar_url":"https://avatars.githubusercontent.com/u/386274?v=3","gravatar_id":"","url":"https://api.github.com/users/blinkseb","html_url":"https://github.com/blinkseb","followers_url":"https://api.github.com/users/blinkseb/followers","following_url":"https://api.github.com/users/blinkseb/following{/other_user}","gists_url":"https://api.github.com/users/blinkseb/gists{/gist_id}","starred_url":"https://api.github.com/users/blinkseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blinkseb/subscriptions","organizations_url":"https://api.github.com/users/blinkseb/orgs","repos_url":"https://api.github.com/users/blinkseb/repos","events_url":"https://api.github.com/users/blinkseb/events{/privacy}","received_events_url":"https://api.github.com/users/blinkseb/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T19:43:58Z","updated_at":"2016-11-08T19:43:58Z","body":"I removed the dependency on #215, this is good to merge!"}}
{"actor":{"display_login":"blinkseb"}}