{"action":"created","comment":{"url":"https://api.github.com/repos/cms-sw/cmssw/pulls/comments/68080389","id":68080389,"diff_hunk":"@@ -0,0 +1,100 @@\n+#ifndef AnalysisDataFormats_TopObjects_interface_HTTTopJetTagInfo_h\n+#define AnalysisDataFormats_TopObjects_interface_HTTTopJetTagInfo_h\n+\n+\n+// \\class HTTTopJetTagInfo\n+// \n+// \\short specific tag info for HEPTopTagger tagging algorithm\n+// HTTTopJetTagInfo is a class to hold the discriminator variables for the\n+// HEPTopTagger algorithm.\n+// \n+//\n+// \\author Gregor Kasieczka (based on  CATopJetTagInfo by Salvatore Rappoccio)\n+// \\version first version on 25 Sep 2014\n+\n+#include \"DataFormats/BTauReco/interface/RefMacros.h\"\n+#include \"DataFormats/BTauReco/interface/JetTagInfo.h\"\n+#include \"DataFormats/BTauReco/interface/TaggingVariable.h\"\n+#include <vector>\n+\n+namespace reco {\n+ \n+class HTTTopJetProperties {\n+public:\n+  HTTTopJetProperties() {\n+    fjPt            = 0.;\n+    fjMass          = 0.;\n+    fjEta           = 0.;\n+    fjPhi           = 0.;\n+    topMass         = 0.;\n+    unfilteredMass  = 0.;\n+    prunedMass\t    = 0.;\n+    fRec\t    = 0.;\n+    massRatioPassed = 0.;\n+    Ropt\t    = 0.;\n+    RoptCalc\t    = 0.;\n+    ptForRoptCalc   = 0.;\n+    tau1Unfiltered  = 0.;\n+    tau2Unfiltered  = 0.;\n+    tau3Unfiltered  = 0.;\n+    tau1Filtered    = 0.;\n+    tau2Filtered    = 0.;\n+    tau3Filtered    = 0.;\n+    QWeight\t    = 0.;\n+    QEpsilon        = 0.;\n+    QSigmaM         = 0.;\n+\n+  }\n+  double              fjPt;             //<! Mass of the inital Fatjet passed to the TT\n+  double              fjMass;           //<! Mass of the inital Fatjet passed to the TT\n+  double              fjEta;            //<! Mass of the inital Fatjet passed to the TT\n+  double              fjPhi;            //<! Mass of the inital Fatjet passed to the TT\n+  double              topMass;          //<! Mass of the HTT top quark candidate [GeV]\n+  double              unfilteredMass;   //<! Unfiltered mass of the triplet [GeV]\n+  double              prunedMass;       //<! Mass of the pruned fat jet [GeV]\n+  double              fRec;             //<! Minimum distance of m_ij/m_123 from m_W/m_top\n+  double              massRatioPassed;  //<! Did the candidate pass the default mass ratio? \n+  double              Ropt;             //<! R_opt found in Optimal procedure. \n+  double              RoptCalc;         //<! R_opt calc for a top quark based on filtered fat-jet pT.\n+  double              ptForRoptCalc;    //<! Filtered initial fatjet pT calculation of Ropt \n+  double              tau1Unfiltered;   //<! 1-subjettiness, no filtering\n+  double              tau2Unfiltered;   //<! 2-subjettiness, no filtering\n+  double              tau3Unfiltered;   //<! 3-subjettiness, no filtering\n+  double              tau1Filtered;     //<! 1-subjettiness, with filtering\n+  double              tau2Filtered;     //<! 2-subjettiness, with filtering\n+  double              tau3Filtered;     //<! 3-subjettiness, with filtering\n+  double              QWeight;          //<! maximal weight of jet using Q-jet approach\n+  double              QEpsilon;         //<! fraction of jets tagged with Q-jets\n+  double              QSigmaM;          //<! Width of Q-jet mass distribution","path":"DataFormats/JetReco/interface/HTTTopJetTagInfo.h","position":null,"original_position":68,"commit_id":"22a0fb6459e90961c30975a9f54ea92d524a8116","original_commit_id":"ddcabfb809e768bee5a60a00b57446a899feb16b","user":{"login":"gkasieczka","id":5887831,"avatar_url":"https://avatars.githubusercontent.com/u/5887831?v=3","gravatar_id":"","url":"https://api.github.com/users/gkasieczka","html_url":"https://github.com/gkasieczka","followers_url":"https://api.github.com/users/gkasieczka/followers","following_url":"https://api.github.com/users/gkasieczka/following{/other_user}","gists_url":"https://api.github.com/users/gkasieczka/gists{/gist_id}","starred_url":"https://api.github.com/users/gkasieczka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkasieczka/subscriptions","organizations_url":"https://api.github.com/users/gkasieczka/orgs","repos_url":"https://api.github.com/users/gkasieczka/repos","events_url":"https://api.github.com/users/gkasieczka/events{/privacy}","received_events_url":"https://api.github.com/users/gkasieczka/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2016-06-22T15:53:47Z","updated_at":"2016-06-22T15:53:47Z","html_url":"https://github.com/cms-sw/cmssw/pull/14837#discussion_r68080389","pull_request_url":"https://api.github.com/repos/cms-sw/cmssw/pulls/14837","_links":{"self":{"href":"https://api.github.com/repos/cms-sw/cmssw/pulls/comments/68080389"},"html":{"href":"https://github.com/cms-sw/cmssw/pull/14837#discussion_r68080389"},"pull_request":{"href":"https://api.github.com/repos/cms-sw/cmssw/pulls/14837"}}},"pull_request":{"url":"https://api.github.com/repos/cms-sw/cmssw/pulls/14837","id":73242971,"html_url":"https://github.com/cms-sw/cmssw/pull/14837","diff_url":"https://github.com/cms-sw/cmssw/pull/14837.diff","patch_url":"https://github.com/cms-sw/cmssw/pull/14837.patch","issue_url":"https://api.github.com/repos/cms-sw/cmssw/issues/14837","number":14837,"state":"open","locked":false,"title":"Add HEPTopTagger Version 2 ","user":{"login":"gkasieczka","id":5887831,"avatar_url":"https://avatars.githubusercontent.com/u/5887831?v=3","gravatar_id":"","url":"https://api.github.com/users/gkasieczka","html_url":"https://github.com/gkasieczka","followers_url":"https://api.github.com/users/gkasieczka/followers","following_url":"https://api.github.com/users/gkasieczka/following{/other_user}","gists_url":"https://api.github.com/users/gkasieczka/gists{/gist_id}","starred_url":"https://api.github.com/users/gkasieczka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkasieczka/subscriptions","organizations_url":"https://api.github.com/users/gkasieczka/orgs","repos_url":"https://api.github.com/users/gkasieczka/repos","events_url":"https://api.github.com/users/gkasieczka/events{/privacy}","received_events_url":"https://api.github.com/users/gkasieczka/received_events","type":"User","site_admin":false},"body":"HEPTopTagger V2 (via this code) was used in different performance studies/physics analyses for a while but so far not included in \"CMSSW\" proper.\r\nIt was studied in PAS-JME-15-002 (https://cds.cern.ch/record/2126325?ln=en). The approval talk for this PAS can be found at: https://indico.cern.ch/event/469439/contributions/1147349/attachments/1204562/1755301/Approval.pdf\r\n(pp23)\r\n\r\nPR adds the HTT V2 code + necessary CMSSW bindings and DataFormats\r\n\r\nA test script is now included:\r\nRecoJets/JetProducers/test/HTTV2_test.py\r\n\r\nPlease note that this supersedes: #14832 (Pardon!)","created_at":"2016-06-09T16:14:22Z","updated_at":"2016-06-22T15:53:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"76e7acc0e9ca05ec6490d1219d2b6e0caf484dbc","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":860,"state":"open","created_at":"2016-02-18T09:12:12Z","updated_at":"2016-06-22T14:40:26Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/cms-sw/cmssw/pulls/14837/commits","review_comments_url":"https://api.github.com/repos/cms-sw/cmssw/pulls/14837/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/14837/comments","statuses_url":"https://api.github.com/repos/cms-sw/cmssw/statuses/22a0fb6459e90961c30975a9f54ea92d524a8116","head":{"label":"gkasieczka:htt-v2-80X-x2","ref":"htt-v2-80X-x2","sha":"22a0fb6459e90961c30975a9f54ea92d524a8116","user":{"login":"gkasieczka","id":5887831,"avatar_url":"https://avatars.githubusercontent.com/u/5887831?v=3","gravatar_id":"","url":"https://api.github.com/users/gkasieczka","html_url":"https://github.com/gkasieczka","followers_url":"https://api.github.com/users/gkasieczka/followers","following_url":"https://api.github.com/users/gkasieczka/following{/other_user}","gists_url":"https://api.github.com/users/gkasieczka/gists{/gist_id}","starred_url":"https://api.github.com/users/gkasieczka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkasieczka/subscriptions","organizations_url":"https://api.github.com/users/gkasieczka/orgs","repos_url":"https://api.github.com/users/gkasieczka/repos","events_url":"https://api.github.com/users/gkasieczka/events{/privacy}","received_events_url":"https://api.github.com/users/gkasieczka/received_events","type":"User","site_admin":false},"repo":{"id":23924299,"name":"cmssw","full_name":"gkasieczka/cmssw","owner":{"login":"gkasieczka","id":5887831,"avatar_url":"https://avatars.githubusercontent.com/u/5887831?v=3","gravatar_id":"","url":"https://api.github.com/users/gkasieczka","html_url":"https://github.com/gkasieczka","followers_url":"https://api.github.com/users/gkasieczka/followers","following_url":"https://api.github.com/users/gkasieczka/following{/other_user}","gists_url":"https://api.github.com/users/gkasieczka/gists{/gist_id}","starred_url":"https://api.github.com/users/gkasieczka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkasieczka/subscriptions","organizations_url":"https://api.github.com/users/gkasieczka/orgs","repos_url":"https://api.github.com/users/gkasieczka/repos","events_url":"https://api.github.com/users/gkasieczka/events{/privacy}","received_events_url":"https://api.github.com/users/gkasieczka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gkasieczka/cmssw","description":"CMS Offline Software","fork":true,"url":"https://api.github.com/repos/gkasieczka/cmssw","forks_url":"https://api.github.com/repos/gkasieczka/cmssw/forks","keys_url":"https://api.github.com/repos/gkasieczka/cmssw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gkasieczka/cmssw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gkasieczka/cmssw/teams","hooks_url":"https://api.github.com/repos/gkasieczka/cmssw/hooks","issue_events_url":"https://api.github.com/repos/gkasieczka/cmssw/issues/events{/number}","events_url":"https://api.github.com/repos/gkasieczka/cmssw/events","assignees_url":"https://api.github.com/repos/gkasieczka/cmssw/assignees{/user}","branches_url":"https://api.github.com/repos/gkasieczka/cmssw/branches{/branch}","tags_url":"https://api.github.com/repos/gkasieczka/cmssw/tags","blobs_url":"https://api.github.com/repos/gkasieczka/cmssw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gkasieczka/cmssw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gkasieczka/cmssw/git/refs{/sha}","trees_url":"https://api.github.com/repos/gkasieczka/cmssw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gkasieczka/cmssw/statuses/{sha}","languages_url":"https://api.github.com/repos/gkasieczka/cmssw/languages","stargazers_url":"https://api.github.com/repos/gkasieczka/cmssw/stargazers","contributors_url":"https://api.github.com/repos/gkasieczka/cmssw/contributors","subscribers_url":"https://api.github.com/repos/gkasieczka/cmssw/subscribers","subscription_url":"https://api.github.com/repos/gkasieczka/cmssw/subscription","commits_url":"https://api.github.com/repos/gkasieczka/cmssw/commits{/sha}","git_commits_url":"https://api.github.com/repos/gkasieczka/cmssw/git/commits{/sha}","comments_url":"https://api.github.com/repos/gkasieczka/cmssw/comments{/number}","issue_comment_url":"https://api.github.com/repos/gkasieczka/cmssw/issues/comments{/number}","contents_url":"https://api.github.com/repos/gkasieczka/cmssw/contents/{+path}","compare_url":"https://api.github.com/repos/gkasieczka/cmssw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gkasieczka/cmssw/merges","archive_url":"https://api.github.com/repos/gkasieczka/cmssw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gkasieczka/cmssw/downloads","issues_url":"https://api.github.com/repos/gkasieczka/cmssw/issues{/number}","pulls_url":"https://api.github.com/repos/gkasieczka/cmssw/pulls{/number}","milestones_url":"https://api.github.com/repos/gkasieczka/cmssw/milestones{/number}","notifications_url":"https://api.github.com/repos/gkasieczka/cmssw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gkasieczka/cmssw/labels{/name}","releases_url":"https://api.github.com/repos/gkasieczka/cmssw/releases{/id}","deployments_url":"https://api.github.com/repos/gkasieczka/cmssw/deployments","created_at":"2014-09-11T15:34:51Z","updated_at":"2014-09-25T13:28:38Z","pushed_at":"2016-06-22T15:52:58Z","git_url":"git://github.com/gkasieczka/cmssw.git","ssh_url":"git@github.com:gkasieczka/cmssw.git","clone_url":"https://github.com/gkasieczka/cmssw.git","svn_url":"https://github.com/gkasieczka/cmssw","homepage":"cms-sw.github.io/cmssw","size":915730,"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_7_2_X"}},"base":{"label":"cms-sw:CMSSW_8_1_X","ref":"CMSSW_8_1_X","sha":"61905d7816eab6d4c542a18a6e092a67fc55df97","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-21T09:32:43Z","pushed_at":"2016-06-22T15:53:02Z","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":1091064,"stargazers_count":318,"watchers_count":318,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1876,"mirror_url":null,"open_issues_count":347,"forks":1876,"open_issues":347,"watchers":318,"default_branch":"CMSSW_8_1_X"}},"_links":{"self":{"href":"https://api.github.com/repos/cms-sw/cmssw/pulls/14837"},"html":{"href":"https://github.com/cms-sw/cmssw/pull/14837"},"issue":{"href":"https://api.github.com/repos/cms-sw/cmssw/issues/14837"},"comments":{"href":"https://api.github.com/repos/cms-sw/cmssw/issues/14837/comments"},"review_comments":{"href":"https://api.github.com/repos/cms-sw/cmssw/pulls/14837/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/14837/commits"},"statuses":{"href":"https://api.github.com/repos/cms-sw/cmssw/statuses/22a0fb6459e90961c30975a9f54ea92d524a8116"}}}}
{"actor":{"display_login":"gkasieczka"}}