{"action":"created","issue":{"url":"https://api.github.com/repos/cp3-llbb/Framework/issues/130","labels_url":"https://api.github.com/repos/cp3-llbb/Framework/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/cp3-llbb/Framework/issues/130/comments","events_url":"https://api.github.com/repos/cp3-llbb/Framework/issues/130/events","html_url":"https://github.com/cp3-llbb/Framework/pull/130","id":129116006,"number":130,"title":"[74X] Bjet regression","user":{"login":"OlivierBondu","id":2760084,"avatar_url":"https://avatars.githubusercontent.com/u/2760084?v=3","gravatar_id":"","url":"https://api.github.com/users/OlivierBondu","html_url":"https://github.com/OlivierBondu","followers_url":"https://api.github.com/users/OlivierBondu/followers","following_url":"https://api.github.com/users/OlivierBondu/following{/other_user}","gists_url":"https://api.github.com/users/OlivierBondu/gists{/gist_id}","starred_url":"https://api.github.com/users/OlivierBondu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlivierBondu/subscriptions","organizations_url":"https://api.github.com/users/OlivierBondu/orgs","repos_url":"https://api.github.com/users/OlivierBondu/repos","events_url":"https://api.github.com/users/OlivierBondu/events{/privacy}","received_events_url":"https://api.github.com/users/OlivierBondu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cp3-llbb/Framework/labels/Do%20not%20merge","name":"Do not merge","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"OlivierBondu","id":2760084,"avatar_url":"https://avatars.githubusercontent.com/u/2760084?v=3","gravatar_id":"","url":"https://api.github.com/users/OlivierBondu","html_url":"https://github.com/OlivierBondu","followers_url":"https://api.github.com/users/OlivierBondu/followers","following_url":"https://api.github.com/users/OlivierBondu/following{/other_user}","gists_url":"https://api.github.com/users/OlivierBondu/gists{/gist_id}","starred_url":"https://api.github.com/users/OlivierBondu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlivierBondu/subscriptions","organizations_url":"https://api.github.com/users/OlivierBondu/orgs","repos_url":"https://api.github.com/users/OlivierBondu/repos","events_url":"https://api.github.com/users/OlivierBondu/events{/privacy}","received_events_url":"https://api.github.com/users/OlivierBondu/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-01-27T11:30:30Z","updated_at":"2016-01-27T14:45:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cp3-llbb/Framework/pulls/130","html_url":"https://github.com/cp3-llbb/Framework/pull/130","diff_url":"https://github.com/cp3-llbb/Framework/pull/130.diff","patch_url":"https://github.com/cp3-llbb/Framework/pull/130.patch"},"body":"This is work in progress for having the jets passed through the bjet energy regression as documented in [this twiki](https://twiki.cern.ch/twiki/bin/view/CMS/HiggsToBBjetEnergyRegression) (adressing issue https://github.com/cp3-llbb/Framework/issues/98)\r\n\r\nit compiles, but for the moment crashes violently :/ In any case, style and coding comments are already welcome :smile:"},"comment":{"url":"https://api.github.com/repos/cp3-llbb/Framework/issues/comments/175662585","html_url":"https://github.com/cp3-llbb/Framework/pull/130#issuecomment-175662585","issue_url":"https://api.github.com/repos/cp3-llbb/Framework/issues/130","id":175662585,"user":{"login":"OlivierBondu","id":2760084,"avatar_url":"https://avatars.githubusercontent.com/u/2760084?v=3","gravatar_id":"","url":"https://api.github.com/users/OlivierBondu","html_url":"https://github.com/OlivierBondu","followers_url":"https://api.github.com/users/OlivierBondu/followers","following_url":"https://api.github.com/users/OlivierBondu/following{/other_user}","gists_url":"https://api.github.com/users/OlivierBondu/gists{/gist_id}","starred_url":"https://api.github.com/users/OlivierBondu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlivierBondu/subscriptions","organizations_url":"https://api.github.com/users/OlivierBondu/orgs","repos_url":"https://api.github.com/users/OlivierBondu/repos","events_url":"https://api.github.com/users/OlivierBondu/events{/privacy}","received_events_url":"https://api.github.com/users/OlivierBondu/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T14:45:37Z","updated_at":"2016-01-27T14:45:37Z","body":"so after some feedback:\r\n- the recommended way is to use the regression after btagging, so indeed storing the weight and choosing to apply it at analysis level sounds like the correct thing to do\r\n- for the MET it seems this use case was not considered (historically coming from Hbb searches... so the question may never have arisen before)\r\n- I was pointed to [this Run I code](https://github.com/heppynmore/heppynmore/blob/master/python/write_regression_systematics.py#L673) about propagating jec and jer, where it looks like they correct 'only' the jet 4-momentum... Are the jet contents rescaled as well when running JEC / JER upstream (eg the soft lepton pt that is an input variable) ?"}}