{"action":"created","comment":{"url":"https://api.github.com/repos/cms-sw/cmssw/pulls/comments/66422363","id":66422363,"diff_hunk":"@@ -134,8 +134,15 @@ Onia2MuMuPAT::produce(edm::Event& iEvent, const edm::EventSetup& iSetup)\n \tTransientVertex myVertex = vtxFitter.vertex(t_tks);\n \n \tCachingVertex<5> VtxForInvMass = vtxFitter.vertex( t_tks );\n-\tMeasurement1D MassWErr = massCalculator.invariantMass( VtxForInvMass, muMasses );\n-\t\n+\n+        Measurement1D MassWErr(jpsi.M(),-9999.);","path":"HeavyFlavorAnalysis/Onia2MuMu/src/Onia2MuMuPAT.cc","position":7,"original_position":7,"commit_id":"b66fb8c1a45a5b3a31035f270d5b2873e78d7d25","original_commit_id":"b66fb8c1a45a5b3a31035f270d5b2873e78d7d25","user":{"login":"davidlange6","id":5042883,"avatar_url":"https://avatars.githubusercontent.com/u/5042883?v=3","gravatar_id":"","url":"https://api.github.com/users/davidlange6","html_url":"https://github.com/davidlange6","followers_url":"https://api.github.com/users/davidlange6/followers","following_url":"https://api.github.com/users/davidlange6/following{/other_user}","gists_url":"https://api.github.com/users/davidlange6/gists{/gist_id}","starred_url":"https://api.github.com/users/davidlange6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidlange6/subscriptions","organizations_url":"https://api.github.com/users/davidlange6/orgs","repos_url":"https://api.github.com/users/davidlange6/repos","events_url":"https://api.github.com/users/davidlange6/events{/privacy}","received_events_url":"https://api.github.com/users/davidlange6/received_events","type":"User","site_admin":false},"body":"instead of try-catch - please just check the field value directly\r\n@alberto-sanchez ","created_at":"2016-06-09T11:11:53Z","updated_at":"2016-06-09T11:11:53Z","html_url":"https://github.com/cms-sw/cmssw/pull/14809#discussion_r66422363","pull_request_url":"https://api.github.com/repos/cms-sw/cmssw/pulls/14809","_links":{"self":{"href":"https://api.github.com/repos/cms-sw/cmssw/pulls/comments/66422363"},"html":{"href":"https://github.com/cms-sw/cmssw/pull/14809#discussion_r66422363"},"pull_request":{"href":"https://api.github.com/repos/cms-sw/cmssw/pulls/14809"}}},"pull_request":{"url":"https://api.github.com/repos/cms-sw/cmssw/pulls/14809","id":72972445,"html_url":"https://github.com/cms-sw/cmssw/pull/14809","diff_url":"https://github.com/cms-sw/cmssw/pull/14809.diff","patch_url":"https://github.com/cms-sw/cmssw/pull/14809.patch","issue_url":"https://api.github.com/repos/cms-sw/cmssw/issues/14809","number":14809,"state":"open","locked":false,"title":"protecting the flow when field is 0","user":{"login":"alberto-sanchez","id":2746280,"avatar_url":"https://avatars.githubusercontent.com/u/2746280?v=3","gravatar_id":"","url":"https://api.github.com/users/alberto-sanchez","html_url":"https://github.com/alberto-sanchez","followers_url":"https://api.github.com/users/alberto-sanchez/followers","following_url":"https://api.github.com/users/alberto-sanchez/following{/other_user}","gists_url":"https://api.github.com/users/alberto-sanchez/gists{/gist_id}","starred_url":"https://api.github.com/users/alberto-sanchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alberto-sanchez/subscriptions","organizations_url":"https://api.github.com/users/alberto-sanchez/orgs","repos_url":"https://api.github.com/users/alberto-sanchez/repos","events_url":"https://api.github.com/users/alberto-sanchez/events{/privacy}","received_events_url":"https://api.github.com/users/alberto-sanchez/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-08T01:00:19Z","updated_at":"2016-06-09T11:11:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee43af4ed610a7ffa8351b3403cd102ea6376f2a","assignee":null,"milestone":{"url":"https://api.github.com/repos/cms-sw/cmssw/milestones/59","html_url":"https://github.com/cms-sw/cmssw/milestones/Next%20CMSSW_8_1_X","labels_url":"https://api.github.com/repos/cms-sw/cmssw/milestones/59/labels","id":1590252,"number":59,"title":"Next CMSSW_8_1_X","description":null,"creator":{"login":"smuzaffar","id":4115138,"avatar_url":"https://avatars.githubusercontent.com/u/4115138?v=3","gravatar_id":"","url":"https://api.github.com/users/smuzaffar","html_url":"https://github.com/smuzaffar","followers_url":"https://api.github.com/users/smuzaffar/followers","following_url":"https://api.github.com/users/smuzaffar/following{/other_user}","gists_url":"https://api.github.com/users/smuzaffar/gists{/gist_id}","starred_url":"https://api.github.com/users/smuzaffar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smuzaffar/subscriptions","organizations_url":"https://api.github.com/users/smuzaffar/orgs","repos_url":"https://api.github.com/users/smuzaffar/repos","events_url":"https://api.github.com/users/smuzaffar/events{/privacy}","received_events_url":"https://api.github.com/users/smuzaffar/received_events","type":"User","site_admin":false},"open_issues":58,"closed_issues":788,"state":"open","created_at":"2016-02-18T09:12:12Z","updated_at":"2016-06-09T10:48:57Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/cms-sw/cmssw/pulls/14809/commits","review_comments_url":"https://api.github.com/repos/cms-sw/cmssw/pulls/14809/comments","review_comment_url":"https://api.github.com/repos/cms-sw/cmssw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cms-sw/cmssw/issues/14809/comments","statuses_url":"https://api.github.com/repos/cms-sw/cmssw/statuses/b66fb8c1a45a5b3a31035f270d5b2873e78d7d25","head":{"label":"alberto-sanchez:o2mm-field0-81x","ref":"o2mm-field0-81x","sha":"b66fb8c1a45a5b3a31035f270d5b2873e78d7d25","user":{"login":"alberto-sanchez","id":2746280,"avatar_url":"https://avatars.githubusercontent.com/u/2746280?v=3","gravatar_id":"","url":"https://api.github.com/users/alberto-sanchez","html_url":"https://github.com/alberto-sanchez","followers_url":"https://api.github.com/users/alberto-sanchez/followers","following_url":"https://api.github.com/users/alberto-sanchez/following{/other_user}","gists_url":"https://api.github.com/users/alberto-sanchez/gists{/gist_id}","starred_url":"https://api.github.com/users/alberto-sanchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alberto-sanchez/subscriptions","organizations_url":"https://api.github.com/users/alberto-sanchez/orgs","repos_url":"https://api.github.com/users/alberto-sanchez/repos","events_url":"https://api.github.com/users/alberto-sanchez/events{/privacy}","received_events_url":"https://api.github.com/users/alberto-sanchez/received_events","type":"User","site_admin":false},"repo":{"id":35117279,"name":"cmssw","full_name":"alberto-sanchez/cmssw","owner":{"login":"alberto-sanchez","id":2746280,"avatar_url":"https://avatars.githubusercontent.com/u/2746280?v=3","gravatar_id":"","url":"https://api.github.com/users/alberto-sanchez","html_url":"https://github.com/alberto-sanchez","followers_url":"https://api.github.com/users/alberto-sanchez/followers","following_url":"https://api.github.com/users/alberto-sanchez/following{/other_user}","gists_url":"https://api.github.com/users/alberto-sanchez/gists{/gist_id}","starred_url":"https://api.github.com/users/alberto-sanchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alberto-sanchez/subscriptions","organizations_url":"https://api.github.com/users/alberto-sanchez/orgs","repos_url":"https://api.github.com/users/alberto-sanchez/repos","events_url":"https://api.github.com/users/alberto-sanchez/events{/privacy}","received_events_url":"https://api.github.com/users/alberto-sanchez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alberto-sanchez/cmssw","description":"CMS Offline Software","fork":true,"url":"https://api.github.com/repos/alberto-sanchez/cmssw","forks_url":"https://api.github.com/repos/alberto-sanchez/cmssw/forks","keys_url":"https://api.github.com/repos/alberto-sanchez/cmssw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alberto-sanchez/cmssw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alberto-sanchez/cmssw/teams","hooks_url":"https://api.github.com/repos/alberto-sanchez/cmssw/hooks","issue_events_url":"https://api.github.com/repos/alberto-sanchez/cmssw/issues/events{/number}","events_url":"https://api.github.com/repos/alberto-sanchez/cmssw/events","assignees_url":"https://api.github.com/repos/alberto-sanchez/cmssw/assignees{/user}","branches_url":"https://api.github.com/repos/alberto-sanchez/cmssw/branches{/branch}","tags_url":"https://api.github.com/repos/alberto-sanchez/cmssw/tags","blobs_url":"https://api.github.com/repos/alberto-sanchez/cmssw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alberto-sanchez/cmssw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alberto-sanchez/cmssw/git/refs{/sha}","trees_url":"https://api.github.com/repos/alberto-sanchez/cmssw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alberto-sanchez/cmssw/statuses/{sha}","languages_url":"https://api.github.com/repos/alberto-sanchez/cmssw/languages","stargazers_url":"https://api.github.com/repos/alberto-sanchez/cmssw/stargazers","contributors_url":"https://api.github.com/repos/alberto-sanchez/cmssw/contributors","subscribers_url":"https://api.github.com/repos/alberto-sanchez/cmssw/subscribers","subscription_url":"https://api.github.com/repos/alberto-sanchez/cmssw/subscription","commits_url":"https://api.github.com/repos/alberto-sanchez/cmssw/commits{/sha}","git_commits_url":"https://api.github.com/repos/alberto-sanchez/cmssw/git/commits{/sha}","comments_url":"https://api.github.com/repos/alberto-sanchez/cmssw/comments{/number}","issue_comment_url":"https://api.github.com/repos/alberto-sanchez/cmssw/issues/comments{/number}","contents_url":"https://api.github.com/repos/alberto-sanchez/cmssw/contents/{+path}","compare_url":"https://api.github.com/repos/alberto-sanchez/cmssw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alberto-sanchez/cmssw/merges","archive_url":"https://api.github.com/repos/alberto-sanchez/cmssw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alberto-sanchez/cmssw/downloads","issues_url":"https://api.github.com/repos/alberto-sanchez/cmssw/issues{/number}","pulls_url":"https://api.github.com/repos/alberto-sanchez/cmssw/pulls{/number}","milestones_url":"https://api.github.com/repos/alberto-sanchez/cmssw/milestones{/number}","notifications_url":"https://api.github.com/repos/alberto-sanchez/cmssw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alberto-sanchez/cmssw/labels{/name}","releases_url":"https://api.github.com/repos/alberto-sanchez/cmssw/releases{/id}","deployments_url":"https://api.github.com/repos/alberto-sanchez/cmssw/deployments","created_at":"2015-05-05T18:38:26Z","updated_at":"2016-02-11T18:19:04Z","pushed_at":"2016-06-07T04:01:05Z","git_url":"git://github.com/alberto-sanchez/cmssw.git","ssh_url":"git@github.com:alberto-sanchez/cmssw.git","clone_url":"https://github.com/alberto-sanchez/cmssw.git","svn_url":"https://github.com/alberto-sanchez/cmssw","homepage":"http://cms-sw.github.io/","size":886905,"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":"CMSSW_8_0_X"}},"base":{"label":"cms-sw:CMSSW_8_1_X","ref":"CMSSW_8_1_X","sha":"a7cbb033e16362ad00a0a5cdd8448c31cac6bae3","user":{"login":"cms-sw","id":3863500,"avatar_url":"https://avatars.githubusercontent.com/u/3863500?v=3","gravatar_id":"","url":"https://api.github.com/users/cms-sw","html_url":"https://github.com/cms-sw","followers_url":"https://api.github.com/users/cms-sw/followers","following_url":"https://api.github.com/users/cms-sw/following{/other_user}","gists_url":"https://api.github.com/users/cms-sw/gists{/gist_id}","starred_url":"https://api.github.com/users/cms-sw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cms-sw/subscriptions","organizations_url":"https://api.github.com/users/cms-sw/orgs","repos_url":"https://api.github.com/users/cms-sw/repos","events_url":"https://api.github.com/users/cms-sw/events{/privacy}","received_events_url":"https://api.github.com/users/cms-sw/received_events","type":"Organization","site_admin":false},"repo":{"id":10969551,"name":"cmssw","full_name":"cms-sw/cmssw","owner":{"login":"cms-sw","id":3863500,"avatar_url":"https://avatars.githubusercontent.com/u/3863500?v=3","gravatar_id":"","url":"https://api.github.com/users/cms-sw","html_url":"https://github.com/cms-sw","followers_url":"https://api.github.com/users/cms-sw/followers","following_url":"https://api.github.com/users/cms-sw/following{/other_user}","gists_url":"https://api.github.com/users/cms-sw/gists{/gist_id}","starred_url":"https://api.github.com/users/cms-sw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cms-sw/subscriptions","organizations_url":"https://api.github.com/users/cms-sw/orgs","repos_url":"https://api.github.com/users/cms-sw/repos","events_url":"https://api.github.com/users/cms-sw/events{/privacy}","received_events_url":"https://api.github.com/users/cms-sw/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cms-sw/cmssw","description":"CMS Offline Software","fork":false,"url":"https://api.github.com/repos/cms-sw/cmssw","forks_url":"https://api.github.com/repos/cms-sw/cmssw/forks","keys_url":"https://api.github.com/repos/cms-sw/cmssw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cms-sw/cmssw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cms-sw/cmssw/teams","hooks_url":"https://api.github.com/repos/cms-sw/cmssw/hooks","issue_events_url":"https://api.github.com/repos/cms-sw/cmssw/issues/events{/number}","events_url":"https://api.github.com/repos/cms-sw/cmssw/events","assignees_url":"https://api.github.com/repos/cms-sw/cmssw/assignees{/user}","branches_url":"https://api.github.com/repos/cms-sw/cmssw/branches{/branch}","tags_url":"https://api.github.com/repos/cms-sw/cmssw/tags","blobs_url":"https://api.github.com/repos/cms-sw/cmssw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cms-sw/cmssw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cms-sw/cmssw/git/refs{/sha}","trees_url":"https://api.github.com/repos/cms-sw/cmssw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cms-sw/cmssw/statuses/{sha}","languages_url":"https://api.github.com/repos/cms-sw/cmssw/languages","stargazers_url":"https://api.github.com/repos/cms-sw/cmssw/stargazers","contributors_url":"https://api.github.com/repos/cms-sw/cmssw/contributors","subscribers_url":"https://api.github.com/repos/cms-sw/cmssw/subscribers","subscription_url":"https://api.github.com/repos/cms-sw/cmssw/subscription","commits_url":"https://api.github.com/repos/cms-sw/cmssw/commits{/sha}","git_commits_url":"https://api.github.com/repos/cms-sw/cmssw/git/commits{/sha}","comments_url":"https://api.github.com/repos/cms-sw/cmssw/comments{/number}","issue_comment_url":"https://api.github.com/repos/cms-sw/cmssw/issues/comments{/number}","contents_url":"https://api.github.com/repos/cms-sw/cmssw/contents/{+path}","compare_url":"https://api.github.com/repos/cms-sw/cmssw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cms-sw/cmssw/merges","archive_url":"https://api.github.com/repos/cms-sw/cmssw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cms-sw/cmssw/downloads","issues_url":"https://api.github.com/repos/cms-sw/cmssw/issues{/number}","pulls_url":"https://api.github.com/repos/cms-sw/cmssw/pulls{/number}","milestones_url":"https://api.github.com/repos/cms-sw/cmssw/milestones{/number}","notifications_url":"https://api.github.com/repos/cms-sw/cmssw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cms-sw/cmssw/labels{/name}","releases_url":"https://api.github.com/repos/cms-sw/cmssw/releases{/id}","deployments_url":"https://api.github.com/repos/cms-sw/cmssw/deployments","created_at":"2013-06-26T14:09:07Z","updated_at":"2016-06-06T22:07:05Z","pushed_at":"2016-06-09T10:48:18Z","git_url":"git://github.com/cms-sw/cmssw.git","ssh_url":"git@github.com:cms-sw/cmssw.git","clone_url":"https://github.com/cms-sw/cmssw.git","svn_url":"https://github.com/cms-sw/cmssw","homepage":"http://cms-sw.github.io/","size":1091274,"stargazers_count":311,"watchers_count":311,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1850,"mirror_url":null,"open_issues_count":334,"forks":1850,"open_issues":334,"watchers":311,"default_branch":"CMSSW_8_1_X"}},"_links":{"self":{"href":"https://api.github.com/repos/cms-sw/cmssw/pulls/14809"},"html":{"href":"https://github.com/cms-sw/cmssw/pull/14809"},"issue":{"href":"https://api.github.com/repos/cms-sw/cmssw/issues/14809"},"comments":{"href":"https://api.github.com/repos/cms-sw/cmssw/issues/14809/comments"},"review_comments":{"href":"https://api.github.com/repos/cms-sw/cmssw/pulls/14809/comments"},"review_comment":{"href":"https://api.github.com/repos/cms-sw/cmssw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cms-sw/cmssw/pulls/14809/commits"},"statuses":{"href":"https://api.github.com/repos/cms-sw/cmssw/statuses/b66fb8c1a45a5b3a31035f270d5b2873e78d7d25"}}}}
{"actor":{"display_login":"davidlange6"}}