{"action":"created","comment":{"url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/pulls/comments/40693484","id":40693484,"diff_hunk":"@@ -0,0 +1,43 @@\n+from HiggsAnalysis.CombinedLimit.PhysicsModel import *\n+import re\n+\n+class TagAndProbe(PhysicsModel):\n+    def setPhysicsOptions(self,physOptions):\n+        for po in physOptions:\n+            if po.startswith(\"anticorrelation=\"):\n+                self.anticorrelation = float(po.replace(\"anticorrelation=\",\"\"))","path":"python/TagAndProbeModel.py","position":8,"original_position":8,"commit_id":"bfdae199cc9ac05ca6f4e588de6033e5dd6f4986","original_commit_id":"bfdae199cc9ac05ca6f4e588de6033e5dd6f4986","user":{"login":"gpetruc","id":4643655,"avatar_url":"https://avatars.githubusercontent.com/u/4643655?v=3","gravatar_id":"","url":"https://api.github.com/users/gpetruc","html_url":"https://github.com/gpetruc","followers_url":"https://api.github.com/users/gpetruc/followers","following_url":"https://api.github.com/users/gpetruc/following{/other_user}","gists_url":"https://api.github.com/users/gpetruc/gists{/gist_id}","starred_url":"https://api.github.com/users/gpetruc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpetruc/subscriptions","organizations_url":"https://api.github.com/users/gpetruc/orgs","repos_url":"https://api.github.com/users/gpetruc/repos","events_url":"https://api.github.com/users/gpetruc/events{/privacy}","received_events_url":"https://api.github.com/users/gpetruc/received_events","type":"User","site_admin":false},"body":"was this supposed to be used somewhere?","created_at":"2015-09-29T16:20:14Z","updated_at":"2015-09-29T16:20:14Z","html_url":"https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit/pull/242#discussion_r40693484","pull_request_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/pulls/242","_links":{"self":{"href":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/pulls/comments/40693484"},"html":{"href":"https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit/pull/242#discussion_r40693484"},"pull_request":{"href":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/pulls/242"}}},"pull_request":{"url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/pulls/242","id":46296929,"html_url":"https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit/pull/242","diff_url":"https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit/pull/242.diff","patch_url":"https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit/pull/242.patch","issue_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/issues/242","number":242,"state":"open","locked":false,"title":"add tag-and-probe physics model","user":{"login":"cecilecaillol","id":3909186,"avatar_url":"https://avatars.githubusercontent.com/u/3909186?v=3","gravatar_id":"","url":"https://api.github.com/users/cecilecaillol","html_url":"https://github.com/cecilecaillol","followers_url":"https://api.github.com/users/cecilecaillol/followers","following_url":"https://api.github.com/users/cecilecaillol/following{/other_user}","gists_url":"https://api.github.com/users/cecilecaillol/gists{/gist_id}","starred_url":"https://api.github.com/users/cecilecaillol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cecilecaillol/subscriptions","organizations_url":"https://api.github.com/users/cecilecaillol/orgs","repos_url":"https://api.github.com/users/cecilecaillol/repos","events_url":"https://api.github.com/users/cecilecaillol/events{/privacy}","received_events_url":"https://api.github.com/users/cecilecaillol/received_events","type":"User","site_admin":false},"body":"New physics model for tag and probe measurements. The POI is the multiplicative factor for the signal in the pass category, while the number of signal events in the fail region is simultaneously modified by an anticorrelated factor such that the sum of signal events in pass and fail regions remains constant.","created_at":"2015-09-29T16:00:36Z","updated_at":"2015-09-29T16:20:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca3d49e6dba992f37701cd1ea2eaa0e46f0637ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/pulls/242/commits","review_comments_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/pulls/242/comments","review_comment_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/issues/242/comments","statuses_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/statuses/bfdae199cc9ac05ca6f4e588de6033e5dd6f4986","head":{"label":"cecilecaillol:tnp_branch","ref":"tnp_branch","sha":"bfdae199cc9ac05ca6f4e588de6033e5dd6f4986","user":{"login":"cecilecaillol","id":3909186,"avatar_url":"https://avatars.githubusercontent.com/u/3909186?v=3","gravatar_id":"","url":"https://api.github.com/users/cecilecaillol","html_url":"https://github.com/cecilecaillol","followers_url":"https://api.github.com/users/cecilecaillol/followers","following_url":"https://api.github.com/users/cecilecaillol/following{/other_user}","gists_url":"https://api.github.com/users/cecilecaillol/gists{/gist_id}","starred_url":"https://api.github.com/users/cecilecaillol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cecilecaillol/subscriptions","organizations_url":"https://api.github.com/users/cecilecaillol/orgs","repos_url":"https://api.github.com/users/cecilecaillol/repos","events_url":"https://api.github.com/users/cecilecaillol/events{/privacy}","received_events_url":"https://api.github.com/users/cecilecaillol/received_events","type":"User","site_admin":false},"repo":{"id":43375807,"name":"HiggsAnalysis-CombinedLimit","full_name":"cecilecaillol/HiggsAnalysis-CombinedLimit","owner":{"login":"cecilecaillol","id":3909186,"avatar_url":"https://avatars.githubusercontent.com/u/3909186?v=3","gravatar_id":"","url":"https://api.github.com/users/cecilecaillol","html_url":"https://github.com/cecilecaillol","followers_url":"https://api.github.com/users/cecilecaillol/followers","following_url":"https://api.github.com/users/cecilecaillol/following{/other_user}","gists_url":"https://api.github.com/users/cecilecaillol/gists{/gist_id}","starred_url":"https://api.github.com/users/cecilecaillol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cecilecaillol/subscriptions","organizations_url":"https://api.github.com/users/cecilecaillol/orgs","repos_url":"https://api.github.com/users/cecilecaillol/repos","events_url":"https://api.github.com/users/cecilecaillol/events{/privacy}","received_events_url":"https://api.github.com/users/cecilecaillol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cecilecaillol/HiggsAnalysis-CombinedLimit","description":"CMS Higgs Combination toolkit. See documentation at","fork":true,"url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit","forks_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/forks","keys_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/teams","hooks_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/hooks","issue_events_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/issues/events{/number}","events_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/events","assignees_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/assignees{/user}","branches_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/branches{/branch}","tags_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/tags","blobs_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/git/refs{/sha}","trees_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/statuses/{sha}","languages_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/languages","stargazers_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/stargazers","contributors_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/contributors","subscribers_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/subscribers","subscription_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/subscription","commits_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/commits{/sha}","git_commits_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/git/commits{/sha}","comments_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/comments{/number}","issue_comment_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/issues/comments{/number}","contents_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/contents/{+path}","compare_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/merges","archive_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/downloads","issues_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/issues{/number}","pulls_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/pulls{/number}","milestones_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/milestones{/number}","notifications_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/labels{/name}","releases_url":"https://api.github.com/repos/cecilecaillol/HiggsAnalysis-CombinedLimit/releases{/id}","created_at":"2015-09-29T15:18:42Z","updated_at":"2015-09-29T15:18:44Z","pushed_at":"2015-09-29T15:56:43Z","git_url":"git://github.com/cecilecaillol/HiggsAnalysis-CombinedLimit.git","ssh_url":"git@github.com:cecilecaillol/HiggsAnalysis-CombinedLimit.git","clone_url":"https://github.com/cecilecaillol/HiggsAnalysis-CombinedLimit.git","svn_url":"https://github.com/cecilecaillol/HiggsAnalysis-CombinedLimit","homepage":"https://twiki.cern.ch/twiki/bin/viewauth/CMS/SWGuideHiggsAnalysisCombinedLimit","size":33948,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"slc6-root5.34.17"}},"base":{"label":"cms-analysis:slc6-root5.34.17","ref":"slc6-root5.34.17","sha":"309649346420d44fe552866e36e973be6e4565b4","user":{"login":"cms-analysis","id":4680210,"avatar_url":"https://avatars.githubusercontent.com/u/4680210?v=3","gravatar_id":"","url":"https://api.github.com/users/cms-analysis","html_url":"https://github.com/cms-analysis","followers_url":"https://api.github.com/users/cms-analysis/followers","following_url":"https://api.github.com/users/cms-analysis/following{/other_user}","gists_url":"https://api.github.com/users/cms-analysis/gists{/gist_id}","starred_url":"https://api.github.com/users/cms-analysis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cms-analysis/subscriptions","organizations_url":"https://api.github.com/users/cms-analysis/orgs","repos_url":"https://api.github.com/users/cms-analysis/repos","events_url":"https://api.github.com/users/cms-analysis/events{/privacy}","received_events_url":"https://api.github.com/users/cms-analysis/received_events","type":"Organization","site_admin":false},"repo":{"id":10845653,"name":"HiggsAnalysis-CombinedLimit","full_name":"cms-analysis/HiggsAnalysis-CombinedLimit","owner":{"login":"cms-analysis","id":4680210,"avatar_url":"https://avatars.githubusercontent.com/u/4680210?v=3","gravatar_id":"","url":"https://api.github.com/users/cms-analysis","html_url":"https://github.com/cms-analysis","followers_url":"https://api.github.com/users/cms-analysis/followers","following_url":"https://api.github.com/users/cms-analysis/following{/other_user}","gists_url":"https://api.github.com/users/cms-analysis/gists{/gist_id}","starred_url":"https://api.github.com/users/cms-analysis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cms-analysis/subscriptions","organizations_url":"https://api.github.com/users/cms-analysis/orgs","repos_url":"https://api.github.com/users/cms-analysis/repos","events_url":"https://api.github.com/users/cms-analysis/events{/privacy}","received_events_url":"https://api.github.com/users/cms-analysis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit","description":"CMS Higgs Combination toolkit. See documentation at","fork":false,"url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit","forks_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/forks","keys_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/teams","hooks_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/hooks","issue_events_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/issues/events{/number}","events_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/events","assignees_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/assignees{/user}","branches_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/branches{/branch}","tags_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/tags","blobs_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/git/refs{/sha}","trees_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/statuses/{sha}","languages_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/languages","stargazers_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/stargazers","contributors_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/contributors","subscribers_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/subscribers","subscription_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/subscription","commits_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/commits{/sha}","git_commits_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/git/commits{/sha}","comments_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/comments{/number}","issue_comment_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/issues/comments{/number}","contents_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/contents/{+path}","compare_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/merges","archive_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/downloads","issues_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/issues{/number}","pulls_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/pulls{/number}","milestones_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/milestones{/number}","notifications_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/labels{/name}","releases_url":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/releases{/id}","created_at":"2013-06-21T15:34:08Z","updated_at":"2015-06-22T14:08:31Z","pushed_at":"2015-09-29T16:00:37Z","git_url":"git://github.com/cms-analysis/HiggsAnalysis-CombinedLimit.git","ssh_url":"git@github.com:cms-analysis/HiggsAnalysis-CombinedLimit.git","clone_url":"https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit.git","svn_url":"https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit","homepage":"https://twiki.cern.ch/twiki/bin/viewauth/CMS/SWGuideHiggsAnalysisCombinedLimit","size":33948,"stargazers_count":16,"watchers_count":16,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":40,"forks":91,"open_issues":40,"watchers":16,"default_branch":"slc6-root5.34.17"}},"_links":{"self":{"href":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/pulls/242"},"html":{"href":"https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit/pull/242"},"issue":{"href":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/issues/242"},"comments":{"href":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/issues/242/comments"},"review_comments":{"href":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/pulls/242/comments"},"review_comment":{"href":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/pulls/242/commits"},"statuses":{"href":"https://api.github.com/repos/cms-analysis/HiggsAnalysis-CombinedLimit/statuses/bfdae199cc9ac05ca6f4e588de6033e5dd6f4986"}}}}