{"action":"opened","issue":{"url":"https://api.github.com/repos/WCSim/WCSim/issues/104","labels_url":"https://api.github.com/repos/WCSim/WCSim/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/WCSim/WCSim/issues/104/comments","events_url":"https://api.github.com/repos/WCSim/WCSim/issues/104/events","html_url":"https://github.com/WCSim/WCSim/issues/104","id":98213933,"number":104,"title":"Implement optical photon tracking, and include this information in the output","user":{"login":"cvilelasbu","id":11177614,"avatar_url":"https://avatars.githubusercontent.com/u/11177614?v=3","gravatar_id":"","url":"https://api.github.com/users/cvilelasbu","html_url":"https://github.com/cvilelasbu","followers_url":"https://api.github.com/users/cvilelasbu/followers","following_url":"https://api.github.com/users/cvilelasbu/following{/other_user}","gists_url":"https://api.github.com/users/cvilelasbu/gists{/gist_id}","starred_url":"https://api.github.com/users/cvilelasbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvilelasbu/subscriptions","organizations_url":"https://api.github.com/users/cvilelasbu/orgs","repos_url":"https://api.github.com/users/cvilelasbu/repos","events_url":"https://api.github.com/users/cvilelasbu/events{/privacy}","received_events_url":"https://api.github.com/users/cvilelasbu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-30T16:45:05Z","updated_at":"2015-07-30T16:45:05Z","closed_at":null,"body":"For the treatment of scattered light, fiTQun requires the information of whether or not hit-generating photons have scattered or reflected in the detector. This data is used to compile the look-up tables that are used to predict the amount of scattered light at each PMT, for a given track hypothesis.\r\n\r\nThis should be implemented in a general way, so that it can be used for studies other than fiTQun tuning.\r\n\r\nFor each p.e., the following information should be accessible:\r\n* The index of the true track that radiated the optical photon\r\n* The PMT number (index?) where the hit was produced\r\n* For each optical photon interaction, as the photon is propagated to the PMT:\r\n  * The type of interaction\r\n  * The position of the interaction (?)\r\n  * The direction of the optical photon after the interaction (?)\r\n  * The energy of the photon after the interaction (?)\r\n\r\nThe items with `(?)` are not required for fiTQun tuning, but there might be a general interest in keeping them."}}