{"action":"created","comment":{"url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/pulls/comments/122910201","pull_request_review_id":45064027,"id":122910201,"diff_hunk":"@@ -335,19 +376,36 @@ void EventDisplay::showData()\n   dataProcessor->nthEvent(fGUIControls->eventNo);\n   drawSelectedStrips();\n   updateProgressBar();\n-  fInputInfo->ChangeText(dataProcessor->getDataInfo().c_str());\n+  fInputInfo->ChangeText(ProcessedData::getInstance().getInfo().c_str());\n+}\n+\n+void EventDisplay::drawSelectedStrips() { visualizator->drawData(); }\n+\n+void EventDisplay::setMaxProgressBar(Int_t maxEvent)\n+{\n+  fProgBar->Format(Form(\"%%.0f/%d events\", maxEvent));\n+  fProgBar->SetRange(0.0f, Float_t(maxEvent));\n }\n \n-void EventDisplay::drawSelectedStrips()\n+void EventDisplay::startVirtualization()\n {\n-  std::map<int, std::vector<int> > selection = dataProcessor->getActiveScintillators();\n-  visualizator->drawStrips(selection);\n-  visualizator->drawDiagram(dataProcessor->getDataForDiagram());\n+  startVirtualizationLoop(10);\n+  // std::thread t(&EventDisplay::startVirtualizationLoop, this, 1);","path":"src/EventDisplay.cpp","position":490,"original_position":490,"commit_id":"f200da3c1a46601fbe8969d6e7a909ec8c3b6be7","original_commit_id":"f200da3c1a46601fbe8969d6e7a909ec8c3b6be7","user":{"login":"wkrzemien","id":11519095,"avatar_url":"https://avatars0.githubusercontent.com/u/11519095?v=3","gravatar_id":"","url":"https://api.github.com/users/wkrzemien","html_url":"https://github.com/wkrzemien","followers_url":"https://api.github.com/users/wkrzemien/followers","following_url":"https://api.github.com/users/wkrzemien/following{/other_user}","gists_url":"https://api.github.com/users/wkrzemien/gists{/gist_id}","starred_url":"https://api.github.com/users/wkrzemien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkrzemien/subscriptions","organizations_url":"https://api.github.com/users/wkrzemien/orgs","repos_url":"https://api.github.com/users/wkrzemien/repos","events_url":"https://api.github.com/users/wkrzemien/events{/privacy}","received_events_url":"https://api.github.com/users/wkrzemien/received_events","type":"User","site_admin":false},"body":"to remove","created_at":"2017-06-20T08:25:23Z","updated_at":"2017-06-20T08:25:23Z","html_url":"https://github.com/JPETTomography/j-pet-event-display/pull/1#discussion_r122910201","pull_request_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/JPETTomography/j-pet-event-display/pulls/comments/122910201"},"html":{"href":"https://github.com/JPETTomography/j-pet-event-display/pull/1#discussion_r122910201"},"pull_request":{"href":"https://api.github.com/repos/JPETTomography/j-pet-event-display/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/pulls/1","id":115087684,"html_url":"https://github.com/JPETTomography/j-pet-event-display/pull/1","diff_url":"https://github.com/JPETTomography/j-pet-event-display/pull/1.diff","patch_url":"https://github.com/JPETTomography/j-pet-event-display/pull/1.patch","issue_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/issues/1","number":1,"state":"open","locked":false,"title":"JPetRawSignal, JPetEvent support","user":{"login":"grey277","id":11210823,"avatar_url":"https://avatars2.githubusercontent.com/u/11210823?v=3","gravatar_id":"","url":"https://api.github.com/users/grey277","html_url":"https://github.com/grey277","followers_url":"https://api.github.com/users/grey277/followers","following_url":"https://api.github.com/users/grey277/following{/other_user}","gists_url":"https://api.github.com/users/grey277/gists{/gist_id}","starred_url":"https://api.github.com/users/grey277/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grey277/subscriptions","organizations_url":"https://api.github.com/users/grey277/orgs","repos_url":"https://api.github.com/users/grey277/repos","events_url":"https://api.github.com/users/grey277/events{/privacy}","received_events_url":"https://api.github.com/users/grey277/received_events","type":"User","site_admin":false},"body":"Add support for JPetRawSignal, JPetEvent, change data structure to singleton, move creating geometry to GeometryVirtualizator, some refactoring of GeometryVirtualization, remove load geometry button(in final version geometry will be loaded from parambank, now geometry is hardcoded in eventdisplay), not working multiple diagrams( Divide on diagram canvas not creating pads )","created_at":"2017-04-10T12:17:55Z","updated_at":"2017-06-20T08:25:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a73335641a5bf9d6dd52e11dacd4f22a0eee277","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/pulls/1/commits","review_comments_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/pulls/1/comments","review_comment_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/issues/1/comments","statuses_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/statuses/f200da3c1a46601fbe8969d6e7a909ec8c3b6be7","head":{"label":"grey277:develop","ref":"develop","sha":"f200da3c1a46601fbe8969d6e7a909ec8c3b6be7","user":{"login":"grey277","id":11210823,"avatar_url":"https://avatars2.githubusercontent.com/u/11210823?v=3","gravatar_id":"","url":"https://api.github.com/users/grey277","html_url":"https://github.com/grey277","followers_url":"https://api.github.com/users/grey277/followers","following_url":"https://api.github.com/users/grey277/following{/other_user}","gists_url":"https://api.github.com/users/grey277/gists{/gist_id}","starred_url":"https://api.github.com/users/grey277/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grey277/subscriptions","organizations_url":"https://api.github.com/users/grey277/orgs","repos_url":"https://api.github.com/users/grey277/repos","events_url":"https://api.github.com/users/grey277/events{/privacy}","received_events_url":"https://api.github.com/users/grey277/received_events","type":"User","site_admin":false},"repo":{"id":87806396,"name":"j-pet-event-display","full_name":"grey277/j-pet-event-display","owner":{"login":"grey277","id":11210823,"avatar_url":"https://avatars2.githubusercontent.com/u/11210823?v=3","gravatar_id":"","url":"https://api.github.com/users/grey277","html_url":"https://github.com/grey277","followers_url":"https://api.github.com/users/grey277/followers","following_url":"https://api.github.com/users/grey277/following{/other_user}","gists_url":"https://api.github.com/users/grey277/gists{/gist_id}","starred_url":"https://api.github.com/users/grey277/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grey277/subscriptions","organizations_url":"https://api.github.com/users/grey277/orgs","repos_url":"https://api.github.com/users/grey277/repos","events_url":"https://api.github.com/users/grey277/events{/privacy}","received_events_url":"https://api.github.com/users/grey277/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/grey277/j-pet-event-display","description":"J-PET Event Display ","fork":true,"url":"https://api.github.com/repos/grey277/j-pet-event-display","forks_url":"https://api.github.com/repos/grey277/j-pet-event-display/forks","keys_url":"https://api.github.com/repos/grey277/j-pet-event-display/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grey277/j-pet-event-display/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grey277/j-pet-event-display/teams","hooks_url":"https://api.github.com/repos/grey277/j-pet-event-display/hooks","issue_events_url":"https://api.github.com/repos/grey277/j-pet-event-display/issues/events{/number}","events_url":"https://api.github.com/repos/grey277/j-pet-event-display/events","assignees_url":"https://api.github.com/repos/grey277/j-pet-event-display/assignees{/user}","branches_url":"https://api.github.com/repos/grey277/j-pet-event-display/branches{/branch}","tags_url":"https://api.github.com/repos/grey277/j-pet-event-display/tags","blobs_url":"https://api.github.com/repos/grey277/j-pet-event-display/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grey277/j-pet-event-display/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grey277/j-pet-event-display/git/refs{/sha}","trees_url":"https://api.github.com/repos/grey277/j-pet-event-display/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grey277/j-pet-event-display/statuses/{sha}","languages_url":"https://api.github.com/repos/grey277/j-pet-event-display/languages","stargazers_url":"https://api.github.com/repos/grey277/j-pet-event-display/stargazers","contributors_url":"https://api.github.com/repos/grey277/j-pet-event-display/contributors","subscribers_url":"https://api.github.com/repos/grey277/j-pet-event-display/subscribers","subscription_url":"https://api.github.com/repos/grey277/j-pet-event-display/subscription","commits_url":"https://api.github.com/repos/grey277/j-pet-event-display/commits{/sha}","git_commits_url":"https://api.github.com/repos/grey277/j-pet-event-display/git/commits{/sha}","comments_url":"https://api.github.com/repos/grey277/j-pet-event-display/comments{/number}","issue_comment_url":"https://api.github.com/repos/grey277/j-pet-event-display/issues/comments{/number}","contents_url":"https://api.github.com/repos/grey277/j-pet-event-display/contents/{+path}","compare_url":"https://api.github.com/repos/grey277/j-pet-event-display/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grey277/j-pet-event-display/merges","archive_url":"https://api.github.com/repos/grey277/j-pet-event-display/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grey277/j-pet-event-display/downloads","issues_url":"https://api.github.com/repos/grey277/j-pet-event-display/issues{/number}","pulls_url":"https://api.github.com/repos/grey277/j-pet-event-display/pulls{/number}","milestones_url":"https://api.github.com/repos/grey277/j-pet-event-display/milestones{/number}","notifications_url":"https://api.github.com/repos/grey277/j-pet-event-display/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grey277/j-pet-event-display/labels{/name}","releases_url":"https://api.github.com/repos/grey277/j-pet-event-display/releases{/id}","deployments_url":"https://api.github.com/repos/grey277/j-pet-event-display/deployments","created_at":"2017-04-10T12:08:38Z","updated_at":"2017-04-10T12:08:40Z","pushed_at":"2017-06-16T16:50:33Z","git_url":"git://github.com/grey277/j-pet-event-display.git","ssh_url":"git@github.com:grey277/j-pet-event-display.git","clone_url":"https://github.com/grey277/j-pet-event-display.git","svn_url":"https://github.com/grey277/j-pet-event-display","homepage":null,"size":152,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"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":"master"}},"base":{"label":"JPETTomography:develop","ref":"develop","sha":"d83cea9f3ee33411ccd6c97342fe4c6c1eaa7b6d","user":{"login":"JPETTomography","id":19532701,"avatar_url":"https://avatars3.githubusercontent.com/u/19532701?v=3","gravatar_id":"","url":"https://api.github.com/users/JPETTomography","html_url":"https://github.com/JPETTomography","followers_url":"https://api.github.com/users/JPETTomography/followers","following_url":"https://api.github.com/users/JPETTomography/following{/other_user}","gists_url":"https://api.github.com/users/JPETTomography/gists{/gist_id}","starred_url":"https://api.github.com/users/JPETTomography/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPETTomography/subscriptions","organizations_url":"https://api.github.com/users/JPETTomography/orgs","repos_url":"https://api.github.com/users/JPETTomography/repos","events_url":"https://api.github.com/users/JPETTomography/events{/privacy}","received_events_url":"https://api.github.com/users/JPETTomography/received_events","type":"Organization","site_admin":false},"repo":{"id":85884415,"name":"j-pet-event-display","full_name":"JPETTomography/j-pet-event-display","owner":{"login":"JPETTomography","id":19532701,"avatar_url":"https://avatars3.githubusercontent.com/u/19532701?v=3","gravatar_id":"","url":"https://api.github.com/users/JPETTomography","html_url":"https://github.com/JPETTomography","followers_url":"https://api.github.com/users/JPETTomography/followers","following_url":"https://api.github.com/users/JPETTomography/following{/other_user}","gists_url":"https://api.github.com/users/JPETTomography/gists{/gist_id}","starred_url":"https://api.github.com/users/JPETTomography/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPETTomography/subscriptions","organizations_url":"https://api.github.com/users/JPETTomography/orgs","repos_url":"https://api.github.com/users/JPETTomography/repos","events_url":"https://api.github.com/users/JPETTomography/events{/privacy}","received_events_url":"https://api.github.com/users/JPETTomography/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JPETTomography/j-pet-event-display","description":"J-PET Event Display ","fork":true,"url":"https://api.github.com/repos/JPETTomography/j-pet-event-display","forks_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/forks","keys_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/teams","hooks_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/hooks","issue_events_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/issues/events{/number}","events_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/events","assignees_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/assignees{/user}","branches_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/branches{/branch}","tags_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/tags","blobs_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/git/refs{/sha}","trees_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/statuses/{sha}","languages_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/languages","stargazers_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/stargazers","contributors_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/contributors","subscribers_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/subscribers","subscription_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/subscription","commits_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/commits{/sha}","git_commits_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/git/commits{/sha}","comments_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/comments{/number}","issue_comment_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/issues/comments{/number}","contents_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/contents/{+path}","compare_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/merges","archive_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/downloads","issues_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/issues{/number}","pulls_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/pulls{/number}","milestones_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/milestones{/number}","notifications_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/labels{/name}","releases_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/releases{/id}","deployments_url":"https://api.github.com/repos/JPETTomography/j-pet-event-display/deployments","created_at":"2017-03-22T22:59:41Z","updated_at":"2017-03-22T22:59:42Z","pushed_at":"2017-06-16T16:50:35Z","git_url":"git://github.com/JPETTomography/j-pet-event-display.git","ssh_url":"git@github.com:JPETTomography/j-pet-event-display.git","clone_url":"https://github.com/JPETTomography/j-pet-event-display.git","svn_url":"https://github.com/JPETTomography/j-pet-event-display","homepage":null,"size":122,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JPETTomography/j-pet-event-display/pulls/1"},"html":{"href":"https://github.com/JPETTomography/j-pet-event-display/pull/1"},"issue":{"href":"https://api.github.com/repos/JPETTomography/j-pet-event-display/issues/1"},"comments":{"href":"https://api.github.com/repos/JPETTomography/j-pet-event-display/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/JPETTomography/j-pet-event-display/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/JPETTomography/j-pet-event-display/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JPETTomography/j-pet-event-display/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/JPETTomography/j-pet-event-display/statuses/f200da3c1a46601fbe8969d6e7a909ec8c3b6be7"}}}}
{"actor":{"display_login":"wkrzemien"}}