{"action":"created","comment":{"url":"https://api.github.com/repos/HEP-FCC/FCCSW/pulls/comments/123248850","pull_request_review_id":45432674,"id":123248850,"diff_hunk":"@@ -0,0 +1,43 @@\n+#ifndef SIM_PAPASPFRECONSTRUCTOR_H\n+#define SIM_PAPASPFRECONSTRUCTOR_H\n+\n+// Gaudi\n+#include \"GaudiAlg/GaudiTool.h\"\n+// FCCSW\n+#include \"FWCore/DataHandle.h\"\n+#include \"SimPapas/IPapasTool.h\"\n+// PAPAS\n+#include \"papas/datatypes/DefinitionsCollections.h\"\n+#include \"papas/datatypes/Particle.h\"\n+\n+#include <string>\n+/** @class PapasPFReconstructorTool Sim/SimPapas/src/PapasPFReconstructorTool.h PapasPFReconstructorTool.h\n+ *\n+ *  Runs the papas particle reconstruction algorithm which takes existing particle flow blocks\n+ *  of tracks and clusters\n+ *  that are linked, and reconstructs particles from these blocks.\n+ *  The reconstructed particles are returned to the papasevent.\n+ *  @author A.J. Robson\n+ */\n+class PapasPFReconstructorTool : public GaudiTool, virtual public IPapasTool {\n+public:\n+  /// Constructor.\n+  PapasPFReconstructorTool(const std::string& aType, const std::string& aName, const IInterface* aParent);\n+  /// Initialize.\n+  virtual StatusCode initialize();\n+  /// Structures\n+  StatusCode createOutputStructures() { return SUCCESS; };\n+  /// empty class structures\n+  virtual StatusCode clear();\n+  /// Execute:\n+  virtual StatusCode run(papas::Event& pevent) final;\n+  /// Finalize.\n+  virtual StatusCode finalize();\n+\n+private:\n+  papas::Particles m_rec_particles;\n+  Gaudi::Property<std::string> m_blockSubtype{this, \"blockSubtype\", \"\", \"block subtype\"};\n+  ///<Block type to use in reconstruction eg 's' for split blocks","path":"Sim/SimPapas/src/PapasPFReconstructorTool.h","position":40,"original_position":40,"commit_id":"272bd23f51be8b1a3205121efe7056864690efdb","original_commit_id":"272bd23f51be8b1a3205121efe7056864690efdb","user":{"login":"alicerobson","id":14326746,"avatar_url":"https://avatars0.githubusercontent.com/u/14326746?v=3","gravatar_id":"","url":"https://api.github.com/users/alicerobson","html_url":"https://github.com/alicerobson","followers_url":"https://api.github.com/users/alicerobson/followers","following_url":"https://api.github.com/users/alicerobson/following{/other_user}","gists_url":"https://api.github.com/users/alicerobson/gists{/gist_id}","starred_url":"https://api.github.com/users/alicerobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alicerobson/subscriptions","organizations_url":"https://api.github.com/users/alicerobson/orgs","repos_url":"https://api.github.com/users/alicerobson/repos","events_url":"https://api.github.com/users/alicerobson/events{/privacy}","received_events_url":"https://api.github.com/users/alicerobson/received_events","type":"User","site_admin":false},"body":"Yes, sorry. An oversight.","created_at":"2017-06-21T13:33:04Z","updated_at":"2017-06-21T13:33:04Z","html_url":"https://github.com/HEP-FCC/FCCSW/pull/216#discussion_r123248850","pull_request_url":"https://api.github.com/repos/HEP-FCC/FCCSW/pulls/216","_links":{"self":{"href":"https://api.github.com/repos/HEP-FCC/FCCSW/pulls/comments/123248850"},"html":{"href":"https://github.com/HEP-FCC/FCCSW/pull/216#discussion_r123248850"},"pull_request":{"href":"https://api.github.com/repos/HEP-FCC/FCCSW/pulls/216"}}},"pull_request":{"url":"https://api.github.com/repos/HEP-FCC/FCCSW/pulls/216","id":126268367,"html_url":"https://github.com/HEP-FCC/FCCSW/pull/216","diff_url":"https://github.com/HEP-FCC/FCCSW/pull/216.diff","patch_url":"https://github.com/HEP-FCC/FCCSW/pull/216.patch","issue_url":"https://api.github.com/repos/HEP-FCC/FCCSW/issues/216","number":216,"state":"open","locked":false,"title":"Papas0.8.1","user":{"login":"alicerobson","id":14326746,"avatar_url":"https://avatars0.githubusercontent.com/u/14326746?v=3","gravatar_id":"","url":"https://api.github.com/users/alicerobson","html_url":"https://github.com/alicerobson","followers_url":"https://api.github.com/users/alicerobson/followers","following_url":"https://api.github.com/users/alicerobson/following{/other_user}","gists_url":"https://api.github.com/users/alicerobson/gists{/gist_id}","starred_url":"https://api.github.com/users/alicerobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alicerobson/subscriptions","organizations_url":"https://api.github.com/users/alicerobson/orgs","repos_url":"https://api.github.com/users/alicerobson/repos","events_url":"https://api.github.com/users/alicerobson/events{/privacy}","received_events_url":"https://api.github.com/users/alicerobson/received_events","type":"User","site_admin":false},"body":"Initial implementation of Papas Interface to Gaudi.\r\n\r\nSome documentation can be found here\r\nhttps://github.com/alicerobson/FCCSW/blob/papas0.8.1/Sim/doc/FastSimulationUsingPapas.md\r\n\r\nInstructions for installing Papas Library and running example are here:\r\nhttps://github.com/alicerobson/FCCSW/blob/papas0.8.1/Sim/SimPapas/doc/PapasInstructions.md\r\nPlease use Tag v1.0\r\n\r\nThis is a initial implementation  which allows the papas CMS detector to be used to simulate and reconstruct particles. The annotated example python configuration takes generated particles and produced reconstructed particles in a root file:-\r\nhttps://github.com/alicerobson/FCCSW/blob/papas0.8.1/Sim/SimPapas/options/simple_papastool.py\r\n\r\nLater releases will allow detector parameterisation, saving of intermediate papas structures and histories, and guidelines for creating a new detector.\r\n","created_at":"2017-06-19T10:16:00Z","updated_at":"2017-06-21T13:33:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"965a580221307ba07b3e45ac50ca7096be69983a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/HEP-FCC/FCCSW/pulls/216/commits","review_comments_url":"https://api.github.com/repos/HEP-FCC/FCCSW/pulls/216/comments","review_comment_url":"https://api.github.com/repos/HEP-FCC/FCCSW/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HEP-FCC/FCCSW/issues/216/comments","statuses_url":"https://api.github.com/repos/HEP-FCC/FCCSW/statuses/272bd23f51be8b1a3205121efe7056864690efdb","head":{"label":"alicerobson:papas0.8.1","ref":"papas0.8.1","sha":"272bd23f51be8b1a3205121efe7056864690efdb","user":{"login":"alicerobson","id":14326746,"avatar_url":"https://avatars0.githubusercontent.com/u/14326746?v=3","gravatar_id":"","url":"https://api.github.com/users/alicerobson","html_url":"https://github.com/alicerobson","followers_url":"https://api.github.com/users/alicerobson/followers","following_url":"https://api.github.com/users/alicerobson/following{/other_user}","gists_url":"https://api.github.com/users/alicerobson/gists{/gist_id}","starred_url":"https://api.github.com/users/alicerobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alicerobson/subscriptions","organizations_url":"https://api.github.com/users/alicerobson/orgs","repos_url":"https://api.github.com/users/alicerobson/repos","events_url":"https://api.github.com/users/alicerobson/events{/privacy}","received_events_url":"https://api.github.com/users/alicerobson/received_events","type":"User","site_admin":false},"repo":{"id":42643942,"name":"FCCSW","full_name":"alicerobson/FCCSW","owner":{"login":"alicerobson","id":14326746,"avatar_url":"https://avatars0.githubusercontent.com/u/14326746?v=3","gravatar_id":"","url":"https://api.github.com/users/alicerobson","html_url":"https://github.com/alicerobson","followers_url":"https://api.github.com/users/alicerobson/followers","following_url":"https://api.github.com/users/alicerobson/following{/other_user}","gists_url":"https://api.github.com/users/alicerobson/gists{/gist_id}","starred_url":"https://api.github.com/users/alicerobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alicerobson/subscriptions","organizations_url":"https://api.github.com/users/alicerobson/orgs","repos_url":"https://api.github.com/users/alicerobson/repos","events_url":"https://api.github.com/users/alicerobson/events{/privacy}","received_events_url":"https://api.github.com/users/alicerobson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alicerobson/FCCSW","description":"FCC software, common to FCC-hh, -ee, and -eh.","fork":true,"url":"https://api.github.com/repos/alicerobson/FCCSW","forks_url":"https://api.github.com/repos/alicerobson/FCCSW/forks","keys_url":"https://api.github.com/repos/alicerobson/FCCSW/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alicerobson/FCCSW/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alicerobson/FCCSW/teams","hooks_url":"https://api.github.com/repos/alicerobson/FCCSW/hooks","issue_events_url":"https://api.github.com/repos/alicerobson/FCCSW/issues/events{/number}","events_url":"https://api.github.com/repos/alicerobson/FCCSW/events","assignees_url":"https://api.github.com/repos/alicerobson/FCCSW/assignees{/user}","branches_url":"https://api.github.com/repos/alicerobson/FCCSW/branches{/branch}","tags_url":"https://api.github.com/repos/alicerobson/FCCSW/tags","blobs_url":"https://api.github.com/repos/alicerobson/FCCSW/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alicerobson/FCCSW/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alicerobson/FCCSW/git/refs{/sha}","trees_url":"https://api.github.com/repos/alicerobson/FCCSW/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alicerobson/FCCSW/statuses/{sha}","languages_url":"https://api.github.com/repos/alicerobson/FCCSW/languages","stargazers_url":"https://api.github.com/repos/alicerobson/FCCSW/stargazers","contributors_url":"https://api.github.com/repos/alicerobson/FCCSW/contributors","subscribers_url":"https://api.github.com/repos/alicerobson/FCCSW/subscribers","subscription_url":"https://api.github.com/repos/alicerobson/FCCSW/subscription","commits_url":"https://api.github.com/repos/alicerobson/FCCSW/commits{/sha}","git_commits_url":"https://api.github.com/repos/alicerobson/FCCSW/git/commits{/sha}","comments_url":"https://api.github.com/repos/alicerobson/FCCSW/comments{/number}","issue_comment_url":"https://api.github.com/repos/alicerobson/FCCSW/issues/comments{/number}","contents_url":"https://api.github.com/repos/alicerobson/FCCSW/contents/{+path}","compare_url":"https://api.github.com/repos/alicerobson/FCCSW/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alicerobson/FCCSW/merges","archive_url":"https://api.github.com/repos/alicerobson/FCCSW/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alicerobson/FCCSW/downloads","issues_url":"https://api.github.com/repos/alicerobson/FCCSW/issues{/number}","pulls_url":"https://api.github.com/repos/alicerobson/FCCSW/pulls{/number}","milestones_url":"https://api.github.com/repos/alicerobson/FCCSW/milestones{/number}","notifications_url":"https://api.github.com/repos/alicerobson/FCCSW/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alicerobson/FCCSW/labels{/name}","releases_url":"https://api.github.com/repos/alicerobson/FCCSW/releases{/id}","deployments_url":"https://api.github.com/repos/alicerobson/FCCSW/deployments","created_at":"2015-09-17T08:15:58Z","updated_at":"2016-02-16T08:26:42Z","pushed_at":"2017-06-20T07:26:26Z","git_url":"git://github.com/alicerobson/FCCSW.git","ssh_url":"git@github.com:alicerobson/FCCSW.git","clone_url":"https://github.com/alicerobson/FCCSW.git","svn_url":"https://github.com/alicerobson/FCCSW","homepage":null,"size":175356,"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":"HEP-FCC:master","ref":"master","sha":"f69ebdbf1651d74316d7f5c176c5a40051dd57de","user":{"login":"HEP-FCC","id":8003187,"avatar_url":"https://avatars3.githubusercontent.com/u/8003187?v=3","gravatar_id":"","url":"https://api.github.com/users/HEP-FCC","html_url":"https://github.com/HEP-FCC","followers_url":"https://api.github.com/users/HEP-FCC/followers","following_url":"https://api.github.com/users/HEP-FCC/following{/other_user}","gists_url":"https://api.github.com/users/HEP-FCC/gists{/gist_id}","starred_url":"https://api.github.com/users/HEP-FCC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HEP-FCC/subscriptions","organizations_url":"https://api.github.com/users/HEP-FCC/orgs","repos_url":"https://api.github.com/users/HEP-FCC/repos","events_url":"https://api.github.com/users/HEP-FCC/events{/privacy}","received_events_url":"https://api.github.com/users/HEP-FCC/received_events","type":"Organization","site_admin":false},"repo":{"id":21388221,"name":"FCCSW","full_name":"HEP-FCC/FCCSW","owner":{"login":"HEP-FCC","id":8003187,"avatar_url":"https://avatars3.githubusercontent.com/u/8003187?v=3","gravatar_id":"","url":"https://api.github.com/users/HEP-FCC","html_url":"https://github.com/HEP-FCC","followers_url":"https://api.github.com/users/HEP-FCC/followers","following_url":"https://api.github.com/users/HEP-FCC/following{/other_user}","gists_url":"https://api.github.com/users/HEP-FCC/gists{/gist_id}","starred_url":"https://api.github.com/users/HEP-FCC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HEP-FCC/subscriptions","organizations_url":"https://api.github.com/users/HEP-FCC/orgs","repos_url":"https://api.github.com/users/HEP-FCC/repos","events_url":"https://api.github.com/users/HEP-FCC/events{/privacy}","received_events_url":"https://api.github.com/users/HEP-FCC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HEP-FCC/FCCSW","description":"FCC software, common to FCC-hh, -ee, and -eh.","fork":false,"url":"https://api.github.com/repos/HEP-FCC/FCCSW","forks_url":"https://api.github.com/repos/HEP-FCC/FCCSW/forks","keys_url":"https://api.github.com/repos/HEP-FCC/FCCSW/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HEP-FCC/FCCSW/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HEP-FCC/FCCSW/teams","hooks_url":"https://api.github.com/repos/HEP-FCC/FCCSW/hooks","issue_events_url":"https://api.github.com/repos/HEP-FCC/FCCSW/issues/events{/number}","events_url":"https://api.github.com/repos/HEP-FCC/FCCSW/events","assignees_url":"https://api.github.com/repos/HEP-FCC/FCCSW/assignees{/user}","branches_url":"https://api.github.com/repos/HEP-FCC/FCCSW/branches{/branch}","tags_url":"https://api.github.com/repos/HEP-FCC/FCCSW/tags","blobs_url":"https://api.github.com/repos/HEP-FCC/FCCSW/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HEP-FCC/FCCSW/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HEP-FCC/FCCSW/git/refs{/sha}","trees_url":"https://api.github.com/repos/HEP-FCC/FCCSW/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HEP-FCC/FCCSW/statuses/{sha}","languages_url":"https://api.github.com/repos/HEP-FCC/FCCSW/languages","stargazers_url":"https://api.github.com/repos/HEP-FCC/FCCSW/stargazers","contributors_url":"https://api.github.com/repos/HEP-FCC/FCCSW/contributors","subscribers_url":"https://api.github.com/repos/HEP-FCC/FCCSW/subscribers","subscription_url":"https://api.github.com/repos/HEP-FCC/FCCSW/subscription","commits_url":"https://api.github.com/repos/HEP-FCC/FCCSW/commits{/sha}","git_commits_url":"https://api.github.com/repos/HEP-FCC/FCCSW/git/commits{/sha}","comments_url":"https://api.github.com/repos/HEP-FCC/FCCSW/comments{/number}","issue_comment_url":"https://api.github.com/repos/HEP-FCC/FCCSW/issues/comments{/number}","contents_url":"https://api.github.com/repos/HEP-FCC/FCCSW/contents/{+path}","compare_url":"https://api.github.com/repos/HEP-FCC/FCCSW/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HEP-FCC/FCCSW/merges","archive_url":"https://api.github.com/repos/HEP-FCC/FCCSW/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HEP-FCC/FCCSW/downloads","issues_url":"https://api.github.com/repos/HEP-FCC/FCCSW/issues{/number}","pulls_url":"https://api.github.com/repos/HEP-FCC/FCCSW/pulls{/number}","milestones_url":"https://api.github.com/repos/HEP-FCC/FCCSW/milestones{/number}","notifications_url":"https://api.github.com/repos/HEP-FCC/FCCSW/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HEP-FCC/FCCSW/labels{/name}","releases_url":"https://api.github.com/repos/HEP-FCC/FCCSW/releases{/id}","deployments_url":"https://api.github.com/repos/HEP-FCC/FCCSW/deployments","created_at":"2014-07-01T13:16:22Z","updated_at":"2017-04-05T11:11:11Z","pushed_at":"2017-06-21T08:15:28Z","git_url":"git://github.com/HEP-FCC/FCCSW.git","ssh_url":"git@github.com:HEP-FCC/FCCSW.git","clone_url":"https://github.com/HEP-FCC/FCCSW.git","svn_url":"https://github.com/HEP-FCC/FCCSW","homepage":"http://fccsw.web.cern.ch","size":175241,"stargazers_count":5,"watchers_count":5,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":72,"mirror_url":null,"open_issues_count":19,"forks":72,"open_issues":19,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HEP-FCC/FCCSW/pulls/216"},"html":{"href":"https://github.com/HEP-FCC/FCCSW/pull/216"},"issue":{"href":"https://api.github.com/repos/HEP-FCC/FCCSW/issues/216"},"comments":{"href":"https://api.github.com/repos/HEP-FCC/FCCSW/issues/216/comments"},"review_comments":{"href":"https://api.github.com/repos/HEP-FCC/FCCSW/pulls/216/comments"},"review_comment":{"href":"https://api.github.com/repos/HEP-FCC/FCCSW/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HEP-FCC/FCCSW/pulls/216/commits"},"statuses":{"href":"https://api.github.com/repos/HEP-FCC/FCCSW/statuses/272bd23f51be8b1a3205121efe7056864690efdb"}}}}
{"actor":{"display_login":"alicerobson"}}