{"comment":{"url":"https://api.github.com/repos/Calpas/JetMETAnalysis/comments/12080854","html_url":"https://github.com/Calpas/JetMETAnalysis/commit/f0dcedca2a21128ea9e3b905286eaf10fc157977#commitcomment-12080854","id":12080854,"user":{"login":"Calpas","id":6793399,"avatar_url":"https://avatars.githubusercontent.com/u/6793399?v=3","gravatar_id":"","url":"https://api.github.com/users/Calpas","html_url":"https://github.com/Calpas","followers_url":"https://api.github.com/users/Calpas/followers","following_url":"https://api.github.com/users/Calpas/following{/other_user}","gists_url":"https://api.github.com/users/Calpas/gists{/gist_id}","starred_url":"https://api.github.com/users/Calpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Calpas/subscriptions","organizations_url":"https://api.github.com/users/Calpas/orgs","repos_url":"https://api.github.com/users/Calpas/repos","events_url":"https://api.github.com/users/Calpas/events{/privacy}","received_events_url":"https://api.github.com/users/Calpas/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"f0dcedca2a21128ea9e3b905286eaf10fc157977","created_at":"2015-07-09T09:44:10Z","updated_at":"2015-07-09T09:44:10Z","body":"I think that something is definitely weird. I spent  hours to debug jet_l3_correction_x.cc code, and I found that at line 150 you were using:\r\ndouble refpt   =hrefpt->GetMaximumBin();\r\ndouble jetpt   =hjetpt->GetMaximumBin();\r\nwhich does not make sense. I also then had to changed the fit range and I did it manually to control.\r\nMaybe I did not worked on the most update package. I rerun with:\r\ndouble refpt   =hrefpt->GetMean();\r\ndouble jetpt   =hjetpt->GetMean();\r\nand the fits are good, so no need to change the code then."}}