{"action":"created","comment":{"url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/pulls/comments/29834502","id":29834502,"diff_hunk":"@@ -0,0 +1,71 @@\n+---\n+layout: page\n+title: First Steps in LHCb\n+subtitle: Finding data to process\n+minutes: 10\n+---\n+> ## Learning Objectives {.objectives}\n+>\n+> * Find MC in the book-keeping\n+> * Find data in the book-keeping\n+> * Find the decay you want\n+> * check reco\n+> * ignore what (flagged) stripping is used\n+> * run over those files with the strip21 module you want\n+> * nTuples!\n+\n+To feed simulated and/or real data to your DaVinci job you first\n+need to locate some events. In this tutorial we will use the\n+decay D* -> D(->K pi)pi as an example.\n+\n+Navigate to the [book-keeping](https://lhcb-portal-dirac.cern.ch/DIRAC/?view=tabs&theme=Grey&url_state=1|*LHCbDIRAC.BookkeepingBrowser.classes.BookkeepingBrowser:,) which lets you find both simulated\n+and real data.\n+\n+At the bottom of the \"Bookkeeping tree\" tab there is a dropdown menu\n+labelled `Simulation Condition`, open it and change it to `Event\n+type`.\n+\n+We will analyse 2012 data, and correspondigly use simulation for 2012\n+data. To navigate to the simulation expand the folder icon in the\n+\"Bookkeeping tree\" window. Navigate to the `MC/2012` folder. This will\n+give you a very long list of all possible decay types for which there\n+is simulated data. We are looking for a folder which is named\n+`27163003 (Dst_D0pi,Kpi=DecProdCut)`. The number is a numerical\n+representation of the [event\n+type](https://cds.cern.ch/record/855452?ln=en).  The text is the human\n+readable version of that.\n+\n+This sample of simulated events will only contain decays of the type\n+D* -> D(-> K pi)pi.","path":"02-bookkeeping.md","position":39,"original_position":39,"commit_id":"a573a86fad763fa2fd652a94cfb0489992964d83","original_commit_id":"a573a86fad763fa2fd652a94cfb0489992964d83","user":{"login":"alexpearce","id":540853,"avatar_url":"https://avatars.githubusercontent.com/u/540853?v=3","gravatar_id":"","url":"https://api.github.com/users/alexpearce","html_url":"https://github.com/alexpearce","followers_url":"https://api.github.com/users/alexpearce/followers","following_url":"https://api.github.com/users/alexpearce/following{/other_user}","gists_url":"https://api.github.com/users/alexpearce/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpearce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpearce/subscriptions","organizations_url":"https://api.github.com/users/alexpearce/orgs","repos_url":"https://api.github.com/users/alexpearce/repos","events_url":"https://api.github.com/users/alexpearce/events{/privacy}","received_events_url":"https://api.github.com/users/alexpearce/received_events","type":"User","site_admin":false},"body":"How pedantic do we want to be here? Technically, each generated event will contain a signal decay (as a set of MC particles) that passes the generator level cuts _and_ the rest of the event. Each event might not contain the signal in the reconstruction.","created_at":"2015-05-07T08:53:58Z","updated_at":"2015-05-07T08:53:58Z","html_url":"https://github.com/betatim/lhcb-first-analysis-steps/pull/3#discussion_r29834502","pull_request_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/pulls/comments/29834502"},"html":{"href":"https://github.com/betatim/lhcb-first-analysis-steps/pull/3#discussion_r29834502"},"pull_request":{"href":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/pulls/3","id":34894755,"html_url":"https://github.com/betatim/lhcb-first-analysis-steps/pull/3","diff_url":"https://github.com/betatim/lhcb-first-analysis-steps/pull/3.diff","patch_url":"https://github.com/betatim/lhcb-first-analysis-steps/pull/3.patch","issue_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/issues/3","number":3,"state":"open","locked":false,"title":"[WIP] How to locate things in the book-keeping","user":{"login":"betatim","id":1448859,"avatar_url":"https://avatars.githubusercontent.com/u/1448859?v=3","gravatar_id":"","url":"https://api.github.com/users/betatim","html_url":"https://github.com/betatim","followers_url":"https://api.github.com/users/betatim/followers","following_url":"https://api.github.com/users/betatim/following{/other_user}","gists_url":"https://api.github.com/users/betatim/gists{/gist_id}","starred_url":"https://api.github.com/users/betatim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betatim/subscriptions","organizations_url":"https://api.github.com/users/betatim/orgs","repos_url":"https://api.github.com/users/betatim/repos","events_url":"https://api.github.com/users/betatim/events{/privacy}","received_events_url":"https://api.github.com/users/betatim/received_events","type":"User","site_admin":false},"body":"Started work on how to locate events in the book-keeping. This is still WIP (Work in progress)\r\n\r\nDescribing how to drive a GUI in words is surprisingly sub-optimal.","created_at":"2015-05-07T08:49:37Z","updated_at":"2015-05-07T08:53:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0df07e900741f05df70df6ea0f852fc5e2e0a789","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/pulls/3/commits","review_comments_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/pulls/3/comments","review_comment_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/issues/3/comments","statuses_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/statuses/a573a86fad763fa2fd652a94cfb0489992964d83","head":{"label":"betatim:bookkeeping","ref":"bookkeeping","sha":"a573a86fad763fa2fd652a94cfb0489992964d83","user":{"login":"betatim","id":1448859,"avatar_url":"https://avatars.githubusercontent.com/u/1448859?v=3","gravatar_id":"","url":"https://api.github.com/users/betatim","html_url":"https://github.com/betatim","followers_url":"https://api.github.com/users/betatim/followers","following_url":"https://api.github.com/users/betatim/following{/other_user}","gists_url":"https://api.github.com/users/betatim/gists{/gist_id}","starred_url":"https://api.github.com/users/betatim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betatim/subscriptions","organizations_url":"https://api.github.com/users/betatim/orgs","repos_url":"https://api.github.com/users/betatim/repos","events_url":"https://api.github.com/users/betatim/events{/privacy}","received_events_url":"https://api.github.com/users/betatim/received_events","type":"User","site_admin":false},"repo":{"id":34045911,"name":"lhcb-first-analysis-steps","full_name":"betatim/lhcb-first-analysis-steps","owner":{"login":"betatim","id":1448859,"avatar_url":"https://avatars.githubusercontent.com/u/1448859?v=3","gravatar_id":"","url":"https://api.github.com/users/betatim","html_url":"https://github.com/betatim","followers_url":"https://api.github.com/users/betatim/followers","following_url":"https://api.github.com/users/betatim/following{/other_user}","gists_url":"https://api.github.com/users/betatim/gists{/gist_id}","starred_url":"https://api.github.com/users/betatim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betatim/subscriptions","organizations_url":"https://api.github.com/users/betatim/orgs","repos_url":"https://api.github.com/users/betatim/repos","events_url":"https://api.github.com/users/betatim/events{/privacy}","received_events_url":"https://api.github.com/users/betatim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/betatim/lhcb-first-analysis-steps","description":"LHCb data analysis lessons","fork":false,"url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps","forks_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/forks","keys_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/teams","hooks_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/hooks","issue_events_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/issues/events{/number}","events_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/events","assignees_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/assignees{/user}","branches_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/branches{/branch}","tags_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/tags","blobs_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/git/refs{/sha}","trees_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/statuses/{sha}","languages_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/languages","stargazers_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/stargazers","contributors_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/contributors","subscribers_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/subscribers","subscription_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/subscription","commits_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/commits{/sha}","git_commits_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/git/commits{/sha}","comments_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/comments{/number}","issue_comment_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/issues/comments{/number}","contents_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/contents/{+path}","compare_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/merges","archive_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/downloads","issues_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/issues{/number}","pulls_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/pulls{/number}","milestones_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/milestones{/number}","notifications_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/labels{/name}","releases_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/releases{/id}","created_at":"2015-04-16T09:13:10Z","updated_at":"2015-04-30T08:50:53Z","pushed_at":"2015-05-07T08:49:37Z","git_url":"git://github.com/betatim/lhcb-first-analysis-steps.git","ssh_url":"git@github.com:betatim/lhcb-first-analysis-steps.git","clone_url":"https://github.com/betatim/lhcb-first-analysis-steps.git","svn_url":"https://github.com/betatim/lhcb-first-analysis-steps","homepage":"http://betatim.github.io/lhcb-first-analysis-steps/","size":803,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"betatim:gh-pages","ref":"gh-pages","sha":"e15eb77488c84c6a0015fc70ec5e99aff20b995b","user":{"login":"betatim","id":1448859,"avatar_url":"https://avatars.githubusercontent.com/u/1448859?v=3","gravatar_id":"","url":"https://api.github.com/users/betatim","html_url":"https://github.com/betatim","followers_url":"https://api.github.com/users/betatim/followers","following_url":"https://api.github.com/users/betatim/following{/other_user}","gists_url":"https://api.github.com/users/betatim/gists{/gist_id}","starred_url":"https://api.github.com/users/betatim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betatim/subscriptions","organizations_url":"https://api.github.com/users/betatim/orgs","repos_url":"https://api.github.com/users/betatim/repos","events_url":"https://api.github.com/users/betatim/events{/privacy}","received_events_url":"https://api.github.com/users/betatim/received_events","type":"User","site_admin":false},"repo":{"id":34045911,"name":"lhcb-first-analysis-steps","full_name":"betatim/lhcb-first-analysis-steps","owner":{"login":"betatim","id":1448859,"avatar_url":"https://avatars.githubusercontent.com/u/1448859?v=3","gravatar_id":"","url":"https://api.github.com/users/betatim","html_url":"https://github.com/betatim","followers_url":"https://api.github.com/users/betatim/followers","following_url":"https://api.github.com/users/betatim/following{/other_user}","gists_url":"https://api.github.com/users/betatim/gists{/gist_id}","starred_url":"https://api.github.com/users/betatim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betatim/subscriptions","organizations_url":"https://api.github.com/users/betatim/orgs","repos_url":"https://api.github.com/users/betatim/repos","events_url":"https://api.github.com/users/betatim/events{/privacy}","received_events_url":"https://api.github.com/users/betatim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/betatim/lhcb-first-analysis-steps","description":"LHCb data analysis lessons","fork":false,"url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps","forks_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/forks","keys_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/teams","hooks_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/hooks","issue_events_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/issues/events{/number}","events_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/events","assignees_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/assignees{/user}","branches_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/branches{/branch}","tags_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/tags","blobs_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/git/refs{/sha}","trees_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/statuses/{sha}","languages_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/languages","stargazers_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/stargazers","contributors_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/contributors","subscribers_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/subscribers","subscription_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/subscription","commits_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/commits{/sha}","git_commits_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/git/commits{/sha}","comments_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/comments{/number}","issue_comment_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/issues/comments{/number}","contents_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/contents/{+path}","compare_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/merges","archive_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/downloads","issues_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/issues{/number}","pulls_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/pulls{/number}","milestones_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/milestones{/number}","notifications_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/labels{/name}","releases_url":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/releases{/id}","created_at":"2015-04-16T09:13:10Z","updated_at":"2015-04-30T08:50:53Z","pushed_at":"2015-05-07T08:49:37Z","git_url":"git://github.com/betatim/lhcb-first-analysis-steps.git","ssh_url":"git@github.com:betatim/lhcb-first-analysis-steps.git","clone_url":"https://github.com/betatim/lhcb-first-analysis-steps.git","svn_url":"https://github.com/betatim/lhcb-first-analysis-steps","homepage":"http://betatim.github.io/lhcb-first-analysis-steps/","size":803,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/pulls/3"},"html":{"href":"https://github.com/betatim/lhcb-first-analysis-steps/pull/3"},"issue":{"href":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/issues/3"},"comments":{"href":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/betatim/lhcb-first-analysis-steps/statuses/a573a86fad763fa2fd652a94cfb0489992964d83"}}}}