{"action":"created","comment":{"url":"https://api.github.com/repos/CTPPS/cmssw/pulls/comments/80004148","id":80004148,"diff_hunk":"@@ -0,0 +1,75 @@\n+#ifndef IOMC_ParticleGuns_FlatProtonLogKsiLogTGun_h\n+#define IOMC_ParticleGuns_FlatProtonLogKsiLogTGun_h\n+\n+#include <string>\n+#include \"HepPDT/defs.h\"\n+#include \"HepPDT/TableBuilder.hh\"\n+#include \"HepPDT/ParticleDataTable.hh\"\n+\n+#include \"HepMC/GenEvent.h\"\n+\n+#include \"FWCore/Framework/interface/EDProducer.h\"\n+#include \"FWCore/Framework/interface/ESHandle.h\"\n+#include \"FWCore/Framework/interface/MakerMacros.h\"\n+\n+#include \"CLHEP/Random/JamesRandom.h\"\n+#include \"CLHEP/Random/RandFlat.h\"\n+\n+#include <memory>\n+#include \"boost/shared_ptr.hpp\"\n+\n+using namespace edm;\n+namespace HepMC {\n+\tclass GenEvent;\n+}\n+\n+\n+class FlatProtonLogKsiLogTGun : public edm::EDProducer","path":"IOMC/ParticleGuns/interface/FlatProtonLogKsiLogTGun.h","position":27,"original_position":27,"commit_id":"cead2af99729db9720bfc86231e571bb6a7d7930","original_commit_id":"cead2af99729db9720bfc86231e571bb6a7d7930","user":{"login":"grzanka","id":7374733,"avatar_url":"https://avatars.githubusercontent.com/u/7374733?v=3","gravatar_id":"","url":"https://api.github.com/users/grzanka","html_url":"https://github.com/grzanka","followers_url":"https://api.github.com/users/grzanka/followers","following_url":"https://api.github.com/users/grzanka/following{/other_user}","gists_url":"https://api.github.com/users/grzanka/gists{/gist_id}","starred_url":"https://api.github.com/users/grzanka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzanka/subscriptions","organizations_url":"https://api.github.com/users/grzanka/orgs","repos_url":"https://api.github.com/users/grzanka/repos","events_url":"https://api.github.com/users/grzanka/events{/privacy}","received_events_url":"https://api.github.com/users/grzanka/received_events","type":"User","site_admin":false},"body":"Seems to be very different from typical gun implementation, see i.e. inheritance here:\r\nhttps://github.com/cms-sw/cmssw/blob/CMSSW_8_1_X/IOMC/ParticleGuns/interface/BaseFlatGunProducer.h\r\n\r\nCheck also new CTPPS gun, submitted to official CMSSW repo:\r\nhttps://github.com/cms-sw/cmssw/pull/15096/files","created_at":"2016-09-22T09:29:21Z","updated_at":"2016-09-22T09:29:28Z","html_url":"https://github.com/CTPPS/cmssw/pull/3#discussion_r80004148","pull_request_url":"https://api.github.com/repos/CTPPS/cmssw/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/CTPPS/cmssw/pulls/comments/80004148"},"html":{"href":"https://github.com/CTPPS/cmssw/pull/3#discussion_r80004148"},"pull_request":{"href":"https://api.github.com/repos/CTPPS/cmssw/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/CTPPS/cmssw/pulls/3","id":86300197,"html_url":"https://github.com/CTPPS/cmssw/pull/3","diff_url":"https://github.com/CTPPS/cmssw/pull/3.diff","patch_url":"https://github.com/CTPPS/cmssw/pull/3.patch","issue_url":"https://api.github.com/repos/CTPPS/cmssw/issues/3","number":3,"state":"open","locked":false,"title":"FlatProtonLogKsiLogTGun","user":{"login":"grzanka","id":7374733,"avatar_url":"https://avatars.githubusercontent.com/u/7374733?v=3","gravatar_id":"","url":"https://api.github.com/users/grzanka","html_url":"https://github.com/grzanka","followers_url":"https://api.github.com/users/grzanka/followers","following_url":"https://api.github.com/users/grzanka/following{/other_user}","gists_url":"https://api.github.com/users/grzanka/gists{/gist_id}","starred_url":"https://api.github.com/users/grzanka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzanka/subscriptions","organizations_url":"https://api.github.com/users/grzanka/orgs","repos_url":"https://api.github.com/users/grzanka/repos","events_url":"https://api.github.com/users/grzanka/events{/privacy}","received_events_url":"https://api.github.com/users/grzanka/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-22T08:58:28Z","updated_at":"2016-09-22T09:29:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38c030f0239180713d376dd8148338756d5a18f7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CTPPS/cmssw/pulls/3/commits","review_comments_url":"https://api.github.com/repos/CTPPS/cmssw/pulls/3/comments","review_comment_url":"https://api.github.com/repos/CTPPS/cmssw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CTPPS/cmssw/issues/3/comments","statuses_url":"https://api.github.com/repos/CTPPS/cmssw/statuses/cead2af99729db9720bfc86231e571bb6a7d7930","head":{"label":"ziaber:ctpps_gun_pr","ref":"ctpps_gun_pr","sha":"cead2af99729db9720bfc86231e571bb6a7d7930","user":{"login":"ziaber","id":15855962,"avatar_url":"https://avatars.githubusercontent.com/u/15855962?v=3","gravatar_id":"","url":"https://api.github.com/users/ziaber","html_url":"https://github.com/ziaber","followers_url":"https://api.github.com/users/ziaber/followers","following_url":"https://api.github.com/users/ziaber/following{/other_user}","gists_url":"https://api.github.com/users/ziaber/gists{/gist_id}","starred_url":"https://api.github.com/users/ziaber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ziaber/subscriptions","organizations_url":"https://api.github.com/users/ziaber/orgs","repos_url":"https://api.github.com/users/ziaber/repos","events_url":"https://api.github.com/users/ziaber/events{/privacy}","received_events_url":"https://api.github.com/users/ziaber/received_events","type":"User","site_admin":false},"repo":{"id":65207341,"name":"cmssw","full_name":"ziaber/cmssw","owner":{"login":"ziaber","id":15855962,"avatar_url":"https://avatars.githubusercontent.com/u/15855962?v=3","gravatar_id":"","url":"https://api.github.com/users/ziaber","html_url":"https://github.com/ziaber","followers_url":"https://api.github.com/users/ziaber/followers","following_url":"https://api.github.com/users/ziaber/following{/other_user}","gists_url":"https://api.github.com/users/ziaber/gists{/gist_id}","starred_url":"https://api.github.com/users/ziaber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ziaber/subscriptions","organizations_url":"https://api.github.com/users/ziaber/orgs","repos_url":"https://api.github.com/users/ziaber/repos","events_url":"https://api.github.com/users/ziaber/events{/privacy}","received_events_url":"https://api.github.com/users/ziaber/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ziaber/cmssw","description":"CMS Offline Software","fork":true,"url":"https://api.github.com/repos/ziaber/cmssw","forks_url":"https://api.github.com/repos/ziaber/cmssw/forks","keys_url":"https://api.github.com/repos/ziaber/cmssw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ziaber/cmssw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ziaber/cmssw/teams","hooks_url":"https://api.github.com/repos/ziaber/cmssw/hooks","issue_events_url":"https://api.github.com/repos/ziaber/cmssw/issues/events{/number}","events_url":"https://api.github.com/repos/ziaber/cmssw/events","assignees_url":"https://api.github.com/repos/ziaber/cmssw/assignees{/user}","branches_url":"https://api.github.com/repos/ziaber/cmssw/branches{/branch}","tags_url":"https://api.github.com/repos/ziaber/cmssw/tags","blobs_url":"https://api.github.com/repos/ziaber/cmssw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ziaber/cmssw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ziaber/cmssw/git/refs{/sha}","trees_url":"https://api.github.com/repos/ziaber/cmssw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ziaber/cmssw/statuses/{sha}","languages_url":"https://api.github.com/repos/ziaber/cmssw/languages","stargazers_url":"https://api.github.com/repos/ziaber/cmssw/stargazers","contributors_url":"https://api.github.com/repos/ziaber/cmssw/contributors","subscribers_url":"https://api.github.com/repos/ziaber/cmssw/subscribers","subscription_url":"https://api.github.com/repos/ziaber/cmssw/subscription","commits_url":"https://api.github.com/repos/ziaber/cmssw/commits{/sha}","git_commits_url":"https://api.github.com/repos/ziaber/cmssw/git/commits{/sha}","comments_url":"https://api.github.com/repos/ziaber/cmssw/comments{/number}","issue_comment_url":"https://api.github.com/repos/ziaber/cmssw/issues/comments{/number}","contents_url":"https://api.github.com/repos/ziaber/cmssw/contents/{+path}","compare_url":"https://api.github.com/repos/ziaber/cmssw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ziaber/cmssw/merges","archive_url":"https://api.github.com/repos/ziaber/cmssw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ziaber/cmssw/downloads","issues_url":"https://api.github.com/repos/ziaber/cmssw/issues{/number}","pulls_url":"https://api.github.com/repos/ziaber/cmssw/pulls{/number}","milestones_url":"https://api.github.com/repos/ziaber/cmssw/milestones{/number}","notifications_url":"https://api.github.com/repos/ziaber/cmssw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ziaber/cmssw/labels{/name}","releases_url":"https://api.github.com/repos/ziaber/cmssw/releases{/id}","deployments_url":"https://api.github.com/repos/ziaber/cmssw/deployments","created_at":"2016-08-08T13:41:53Z","updated_at":"2016-08-08T13:45:04Z","pushed_at":"2016-09-22T09:19:15Z","git_url":"git://github.com/ziaber/cmssw.git","ssh_url":"git@github.com:ziaber/cmssw.git","clone_url":"https://github.com/ziaber/cmssw.git","svn_url":"https://github.com/ziaber/cmssw","homepage":"http://cms-sw.github.io/","size":997707,"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_1_X"}},"base":{"label":"CTPPS:ctpps_gun_pr","ref":"ctpps_gun_pr","sha":"4b2f7e3776ff06c5d8ef07aac89263ed55d72f2c","user":{"login":"CTPPS","id":10438249,"avatar_url":"https://avatars.githubusercontent.com/u/10438249?v=3","gravatar_id":"","url":"https://api.github.com/users/CTPPS","html_url":"https://github.com/CTPPS","followers_url":"https://api.github.com/users/CTPPS/followers","following_url":"https://api.github.com/users/CTPPS/following{/other_user}","gists_url":"https://api.github.com/users/CTPPS/gists{/gist_id}","starred_url":"https://api.github.com/users/CTPPS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CTPPS/subscriptions","organizations_url":"https://api.github.com/users/CTPPS/orgs","repos_url":"https://api.github.com/users/CTPPS/repos","events_url":"https://api.github.com/users/CTPPS/events{/privacy}","received_events_url":"https://api.github.com/users/CTPPS/received_events","type":"Organization","site_admin":false},"repo":{"id":54034430,"name":"cmssw","full_name":"CTPPS/cmssw","owner":{"login":"CTPPS","id":10438249,"avatar_url":"https://avatars.githubusercontent.com/u/10438249?v=3","gravatar_id":"","url":"https://api.github.com/users/CTPPS","html_url":"https://github.com/CTPPS","followers_url":"https://api.github.com/users/CTPPS/followers","following_url":"https://api.github.com/users/CTPPS/following{/other_user}","gists_url":"https://api.github.com/users/CTPPS/gists{/gist_id}","starred_url":"https://api.github.com/users/CTPPS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CTPPS/subscriptions","organizations_url":"https://api.github.com/users/CTPPS/orgs","repos_url":"https://api.github.com/users/CTPPS/repos","events_url":"https://api.github.com/users/CTPPS/events{/privacy}","received_events_url":"https://api.github.com/users/CTPPS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CTPPS/cmssw","description":"CMS Offline Software","fork":true,"url":"https://api.github.com/repos/CTPPS/cmssw","forks_url":"https://api.github.com/repos/CTPPS/cmssw/forks","keys_url":"https://api.github.com/repos/CTPPS/cmssw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CTPPS/cmssw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CTPPS/cmssw/teams","hooks_url":"https://api.github.com/repos/CTPPS/cmssw/hooks","issue_events_url":"https://api.github.com/repos/CTPPS/cmssw/issues/events{/number}","events_url":"https://api.github.com/repos/CTPPS/cmssw/events","assignees_url":"https://api.github.com/repos/CTPPS/cmssw/assignees{/user}","branches_url":"https://api.github.com/repos/CTPPS/cmssw/branches{/branch}","tags_url":"https://api.github.com/repos/CTPPS/cmssw/tags","blobs_url":"https://api.github.com/repos/CTPPS/cmssw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CTPPS/cmssw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CTPPS/cmssw/git/refs{/sha}","trees_url":"https://api.github.com/repos/CTPPS/cmssw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CTPPS/cmssw/statuses/{sha}","languages_url":"https://api.github.com/repos/CTPPS/cmssw/languages","stargazers_url":"https://api.github.com/repos/CTPPS/cmssw/stargazers","contributors_url":"https://api.github.com/repos/CTPPS/cmssw/contributors","subscribers_url":"https://api.github.com/repos/CTPPS/cmssw/subscribers","subscription_url":"https://api.github.com/repos/CTPPS/cmssw/subscription","commits_url":"https://api.github.com/repos/CTPPS/cmssw/commits{/sha}","git_commits_url":"https://api.github.com/repos/CTPPS/cmssw/git/commits{/sha}","comments_url":"https://api.github.com/repos/CTPPS/cmssw/comments{/number}","issue_comment_url":"https://api.github.com/repos/CTPPS/cmssw/issues/comments{/number}","contents_url":"https://api.github.com/repos/CTPPS/cmssw/contents/{+path}","compare_url":"https://api.github.com/repos/CTPPS/cmssw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CTPPS/cmssw/merges","archive_url":"https://api.github.com/repos/CTPPS/cmssw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CTPPS/cmssw/downloads","issues_url":"https://api.github.com/repos/CTPPS/cmssw/issues{/number}","pulls_url":"https://api.github.com/repos/CTPPS/cmssw/pulls{/number}","milestones_url":"https://api.github.com/repos/CTPPS/cmssw/milestones{/number}","notifications_url":"https://api.github.com/repos/CTPPS/cmssw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CTPPS/cmssw/labels{/name}","releases_url":"https://api.github.com/repos/CTPPS/cmssw/releases{/id}","deployments_url":"https://api.github.com/repos/CTPPS/cmssw/deployments","created_at":"2016-03-16T13:32:05Z","updated_at":"2016-03-16T13:35:04Z","pushed_at":"2016-09-22T09:19:18Z","git_url":"git://github.com/CTPPS/cmssw.git","ssh_url":"git@github.com:CTPPS/cmssw.git","clone_url":"https://github.com/CTPPS/cmssw.git","svn_url":"https://github.com/CTPPS/cmssw","homepage":"http://cms-sw.github.io/","size":1033155,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":0,"default_branch":"CMSSW_8_1_X"}},"_links":{"self":{"href":"https://api.github.com/repos/CTPPS/cmssw/pulls/3"},"html":{"href":"https://github.com/CTPPS/cmssw/pull/3"},"issue":{"href":"https://api.github.com/repos/CTPPS/cmssw/issues/3"},"comments":{"href":"https://api.github.com/repos/CTPPS/cmssw/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/CTPPS/cmssw/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/CTPPS/cmssw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CTPPS/cmssw/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/CTPPS/cmssw/statuses/cead2af99729db9720bfc86231e571bb6a7d7930"}}}}
{"actor":{"display_login":"grzanka"}}