{"action":"created","issue":{"url":"https://api.github.com/repos/GRIFFINCollaboration/GRSISort/issues/804","repository_url":"https://api.github.com/repos/GRIFFINCollaboration/GRSISort","labels_url":"https://api.github.com/repos/GRIFFINCollaboration/GRSISort/issues/804/labels{/name}","comments_url":"https://api.github.com/repos/GRIFFINCollaboration/GRSISort/issues/804/comments","events_url":"https://api.github.com/repos/GRIFFINCollaboration/GRSISort/issues/804/events","html_url":"https://github.com/GRIFFINCollaboration/GRSISort/issues/804","id":185557261,"number":804,"title":"KValue","user":{"login":"MikeBowry","id":14794662,"avatar_url":"https://avatars1.githubusercontent.com/u/14794662?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeBowry","html_url":"https://github.com/MikeBowry","followers_url":"https://api.github.com/users/MikeBowry/followers","following_url":"https://api.github.com/users/MikeBowry/following{/other_user}","gists_url":"https://api.github.com/users/MikeBowry/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeBowry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeBowry/subscriptions","organizations_url":"https://api.github.com/users/MikeBowry/orgs","repos_url":"https://api.github.com/users/MikeBowry/repos","events_url":"https://api.github.com/users/MikeBowry/events{/privacy}","received_events_url":"https://api.github.com/users/MikeBowry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-10-27T02:21:15Z","updated_at":"2017-04-06T20:20:47Z","closed_at":null,"body":"I have been looking in more detail at a feature of the fragment trees that we have been seeing a lot of recently, namely the frequent instances of KValue==1. \n\nI did:\n`mdump -x /tig/daq08_data/griffin/Tests/run08087.mid`\nand extracted a portion of the data from 8 different GRIF-16 fragments containing data words VI-X. Specifically the data are for Number of Hits == 3 following the header:\n`------------------------ Event# 8433 --------------------------------\nEvid:0001- Mask:0000- Serial:8676- Time:0x580e3783- Dsize:10024/0x2728\n# banks:1 - Bank list:-GRF4-`\n\nRunning my own very basic script on these portions of data yields the following results:\n- i,  hits  TimeStamp   KValue  Charge\n- 1, 3,         2303586811,   360.0,      5865.1\n- 2, 3,         2303593148,   497.0,      3216.1\n- 3, 3,         2303612223,   399.0,      5.5\n- 4, 3,         2303643007,   186.0,      2712.9\n- 5, 3,         2303760273,   700.0,      47928.6\n- 6, 3,         2303829097,   142.0,      1264.4\n- 7, 3,         2303886636,    24.0,       1398087.5\n- 8, 3,         2303909047,    61.0,        550071.7\n\nI then cross checked the timestamps with the fragment tree for this same run and got:\n-  Row         fNumberOf   GetTimeSt   fKValue  GetCharge\n-  2098051, 65534,          23035868,   1,            5871.0\n- (not found)\n-  2098093, 65534,          230361222, 1,            -383.0\n-  2098147, 65534,          230364300, 1,            1895.0\n-  2098164, 65336,          230376027, 1,            -7.0\n-  2098202, 65534,          230382909, 1,            1269.0\n-  2098230, 65506,          230388663, 1,            -1027.0\n-  2098262, 65534,          230390904, 1,            1.0\n\nNote that entry 2 in the output of my script is missing in the fragment tree - I don't why (maybe the data got thrown out during the sort). However the rest of the timestamps are present and all have KValue==1. This is presumably the reason why GetCharge() does not match with the above as the KValue is incorrect. I guess we already know that fNumberOfPileups isn't quite working at the moment anyway.\n\nChris also managed to sort this run independently of GRSISort, and got very few instances of KValue==1.\n\nPerhaps someone looked at this already. I thought it was interesting. Apologies for poor formatting.\n"},"comment":{"url":"https://api.github.com/repos/GRIFFINCollaboration/GRSISort/issues/comments/292304644","html_url":"https://github.com/GRIFFINCollaboration/GRSISort/issues/804#issuecomment-292304644","issue_url":"https://api.github.com/repos/GRIFFINCollaboration/GRSISort/issues/804","id":292304644,"user":{"login":"MikeBowry","id":14794662,"avatar_url":"https://avatars1.githubusercontent.com/u/14794662?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeBowry","html_url":"https://github.com/MikeBowry","followers_url":"https://api.github.com/users/MikeBowry/followers","following_url":"https://api.github.com/users/MikeBowry/following{/other_user}","gists_url":"https://api.github.com/users/MikeBowry/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeBowry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeBowry/subscriptions","organizations_url":"https://api.github.com/users/MikeBowry/orgs","repos_url":"https://api.github.com/users/MikeBowry/repos","events_url":"https://api.github.com/users/MikeBowry/events{/privacy}","received_events_url":"https://api.github.com/users/MikeBowry/received_events","type":"User","site_admin":false},"created_at":"2017-04-06T20:20:47Z","updated_at":"2017-04-06T20:20:47Z","body":"Sorry for late reply. I'll remind Chris, but he is pretty busy with the filters and other things at the moment."}}
{"actor":{"display_login":"MikeBowry"}}