{"action":"created","comment":{"url":"https://api.github.com/repos/slava77/cms-reco-tools/pulls/comments/51284667","id":51284667,"diff_hunk":"@@ -498,11 +541,119 @@ void staMuons(TString var){\n   plotvar(v);\n }\n \n-void recoMuons(TString var, bool notafunction = false){\n-  TString v= notafunction ? \"recoMuons_muons__\"+recoS+\".obj.\"+var :\n-    \"recoMuons_muons__\"+recoS+\".obj.\"+var+\"()\" ;\n+void muonVar(TString var, TString cName = \"muons_\", TString tName = \"recoMuons_\", bool notafunction = false){\n+  TString v= notafunction ? tName+cName+\"_\"+recoS+\".obj.\"+var :\n+    tName+cName+\"_\"+recoS+\".obj.\"+var+\"()\" ;\n+  plotvar(v);\n+}\n+\n+void muonVars(TString cName = \"muons_\", TString tName = \"recoMuons_\"){\n+  plotvar(tName+cName+\"_\"+recoS+\".obj@.size()\");\n+  muonVar(\"innerTrack().index\",cName,tName);\n+  muonVar(\"track().index\",cName,tName);\n+  muonVar(\"outerTrack().index\",cName,tName);\n+  muonVar(\"globalTrack().index\",cName,tName);\n+  muonVar(\"pt\",cName,tName);\n+  muonVar(\"eta\",cName,tName);\n+  muonVar(\"phi\",cName,tName);\n+  muonVar(\"calEnergy().towerS9\",cName,tName, true);\n+  muonVar(\"calEnergy().emS9\",cName,tName, true);\n+  muonVar(\"calEnergy().hadS9\",cName,tName, true);\n+  muonVar(\"calEnergy().hoS9\",cName,tName, true);\n+  muonVar(\"calEnergy().ecal_time\",cName,tName, true);\n+  muonVar(\"calEnergy().hcal_time\",cName,tName, true);\n+  muonVar(\"combinedQuality().trkKink\",cName,tName, true);\n+  muonVar(\"combinedQuality().glbKink\",cName,tName, true);\n+  muonVar(\"combinedQuality().localDistance\",cName,tName, true);\n+  muonVar(\"combinedQuality().updatedSta\",cName,tName, true);\n+  muonVar(\"time().nDof\",cName,tName, true);\n+  muonVar(\"time().timeAtIpInOut\",cName,tName, true);\n+  muonVar(\"time().timeAtIpInOutErr\",cName,tName, true);\n+  muonVar(\"caloCompatibility\",cName,tName);\n+  muonVar(\"isolationR03().sumPt\",cName,tName, true);\n+  muonVar(\"isolationR03().emEt\",cName,tName, true);\n+  muonVar(\"isolationR03().hadEt\",cName,tName, true);\n+  muonVar(\"isolationR03().hoEt\",cName,tName, true);\n+  muonVar(\"isolationR03().trackerVetoPt\",cName,tName, true);\n+  muonVar(\"isolationR03().emVetoEt\",cName,tName, true);\n+  muonVar(\"isolationR03().hadVetoEt\",cName,tName, true);\n+  muonVar(\"isolationR05().sumPt\",cName,tName, true);\n+  muonVar(\"isolationR05().emEt\",cName,tName, true);\n+  muonVar(\"isolationR05().hadEt\",cName,tName, true);\n+  muonVar(\"isolationR05().hoEt\",cName,tName, true);\n+  muonVar(\"isolationR05().trackerVetoPt\",cName,tName, true);\n+  muonVar(\"isolationR05().emVetoEt\",cName,tName, true);\n+  muonVar(\"isolationR05().hadVetoEt\",cName,tName, true);\n+  muonVar(\"pfIsolationR03().sumChargedHadronPt\",cName,tName, true);\n+  muonVar(\"pfIsolationR03().sumChargedParticlePt\",cName,tName, true);\n+  muonVar(\"pfIsolationR03().sumNeutralHadronEt\",cName,tName, true);\n+  muonVar(\"pfIsolationR03().sumPhotonEt\",cName,tName, true);\n+  muonVar(\"pfIsolationR03().sumPUPt\",cName,tName, true);\n+  muonVar(\"pfIsolationR04().sumChargedHadronPt\",cName,tName, true);\n+  muonVar(\"pfIsolationR04().sumChargedParticlePt\",cName,tName, true);\n+  muonVar(\"pfIsolationR04().sumNeutralHadronEt\",cName,tName, true);\n+  muonVar(\"pfIsolationR04().sumPhotonEt\",cName,tName, true);\n+  muonVar(\"pfIsolationR04().sumPUPt\",cName,tName, true);\n+  muonVar(\"pfMeanDRIsoProfileR03().sumChargedHadronPt\",cName,tName, true);\n+  muonVar(\"pfMeanDRIsoProfileR03().sumChargedParticlePt\",cName,tName, true);\n+  muonVar(\"pfMeanDRIsoProfileR03().sumNeutralHadronEt\",cName,tName, true);\n+  muonVar(\"numberOfChambers\",cName,tName);\n+  muonVar(\"numberOfMatches\",cName,tName);\n+  muonVar(\"stationMask\",cName,tName);\n+  muonVar(\"type\",cName,tName);\n+\n+}\n+\n+void packedVar(TString var, TString cName = \"packedPFCandidates_\", TString tName = \"patPackedCandidates_\", bool notafunction = false){\n+  TString v= notafunction ? tName+cName+\"_\"+recoS+\".obj.\"+var :\n+    tName+cName+\"_\"+recoS+\".obj.\"+var+\"()\" ;\n   plotvar(v);\n }\n+\n+void packed(TString cName = \"packedPFCandidates_\", TString tName = \"patPackedCandidates_\"){\n+  plotvar(tName+cName+\"_\"+recoS+\".obj@.size()\");\n+  packedVar(\"charge\",cName,tName);\n+  packedVar(\"dxy\",cName,tName);\n+  packedVar(\"dxyError\",cName,tName);\n+  packedVar(\"dz\",cName,tName);\n+  packedVar(\"dzError\",cName,tName);\n+  packedVar(\"energy\",cName,tName);\n+  packedVar(\"et\",cName,tName);\n+  packedVar(\"et2\",cName,tName);","path":"validate.C","position":517,"original_position":517,"commit_id":"7eeea5b1fbd3221eb39b00ddeed4a44507bde2c1","original_commit_id":"7eeea5b1fbd3221eb39b00ddeed4a44507bde2c1","user":{"login":"slava77","id":4676718,"avatar_url":"https://avatars.githubusercontent.com/u/4676718?v=3","gravatar_id":"","url":"https://api.github.com/users/slava77","html_url":"https://github.com/slava77","followers_url":"https://api.github.com/users/slava77/followers","following_url":"https://api.github.com/users/slava77/following{/other_user}","gists_url":"https://api.github.com/users/slava77/gists{/gist_id}","starred_url":"https://api.github.com/users/slava77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slava77/subscriptions","organizations_url":"https://api.github.com/users/slava77/orgs","repos_url":"https://api.github.com/users/slava77/repos","events_url":"https://api.github.com/users/slava77/events{/privacy}","received_events_url":"https://api.github.com/users/slava77/received_events","type":"User","site_admin":false},"body":"not needed","created_at":"2016-01-29T16:53:38Z","updated_at":"2016-01-29T16:53:38Z","html_url":"https://github.com/slava77/cms-reco-tools/pull/77#discussion_r51284667","pull_request_url":"https://api.github.com/repos/slava77/cms-reco-tools/pulls/77","_links":{"self":{"href":"https://api.github.com/repos/slava77/cms-reco-tools/pulls/comments/51284667"},"html":{"href":"https://github.com/slava77/cms-reco-tools/pull/77#discussion_r51284667"},"pull_request":{"href":"https://api.github.com/repos/slava77/cms-reco-tools/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/slava77/cms-reco-tools/pulls/77","id":57080872,"html_url":"https://github.com/slava77/cms-reco-tools/pull/77","diff_url":"https://github.com/slava77/cms-reco-tools/pull/77.diff","patch_url":"https://github.com/slava77/cms-reco-tools/pull/77.patch","issue_url":"https://api.github.com/repos/slava77/cms-reco-tools/issues/77","number":77,"state":"open","locked":false,"title":"Add MINIAOD to validate.C","user":{"login":"dntaylor","id":4513541,"avatar_url":"https://avatars.githubusercontent.com/u/4513541?v=3","gravatar_id":"","url":"https://api.github.com/users/dntaylor","html_url":"https://github.com/dntaylor","followers_url":"https://api.github.com/users/dntaylor/followers","following_url":"https://api.github.com/users/dntaylor/following{/other_user}","gists_url":"https://api.github.com/users/dntaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/dntaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dntaylor/subscriptions","organizations_url":"https://api.github.com/users/dntaylor/orgs","repos_url":"https://api.github.com/users/dntaylor/repos","events_url":"https://api.github.com/users/dntaylor/events{/privacy}","received_events_url":"https://api.github.com/users/dntaylor/received_events","type":"User","site_admin":false},"body":"Changes for miniaod matrix file format are seen in matrix_70X_mini.txt.","created_at":"2016-01-25T14:53:32Z","updated_at":"2016-01-29T16:53:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b2496c25ad5613f390fe6bc89bcc6a425f47bf4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/slava77/cms-reco-tools/pulls/77/commits","review_comments_url":"https://api.github.com/repos/slava77/cms-reco-tools/pulls/77/comments","review_comment_url":"https://api.github.com/repos/slava77/cms-reco-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/slava77/cms-reco-tools/issues/77/comments","statuses_url":"https://api.github.com/repos/slava77/cms-reco-tools/statuses/7eeea5b1fbd3221eb39b00ddeed4a44507bde2c1","head":{"label":"dntaylor:master","ref":"master","sha":"7eeea5b1fbd3221eb39b00ddeed4a44507bde2c1","user":{"login":"dntaylor","id":4513541,"avatar_url":"https://avatars.githubusercontent.com/u/4513541?v=3","gravatar_id":"","url":"https://api.github.com/users/dntaylor","html_url":"https://github.com/dntaylor","followers_url":"https://api.github.com/users/dntaylor/followers","following_url":"https://api.github.com/users/dntaylor/following{/other_user}","gists_url":"https://api.github.com/users/dntaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/dntaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dntaylor/subscriptions","organizations_url":"https://api.github.com/users/dntaylor/orgs","repos_url":"https://api.github.com/users/dntaylor/repos","events_url":"https://api.github.com/users/dntaylor/events{/privacy}","received_events_url":"https://api.github.com/users/dntaylor/received_events","type":"User","site_admin":false},"repo":{"id":36353163,"name":"cms-reco-tools","full_name":"dntaylor/cms-reco-tools","owner":{"login":"dntaylor","id":4513541,"avatar_url":"https://avatars.githubusercontent.com/u/4513541?v=3","gravatar_id":"","url":"https://api.github.com/users/dntaylor","html_url":"https://github.com/dntaylor","followers_url":"https://api.github.com/users/dntaylor/followers","following_url":"https://api.github.com/users/dntaylor/following{/other_user}","gists_url":"https://api.github.com/users/dntaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/dntaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dntaylor/subscriptions","organizations_url":"https://api.github.com/users/dntaylor/orgs","repos_url":"https://api.github.com/users/dntaylor/repos","events_url":"https://api.github.com/users/dntaylor/events{/privacy}","received_events_url":"https://api.github.com/users/dntaylor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dntaylor/cms-reco-tools","description":"cms-reco-tools","fork":true,"url":"https://api.github.com/repos/dntaylor/cms-reco-tools","forks_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/forks","keys_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/teams","hooks_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/hooks","issue_events_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/issues/events{/number}","events_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/events","assignees_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/assignees{/user}","branches_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/branches{/branch}","tags_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/tags","blobs_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/languages","stargazers_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/stargazers","contributors_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/contributors","subscribers_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/subscribers","subscription_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/subscription","commits_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/contents/{+path}","compare_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/merges","archive_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/downloads","issues_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/issues{/number}","pulls_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/labels{/name}","releases_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/releases{/id}","deployments_url":"https://api.github.com/repos/dntaylor/cms-reco-tools/deployments","created_at":"2015-05-27T08:16:48Z","updated_at":"2016-01-25T11:50:43Z","pushed_at":"2016-01-25T14:50:01Z","git_url":"git://github.com/dntaylor/cms-reco-tools.git","ssh_url":"git@github.com:dntaylor/cms-reco-tools.git","clone_url":"https://github.com/dntaylor/cms-reco-tools.git","svn_url":"https://github.com/dntaylor/cms-reco-tools","homepage":null,"size":264,"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":"master"}},"base":{"label":"slava77:master","ref":"master","sha":"083fe308e5f7aae301614f3dce49180f23c226cd","user":{"login":"slava77","id":4676718,"avatar_url":"https://avatars.githubusercontent.com/u/4676718?v=3","gravatar_id":"","url":"https://api.github.com/users/slava77","html_url":"https://github.com/slava77","followers_url":"https://api.github.com/users/slava77/followers","following_url":"https://api.github.com/users/slava77/following{/other_user}","gists_url":"https://api.github.com/users/slava77/gists{/gist_id}","starred_url":"https://api.github.com/users/slava77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slava77/subscriptions","organizations_url":"https://api.github.com/users/slava77/orgs","repos_url":"https://api.github.com/users/slava77/repos","events_url":"https://api.github.com/users/slava77/events{/privacy}","received_events_url":"https://api.github.com/users/slava77/received_events","type":"User","site_admin":false},"repo":{"id":14015831,"name":"cms-reco-tools","full_name":"slava77/cms-reco-tools","owner":{"login":"slava77","id":4676718,"avatar_url":"https://avatars.githubusercontent.com/u/4676718?v=3","gravatar_id":"","url":"https://api.github.com/users/slava77","html_url":"https://github.com/slava77","followers_url":"https://api.github.com/users/slava77/followers","following_url":"https://api.github.com/users/slava77/following{/other_user}","gists_url":"https://api.github.com/users/slava77/gists{/gist_id}","starred_url":"https://api.github.com/users/slava77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slava77/subscriptions","organizations_url":"https://api.github.com/users/slava77/orgs","repos_url":"https://api.github.com/users/slava77/repos","events_url":"https://api.github.com/users/slava77/events{/privacy}","received_events_url":"https://api.github.com/users/slava77/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/slava77/cms-reco-tools","description":"cms-reco-tools","fork":false,"url":"https://api.github.com/repos/slava77/cms-reco-tools","forks_url":"https://api.github.com/repos/slava77/cms-reco-tools/forks","keys_url":"https://api.github.com/repos/slava77/cms-reco-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slava77/cms-reco-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slava77/cms-reco-tools/teams","hooks_url":"https://api.github.com/repos/slava77/cms-reco-tools/hooks","issue_events_url":"https://api.github.com/repos/slava77/cms-reco-tools/issues/events{/number}","events_url":"https://api.github.com/repos/slava77/cms-reco-tools/events","assignees_url":"https://api.github.com/repos/slava77/cms-reco-tools/assignees{/user}","branches_url":"https://api.github.com/repos/slava77/cms-reco-tools/branches{/branch}","tags_url":"https://api.github.com/repos/slava77/cms-reco-tools/tags","blobs_url":"https://api.github.com/repos/slava77/cms-reco-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slava77/cms-reco-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slava77/cms-reco-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/slava77/cms-reco-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slava77/cms-reco-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/slava77/cms-reco-tools/languages","stargazers_url":"https://api.github.com/repos/slava77/cms-reco-tools/stargazers","contributors_url":"https://api.github.com/repos/slava77/cms-reco-tools/contributors","subscribers_url":"https://api.github.com/repos/slava77/cms-reco-tools/subscribers","subscription_url":"https://api.github.com/repos/slava77/cms-reco-tools/subscription","commits_url":"https://api.github.com/repos/slava77/cms-reco-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/slava77/cms-reco-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/slava77/cms-reco-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/slava77/cms-reco-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/slava77/cms-reco-tools/contents/{+path}","compare_url":"https://api.github.com/repos/slava77/cms-reco-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slava77/cms-reco-tools/merges","archive_url":"https://api.github.com/repos/slava77/cms-reco-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slava77/cms-reco-tools/downloads","issues_url":"https://api.github.com/repos/slava77/cms-reco-tools/issues{/number}","pulls_url":"https://api.github.com/repos/slava77/cms-reco-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/slava77/cms-reco-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/slava77/cms-reco-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slava77/cms-reco-tools/labels{/name}","releases_url":"https://api.github.com/repos/slava77/cms-reco-tools/releases{/id}","deployments_url":"https://api.github.com/repos/slava77/cms-reco-tools/deployments","created_at":"2013-10-31T12:08:55Z","updated_at":"2016-01-14T19:25:37Z","pushed_at":"2016-01-25T14:53:32Z","git_url":"git://github.com/slava77/cms-reco-tools.git","ssh_url":"git@github.com:slava77/cms-reco-tools.git","clone_url":"https://github.com/slava77/cms-reco-tools.git","svn_url":"https://github.com/slava77/cms-reco-tools","homepage":null,"size":241,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/slava77/cms-reco-tools/pulls/77"},"html":{"href":"https://github.com/slava77/cms-reco-tools/pull/77"},"issue":{"href":"https://api.github.com/repos/slava77/cms-reco-tools/issues/77"},"comments":{"href":"https://api.github.com/repos/slava77/cms-reco-tools/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/slava77/cms-reco-tools/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/slava77/cms-reco-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/slava77/cms-reco-tools/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/slava77/cms-reco-tools/statuses/7eeea5b1fbd3221eb39b00ddeed4a44507bde2c1"}}}}