{"action":"created","comment":{"url":"https://api.github.com/repos/vhbb/cmssw/pulls/comments/33682719","id":33682719,"diff_hunk":"@@ -139,6 +139,15 @@ def doFakeMET(self,event):\n \t\tevent.fakeMET=event.met.p4() + event.V\n                 event.fakeMET.sumet = event.met.sumEt() - event.V.pt()\n \n+    def doHtMhtJets30(self,event):\n+        ## with Central Jets\n+        objects30 = [ j for j in event.cleanJets if j.pt() > 30 ] + event.selectedLeptons\n+        event.htJet30 = sum([x.pt() for x in objects30])\n+        event.mhtJet30vec = ROOT.reco.Particle.LorentzVector(-1.*(sum([x.px() for x in objects30])) , -1.*(sum([x.py() for x in objects30])), 0, 0 )             ","path":"VHbbAnalysis/Heppy/python/VHbbAnalyzer.py","position":8,"original_position":8,"commit_id":"944172abd3d6fafe49b896bfab761e0d66051fa3","original_commit_id":"944172abd3d6fafe49b896bfab761e0d66051fa3","user":{"login":"arizzi","id":5022358,"avatar_url":"https://avatars.githubusercontent.com/u/5022358?v=3","gravatar_id":"","url":"https://api.github.com/users/arizzi","html_url":"https://github.com/arizzi","followers_url":"https://api.github.com/users/arizzi/followers","following_url":"https://api.github.com/users/arizzi/following{/other_user}","gists_url":"https://api.github.com/users/arizzi/gists{/gist_id}","starred_url":"https://api.github.com/users/arizzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arizzi/subscriptions","organizations_url":"https://api.github.com/users/arizzi/orgs","repos_url":"https://api.github.com/users/arizzi/repos","events_url":"https://api.github.com/users/arizzi/events{/privacy}","received_events_url":"https://api.github.com/users/arizzi/received_events","type":"User","site_admin":false},"body":"one could even just some the p4() passing a 0,0,0,0 Vector as start of the sum","created_at":"2015-07-01T14:22:54Z","updated_at":"2015-07-01T14:22:54Z","html_url":"https://github.com/vhbb/cmssw/pull/96#discussion_r33682719","pull_request_url":"https://api.github.com/repos/vhbb/cmssw/pulls/96","_links":{"self":{"href":"https://api.github.com/repos/vhbb/cmssw/pulls/comments/33682719"},"html":{"href":"https://github.com/vhbb/cmssw/pull/96#discussion_r33682719"},"pull_request":{"href":"https://api.github.com/repos/vhbb/cmssw/pulls/96"}}},"pull_request":{"url":"https://api.github.com/repos/vhbb/cmssw/pulls/96","id":38901166,"html_url":"https://github.com/vhbb/cmssw/pull/96","diff_url":"https://github.com/vhbb/cmssw/pull/96.diff","patch_url":"https://github.com/vhbb/cmssw/pull/96.patch","issue_url":"https://api.github.com/repos/vhbb/cmssw/issues/96","number":96,"state":"open","locked":false,"title":"Vhbb heppy74 x add metsv2","user":{"login":"degrutto","id":5023459,"avatar_url":"https://avatars.githubusercontent.com/u/5023459?v=3","gravatar_id":"","url":"https://api.github.com/users/degrutto","html_url":"https://github.com/degrutto","followers_url":"https://api.github.com/users/degrutto/followers","following_url":"https://api.github.com/users/degrutto/following{/other_user}","gists_url":"https://api.github.com/users/degrutto/gists{/gist_id}","starred_url":"https://api.github.com/users/degrutto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/degrutto/subscriptions","organizations_url":"https://api.github.com/users/degrutto/orgs","repos_url":"https://api.github.com/users/degrutto/repos","events_url":"https://api.github.com/users/degrutto/events{/privacy}","received_events_url":"https://api.github.com/users/degrutto/received_events","type":"User","site_admin":false},"body":"fix previous pull requests (now  starting from 745)\r\n\r\nadded\r\n\r\ntkMET\r\nrawmet\r\ntype1p2met\r\npuppiMET\r\nmentNoPU\r\nmht30\r\n\r\njust the pt....","created_at":"2015-06-30T17:06:12Z","updated_at":"2015-07-01T14:22:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2548ed74c6accda2d16579c9ce97464819dc1d48","assignee":null,"milestone":{"url":"https://api.github.com/repos/vhbb/cmssw/milestones/4","html_url":"https://github.com/vhbb/cmssw/milestones/V13","labels_url":"https://api.github.com/repos/vhbb/cmssw/milestones/4/labels","id":1178757,"number":4,"title":"V13","description":"Meant for first data vs MC comparison, hence should run on data too","creator":{"login":"arizzi","id":5022358,"avatar_url":"https://avatars.githubusercontent.com/u/5022358?v=3","gravatar_id":"","url":"https://api.github.com/users/arizzi","html_url":"https://github.com/arizzi","followers_url":"https://api.github.com/users/arizzi/followers","following_url":"https://api.github.com/users/arizzi/following{/other_user}","gists_url":"https://api.github.com/users/arizzi/gists{/gist_id}","starred_url":"https://api.github.com/users/arizzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arizzi/subscriptions","organizations_url":"https://api.github.com/users/arizzi/orgs","repos_url":"https://api.github.com/users/arizzi/repos","events_url":"https://api.github.com/users/arizzi/events{/privacy}","received_events_url":"https://api.github.com/users/arizzi/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2015-06-24T07:18:50Z","updated_at":"2015-07-01T11:30:54Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/vhbb/cmssw/pulls/96/commits","review_comments_url":"https://api.github.com/repos/vhbb/cmssw/pulls/96/comments","review_comment_url":"https://api.github.com/repos/vhbb/cmssw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vhbb/cmssw/issues/96/comments","statuses_url":"https://api.github.com/repos/vhbb/cmssw/statuses/944172abd3d6fafe49b896bfab761e0d66051fa3","head":{"label":"vhbb:vhbbHeppy74X_addMetsv2","ref":"vhbbHeppy74X_addMetsv2","sha":"944172abd3d6fafe49b896bfab761e0d66051fa3","user":{"login":"vhbb","id":5072911,"avatar_url":"https://avatars.githubusercontent.com/u/5072911?v=3","gravatar_id":"","url":"https://api.github.com/users/vhbb","html_url":"https://github.com/vhbb","followers_url":"https://api.github.com/users/vhbb/followers","following_url":"https://api.github.com/users/vhbb/following{/other_user}","gists_url":"https://api.github.com/users/vhbb/gists{/gist_id}","starred_url":"https://api.github.com/users/vhbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vhbb/subscriptions","organizations_url":"https://api.github.com/users/vhbb/orgs","repos_url":"https://api.github.com/users/vhbb/repos","events_url":"https://api.github.com/users/vhbb/events{/privacy}","received_events_url":"https://api.github.com/users/vhbb/received_events","type":"Organization","site_admin":false},"repo":{"id":11608804,"name":"cmssw","full_name":"vhbb/cmssw","owner":{"login":"vhbb","id":5072911,"avatar_url":"https://avatars.githubusercontent.com/u/5072911?v=3","gravatar_id":"","url":"https://api.github.com/users/vhbb","html_url":"https://github.com/vhbb","followers_url":"https://api.github.com/users/vhbb/followers","following_url":"https://api.github.com/users/vhbb/following{/other_user}","gists_url":"https://api.github.com/users/vhbb/gists{/gist_id}","starred_url":"https://api.github.com/users/vhbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vhbb/subscriptions","organizations_url":"https://api.github.com/users/vhbb/orgs","repos_url":"https://api.github.com/users/vhbb/repos","events_url":"https://api.github.com/users/vhbb/events{/privacy}","received_events_url":"https://api.github.com/users/vhbb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vhbb/cmssw","description":"CMS Offline Software","fork":true,"url":"https://api.github.com/repos/vhbb/cmssw","forks_url":"https://api.github.com/repos/vhbb/cmssw/forks","keys_url":"https://api.github.com/repos/vhbb/cmssw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vhbb/cmssw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vhbb/cmssw/teams","hooks_url":"https://api.github.com/repos/vhbb/cmssw/hooks","issue_events_url":"https://api.github.com/repos/vhbb/cmssw/issues/events{/number}","events_url":"https://api.github.com/repos/vhbb/cmssw/events","assignees_url":"https://api.github.com/repos/vhbb/cmssw/assignees{/user}","branches_url":"https://api.github.com/repos/vhbb/cmssw/branches{/branch}","tags_url":"https://api.github.com/repos/vhbb/cmssw/tags","blobs_url":"https://api.github.com/repos/vhbb/cmssw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vhbb/cmssw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vhbb/cmssw/git/refs{/sha}","trees_url":"https://api.github.com/repos/vhbb/cmssw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vhbb/cmssw/statuses/{sha}","languages_url":"https://api.github.com/repos/vhbb/cmssw/languages","stargazers_url":"https://api.github.com/repos/vhbb/cmssw/stargazers","contributors_url":"https://api.github.com/repos/vhbb/cmssw/contributors","subscribers_url":"https://api.github.com/repos/vhbb/cmssw/subscribers","subscription_url":"https://api.github.com/repos/vhbb/cmssw/subscription","commits_url":"https://api.github.com/repos/vhbb/cmssw/commits{/sha}","git_commits_url":"https://api.github.com/repos/vhbb/cmssw/git/commits{/sha}","comments_url":"https://api.github.com/repos/vhbb/cmssw/comments{/number}","issue_comment_url":"https://api.github.com/repos/vhbb/cmssw/issues/comments{/number}","contents_url":"https://api.github.com/repos/vhbb/cmssw/contents/{+path}","compare_url":"https://api.github.com/repos/vhbb/cmssw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vhbb/cmssw/merges","archive_url":"https://api.github.com/repos/vhbb/cmssw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vhbb/cmssw/downloads","issues_url":"https://api.github.com/repos/vhbb/cmssw/issues{/number}","pulls_url":"https://api.github.com/repos/vhbb/cmssw/pulls{/number}","milestones_url":"https://api.github.com/repos/vhbb/cmssw/milestones{/number}","notifications_url":"https://api.github.com/repos/vhbb/cmssw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vhbb/cmssw/labels{/name}","releases_url":"https://api.github.com/repos/vhbb/cmssw/releases{/id}","created_at":"2013-07-23T13:22:20Z","updated_at":"2015-03-01T09:15:14Z","pushed_at":"2015-06-30T17:06:13Z","git_url":"git://github.com/vhbb/cmssw.git","ssh_url":"git@github.com:vhbb/cmssw.git","clone_url":"https://github.com/vhbb/cmssw.git","svn_url":"https://github.com/vhbb/cmssw","homepage":"cms-sw.github.io/cmssw","size":1059804,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":1,"default_branch":"CMSSW_7_0_X"}},"base":{"label":"vhbb:vhbbHeppy74X","ref":"vhbbHeppy74X","sha":"fc5d8ed304a97e89339b32c4db898b8a7a3fa40d","user":{"login":"vhbb","id":5072911,"avatar_url":"https://avatars.githubusercontent.com/u/5072911?v=3","gravatar_id":"","url":"https://api.github.com/users/vhbb","html_url":"https://github.com/vhbb","followers_url":"https://api.github.com/users/vhbb/followers","following_url":"https://api.github.com/users/vhbb/following{/other_user}","gists_url":"https://api.github.com/users/vhbb/gists{/gist_id}","starred_url":"https://api.github.com/users/vhbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vhbb/subscriptions","organizations_url":"https://api.github.com/users/vhbb/orgs","repos_url":"https://api.github.com/users/vhbb/repos","events_url":"https://api.github.com/users/vhbb/events{/privacy}","received_events_url":"https://api.github.com/users/vhbb/received_events","type":"Organization","site_admin":false},"repo":{"id":11608804,"name":"cmssw","full_name":"vhbb/cmssw","owner":{"login":"vhbb","id":5072911,"avatar_url":"https://avatars.githubusercontent.com/u/5072911?v=3","gravatar_id":"","url":"https://api.github.com/users/vhbb","html_url":"https://github.com/vhbb","followers_url":"https://api.github.com/users/vhbb/followers","following_url":"https://api.github.com/users/vhbb/following{/other_user}","gists_url":"https://api.github.com/users/vhbb/gists{/gist_id}","starred_url":"https://api.github.com/users/vhbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vhbb/subscriptions","organizations_url":"https://api.github.com/users/vhbb/orgs","repos_url":"https://api.github.com/users/vhbb/repos","events_url":"https://api.github.com/users/vhbb/events{/privacy}","received_events_url":"https://api.github.com/users/vhbb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vhbb/cmssw","description":"CMS Offline Software","fork":true,"url":"https://api.github.com/repos/vhbb/cmssw","forks_url":"https://api.github.com/repos/vhbb/cmssw/forks","keys_url":"https://api.github.com/repos/vhbb/cmssw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vhbb/cmssw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vhbb/cmssw/teams","hooks_url":"https://api.github.com/repos/vhbb/cmssw/hooks","issue_events_url":"https://api.github.com/repos/vhbb/cmssw/issues/events{/number}","events_url":"https://api.github.com/repos/vhbb/cmssw/events","assignees_url":"https://api.github.com/repos/vhbb/cmssw/assignees{/user}","branches_url":"https://api.github.com/repos/vhbb/cmssw/branches{/branch}","tags_url":"https://api.github.com/repos/vhbb/cmssw/tags","blobs_url":"https://api.github.com/repos/vhbb/cmssw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vhbb/cmssw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vhbb/cmssw/git/refs{/sha}","trees_url":"https://api.github.com/repos/vhbb/cmssw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vhbb/cmssw/statuses/{sha}","languages_url":"https://api.github.com/repos/vhbb/cmssw/languages","stargazers_url":"https://api.github.com/repos/vhbb/cmssw/stargazers","contributors_url":"https://api.github.com/repos/vhbb/cmssw/contributors","subscribers_url":"https://api.github.com/repos/vhbb/cmssw/subscribers","subscription_url":"https://api.github.com/repos/vhbb/cmssw/subscription","commits_url":"https://api.github.com/repos/vhbb/cmssw/commits{/sha}","git_commits_url":"https://api.github.com/repos/vhbb/cmssw/git/commits{/sha}","comments_url":"https://api.github.com/repos/vhbb/cmssw/comments{/number}","issue_comment_url":"https://api.github.com/repos/vhbb/cmssw/issues/comments{/number}","contents_url":"https://api.github.com/repos/vhbb/cmssw/contents/{+path}","compare_url":"https://api.github.com/repos/vhbb/cmssw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vhbb/cmssw/merges","archive_url":"https://api.github.com/repos/vhbb/cmssw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vhbb/cmssw/downloads","issues_url":"https://api.github.com/repos/vhbb/cmssw/issues{/number}","pulls_url":"https://api.github.com/repos/vhbb/cmssw/pulls{/number}","milestones_url":"https://api.github.com/repos/vhbb/cmssw/milestones{/number}","notifications_url":"https://api.github.com/repos/vhbb/cmssw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vhbb/cmssw/labels{/name}","releases_url":"https://api.github.com/repos/vhbb/cmssw/releases{/id}","created_at":"2013-07-23T13:22:20Z","updated_at":"2015-03-01T09:15:14Z","pushed_at":"2015-06-30T17:06:13Z","git_url":"git://github.com/vhbb/cmssw.git","ssh_url":"git@github.com:vhbb/cmssw.git","clone_url":"https://github.com/vhbb/cmssw.git","svn_url":"https://github.com/vhbb/cmssw","homepage":"cms-sw.github.io/cmssw","size":1059804,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":1,"default_branch":"CMSSW_7_0_X"}},"_links":{"self":{"href":"https://api.github.com/repos/vhbb/cmssw/pulls/96"},"html":{"href":"https://github.com/vhbb/cmssw/pull/96"},"issue":{"href":"https://api.github.com/repos/vhbb/cmssw/issues/96"},"comments":{"href":"https://api.github.com/repos/vhbb/cmssw/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/vhbb/cmssw/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/vhbb/cmssw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vhbb/cmssw/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/vhbb/cmssw/statuses/944172abd3d6fafe49b896bfab761e0d66051fa3"}}}}