{"action":"created","comment":{"url":"https://api.github.com/repos/kratsg/TheAccountant/pulls/comments/42202245","id":42202245,"diff_hunk":"@@ -377,13 +377,17 @@ EL::StatusCode OptimizationDump :: execute ()\n   }\n \n   if(!m_inputMET.empty() && !m_inputJets.empty()){\n-    m_effectiveMass = VD::Meff_inclusive(in_met, in_jets, in_muons, in_electrons)/1000.;\n+    \n+    ConstDataVector<xAOD::JetContainer> presel_jets = VD::subset_using_decor(in_jets, VD::decor_vd_pass_Presel, 1);\n+    //std::cout << in_jets->size() << \" \" << presel_jets.size() << std::endl;\n+    m_effectiveMass = VD::Meff_inclusive(in_met, presel_jets.asDataVector(), in_muons, in_electrons)/1000.;\n     m_dPhiMETMin = VD::dPhiMETMin(in_met, in_jets);\n \n \n     static VD::accessor_t< int > isB(\"isB\");\n     ConstDataVector<xAOD::JetContainer> bjets = VD::subset_using_decor(in_jets, isB, 1);\n-    m_mTb = VD::mTb(in_met, bjets.asDataVector())/1000.;\n+    auto sortedBJets = HF::sort_container_pt(bjets.asDataVector());","path":"Root/OptimizationDump.cxx","position":15,"original_position":15,"commit_id":"45775402a21d2a0cfcb1769d2cc91f386ff9f696","original_commit_id":"45775402a21d2a0cfcb1769d2cc91f386ff9f696","user":{"login":"kratsg","id":761483,"avatar_url":"https://avatars.githubusercontent.com/u/761483?v=3","gravatar_id":"","url":"https://api.github.com/users/kratsg","html_url":"https://github.com/kratsg","followers_url":"https://api.github.com/users/kratsg/followers","following_url":"https://api.github.com/users/kratsg/following{/other_user}","gists_url":"https://api.github.com/users/kratsg/gists{/gist_id}","starred_url":"https://api.github.com/users/kratsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kratsg/subscriptions","organizations_url":"https://api.github.com/users/kratsg/orgs","repos_url":"https://api.github.com/users/kratsg/repos","events_url":"https://api.github.com/users/kratsg/events{/privacy}","received_events_url":"https://api.github.com/users/kratsg/received_events","type":"User","site_admin":false},"body":"b-jets need to be sorted before being passed in to mTb","created_at":"2015-10-16T01:52:57Z","updated_at":"2015-10-16T01:52:57Z","html_url":"https://github.com/kratsg/TheAccountant/pull/136#discussion_r42202245","pull_request_url":"https://api.github.com/repos/kratsg/TheAccountant/pulls/136","_links":{"self":{"href":"https://api.github.com/repos/kratsg/TheAccountant/pulls/comments/42202245"},"html":{"href":"https://github.com/kratsg/TheAccountant/pull/136#discussion_r42202245"},"pull_request":{"href":"https://api.github.com/repos/kratsg/TheAccountant/pulls/136"}}},"pull_request":{"url":"https://api.github.com/repos/kratsg/TheAccountant/pulls/136","id":47857489,"html_url":"https://github.com/kratsg/TheAccountant/pull/136","diff_url":"https://github.com/kratsg/TheAccountant/pull/136.diff","patch_url":"https://github.com/kratsg/TheAccountant/pull/136.patch","issue_url":"https://api.github.com/repos/kratsg/TheAccountant/issues/136","number":136,"state":"open","locked":false,"title":"Max debugging","user":{"login":"mswiatlo","id":3971806,"avatar_url":"https://avatars.githubusercontent.com/u/3971806?v=3","gravatar_id":"","url":"https://api.github.com/users/mswiatlo","html_url":"https://github.com/mswiatlo","followers_url":"https://api.github.com/users/mswiatlo/followers","following_url":"https://api.github.com/users/mswiatlo/following{/other_user}","gists_url":"https://api.github.com/users/mswiatlo/gists{/gist_id}","starred_url":"https://api.github.com/users/mswiatlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mswiatlo/subscriptions","organizations_url":"https://api.github.com/users/mswiatlo/orgs","repos_url":"https://api.github.com/users/mswiatlo/repos","events_url":"https://api.github.com/users/mswiatlo/events{/privacy}","received_events_url":"https://api.github.com/users/mswiatlo/received_events","type":"User","site_admin":false},"body":"Various fixes for bugs in the cutflow. These need to be implemented in some fashion. Mine may not be the cleanest choice in all situations.","created_at":"2015-10-16T00:03:55Z","updated_at":"2015-10-16T01:52:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c78a169a116c700362ed8132402aacb587aec74","assignee":{"login":"kratsg","id":761483,"avatar_url":"https://avatars.githubusercontent.com/u/761483?v=3","gravatar_id":"","url":"https://api.github.com/users/kratsg","html_url":"https://github.com/kratsg","followers_url":"https://api.github.com/users/kratsg/followers","following_url":"https://api.github.com/users/kratsg/following{/other_user}","gists_url":"https://api.github.com/users/kratsg/gists{/gist_id}","starred_url":"https://api.github.com/users/kratsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kratsg/subscriptions","organizations_url":"https://api.github.com/users/kratsg/orgs","repos_url":"https://api.github.com/users/kratsg/repos","events_url":"https://api.github.com/users/kratsg/events{/privacy}","received_events_url":"https://api.github.com/users/kratsg/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/kratsg/TheAccountant/pulls/136/commits","review_comments_url":"https://api.github.com/repos/kratsg/TheAccountant/pulls/136/comments","review_comment_url":"https://api.github.com/repos/kratsg/TheAccountant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kratsg/TheAccountant/issues/136/comments","statuses_url":"https://api.github.com/repos/kratsg/TheAccountant/statuses/45775402a21d2a0cfcb1769d2cc91f386ff9f696","head":{"label":"kratsg:max_debugging","ref":"max_debugging","sha":"45775402a21d2a0cfcb1769d2cc91f386ff9f696","user":{"login":"kratsg","id":761483,"avatar_url":"https://avatars.githubusercontent.com/u/761483?v=3","gravatar_id":"","url":"https://api.github.com/users/kratsg","html_url":"https://github.com/kratsg","followers_url":"https://api.github.com/users/kratsg/followers","following_url":"https://api.github.com/users/kratsg/following{/other_user}","gists_url":"https://api.github.com/users/kratsg/gists{/gist_id}","starred_url":"https://api.github.com/users/kratsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kratsg/subscriptions","organizations_url":"https://api.github.com/users/kratsg/orgs","repos_url":"https://api.github.com/users/kratsg/repos","events_url":"https://api.github.com/users/kratsg/events{/privacy}","received_events_url":"https://api.github.com/users/kratsg/received_events","type":"User","site_admin":false},"repo":{"id":33557791,"name":"TheAccountant","full_name":"kratsg/TheAccountant","owner":{"login":"kratsg","id":761483,"avatar_url":"https://avatars.githubusercontent.com/u/761483?v=3","gravatar_id":"","url":"https://api.github.com/users/kratsg","html_url":"https://github.com/kratsg","followers_url":"https://api.github.com/users/kratsg/followers","following_url":"https://api.github.com/users/kratsg/following{/other_user}","gists_url":"https://api.github.com/users/kratsg/gists{/gist_id}","starred_url":"https://api.github.com/users/kratsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kratsg/subscriptions","organizations_url":"https://api.github.com/users/kratsg/orgs","repos_url":"https://api.github.com/users/kratsg/repos","events_url":"https://api.github.com/users/kratsg/events{/privacy}","received_events_url":"https://api.github.com/users/kratsg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kratsg/TheAccountant","description":"Run-2 analysis for SUSY search in gluino to stops.","fork":false,"url":"https://api.github.com/repos/kratsg/TheAccountant","forks_url":"https://api.github.com/repos/kratsg/TheAccountant/forks","keys_url":"https://api.github.com/repos/kratsg/TheAccountant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kratsg/TheAccountant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kratsg/TheAccountant/teams","hooks_url":"https://api.github.com/repos/kratsg/TheAccountant/hooks","issue_events_url":"https://api.github.com/repos/kratsg/TheAccountant/issues/events{/number}","events_url":"https://api.github.com/repos/kratsg/TheAccountant/events","assignees_url":"https://api.github.com/repos/kratsg/TheAccountant/assignees{/user}","branches_url":"https://api.github.com/repos/kratsg/TheAccountant/branches{/branch}","tags_url":"https://api.github.com/repos/kratsg/TheAccountant/tags","blobs_url":"https://api.github.com/repos/kratsg/TheAccountant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kratsg/TheAccountant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kratsg/TheAccountant/git/refs{/sha}","trees_url":"https://api.github.com/repos/kratsg/TheAccountant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kratsg/TheAccountant/statuses/{sha}","languages_url":"https://api.github.com/repos/kratsg/TheAccountant/languages","stargazers_url":"https://api.github.com/repos/kratsg/TheAccountant/stargazers","contributors_url":"https://api.github.com/repos/kratsg/TheAccountant/contributors","subscribers_url":"https://api.github.com/repos/kratsg/TheAccountant/subscribers","subscription_url":"https://api.github.com/repos/kratsg/TheAccountant/subscription","commits_url":"https://api.github.com/repos/kratsg/TheAccountant/commits{/sha}","git_commits_url":"https://api.github.com/repos/kratsg/TheAccountant/git/commits{/sha}","comments_url":"https://api.github.com/repos/kratsg/TheAccountant/comments{/number}","issue_comment_url":"https://api.github.com/repos/kratsg/TheAccountant/issues/comments{/number}","contents_url":"https://api.github.com/repos/kratsg/TheAccountant/contents/{+path}","compare_url":"https://api.github.com/repos/kratsg/TheAccountant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kratsg/TheAccountant/merges","archive_url":"https://api.github.com/repos/kratsg/TheAccountant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kratsg/TheAccountant/downloads","issues_url":"https://api.github.com/repos/kratsg/TheAccountant/issues{/number}","pulls_url":"https://api.github.com/repos/kratsg/TheAccountant/pulls{/number}","milestones_url":"https://api.github.com/repos/kratsg/TheAccountant/milestones{/number}","notifications_url":"https://api.github.com/repos/kratsg/TheAccountant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kratsg/TheAccountant/labels{/name}","releases_url":"https://api.github.com/repos/kratsg/TheAccountant/releases{/id}","created_at":"2015-04-07T17:26:18Z","updated_at":"2015-07-25T01:24:25Z","pushed_at":"2015-10-16T00:03:55Z","git_url":"git://github.com/kratsg/TheAccountant.git","ssh_url":"git@github.com:kratsg/TheAccountant.git","clone_url":"https://github.com/kratsg/TheAccountant.git","svn_url":"https://github.com/kratsg/TheAccountant","homepage":"","size":29932,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":33,"forks":3,"open_issues":33,"watchers":1,"default_branch":"master"}},"base":{"label":"kratsg:master","ref":"master","sha":"b79b35d85b4044dfdc5633c74dd3c299f94a8aa1","user":{"login":"kratsg","id":761483,"avatar_url":"https://avatars.githubusercontent.com/u/761483?v=3","gravatar_id":"","url":"https://api.github.com/users/kratsg","html_url":"https://github.com/kratsg","followers_url":"https://api.github.com/users/kratsg/followers","following_url":"https://api.github.com/users/kratsg/following{/other_user}","gists_url":"https://api.github.com/users/kratsg/gists{/gist_id}","starred_url":"https://api.github.com/users/kratsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kratsg/subscriptions","organizations_url":"https://api.github.com/users/kratsg/orgs","repos_url":"https://api.github.com/users/kratsg/repos","events_url":"https://api.github.com/users/kratsg/events{/privacy}","received_events_url":"https://api.github.com/users/kratsg/received_events","type":"User","site_admin":false},"repo":{"id":33557791,"name":"TheAccountant","full_name":"kratsg/TheAccountant","owner":{"login":"kratsg","id":761483,"avatar_url":"https://avatars.githubusercontent.com/u/761483?v=3","gravatar_id":"","url":"https://api.github.com/users/kratsg","html_url":"https://github.com/kratsg","followers_url":"https://api.github.com/users/kratsg/followers","following_url":"https://api.github.com/users/kratsg/following{/other_user}","gists_url":"https://api.github.com/users/kratsg/gists{/gist_id}","starred_url":"https://api.github.com/users/kratsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kratsg/subscriptions","organizations_url":"https://api.github.com/users/kratsg/orgs","repos_url":"https://api.github.com/users/kratsg/repos","events_url":"https://api.github.com/users/kratsg/events{/privacy}","received_events_url":"https://api.github.com/users/kratsg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kratsg/TheAccountant","description":"Run-2 analysis for SUSY search in gluino to stops.","fork":false,"url":"https://api.github.com/repos/kratsg/TheAccountant","forks_url":"https://api.github.com/repos/kratsg/TheAccountant/forks","keys_url":"https://api.github.com/repos/kratsg/TheAccountant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kratsg/TheAccountant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kratsg/TheAccountant/teams","hooks_url":"https://api.github.com/repos/kratsg/TheAccountant/hooks","issue_events_url":"https://api.github.com/repos/kratsg/TheAccountant/issues/events{/number}","events_url":"https://api.github.com/repos/kratsg/TheAccountant/events","assignees_url":"https://api.github.com/repos/kratsg/TheAccountant/assignees{/user}","branches_url":"https://api.github.com/repos/kratsg/TheAccountant/branches{/branch}","tags_url":"https://api.github.com/repos/kratsg/TheAccountant/tags","blobs_url":"https://api.github.com/repos/kratsg/TheAccountant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kratsg/TheAccountant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kratsg/TheAccountant/git/refs{/sha}","trees_url":"https://api.github.com/repos/kratsg/TheAccountant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kratsg/TheAccountant/statuses/{sha}","languages_url":"https://api.github.com/repos/kratsg/TheAccountant/languages","stargazers_url":"https://api.github.com/repos/kratsg/TheAccountant/stargazers","contributors_url":"https://api.github.com/repos/kratsg/TheAccountant/contributors","subscribers_url":"https://api.github.com/repos/kratsg/TheAccountant/subscribers","subscription_url":"https://api.github.com/repos/kratsg/TheAccountant/subscription","commits_url":"https://api.github.com/repos/kratsg/TheAccountant/commits{/sha}","git_commits_url":"https://api.github.com/repos/kratsg/TheAccountant/git/commits{/sha}","comments_url":"https://api.github.com/repos/kratsg/TheAccountant/comments{/number}","issue_comment_url":"https://api.github.com/repos/kratsg/TheAccountant/issues/comments{/number}","contents_url":"https://api.github.com/repos/kratsg/TheAccountant/contents/{+path}","compare_url":"https://api.github.com/repos/kratsg/TheAccountant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kratsg/TheAccountant/merges","archive_url":"https://api.github.com/repos/kratsg/TheAccountant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kratsg/TheAccountant/downloads","issues_url":"https://api.github.com/repos/kratsg/TheAccountant/issues{/number}","pulls_url":"https://api.github.com/repos/kratsg/TheAccountant/pulls{/number}","milestones_url":"https://api.github.com/repos/kratsg/TheAccountant/milestones{/number}","notifications_url":"https://api.github.com/repos/kratsg/TheAccountant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kratsg/TheAccountant/labels{/name}","releases_url":"https://api.github.com/repos/kratsg/TheAccountant/releases{/id}","created_at":"2015-04-07T17:26:18Z","updated_at":"2015-07-25T01:24:25Z","pushed_at":"2015-10-16T00:03:55Z","git_url":"git://github.com/kratsg/TheAccountant.git","ssh_url":"git@github.com:kratsg/TheAccountant.git","clone_url":"https://github.com/kratsg/TheAccountant.git","svn_url":"https://github.com/kratsg/TheAccountant","homepage":"","size":29932,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":33,"forks":3,"open_issues":33,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kratsg/TheAccountant/pulls/136"},"html":{"href":"https://github.com/kratsg/TheAccountant/pull/136"},"issue":{"href":"https://api.github.com/repos/kratsg/TheAccountant/issues/136"},"comments":{"href":"https://api.github.com/repos/kratsg/TheAccountant/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/kratsg/TheAccountant/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/kratsg/TheAccountant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kratsg/TheAccountant/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/kratsg/TheAccountant/statuses/45775402a21d2a0cfcb1769d2cc91f386ff9f696"}}}}