{"action":"created","comment":{"url":"https://api.github.com/repos/WCSim/WCSim/pulls/comments/35219477","id":35219477,"diff_hunk":"@@ -0,0 +1,127 @@\n+#include \"WCSimWCDigitizerBase.hh\"\n+#include \"WCSimWCPMT.hh\"\n+#include \"WCSimWCDigi.hh\"\n+#include \"WCSimWCHit.hh\"\n+#include \"G4EventManager.hh\"\n+#include \"G4Event.hh\"\n+#include \"G4SDManager.hh\"\n+#include \"G4DigiManager.hh\"\n+#include \"G4ios.hh\"\n+#include \"G4RotationMatrix.hh\"\n+#include \"G4ThreeVector.hh\"\n+\n+#include \"WCSimDetectorConstruction.hh\"\n+#include \"WCSimPmtInfo.hh\"\n+#include \"WCSimDarkRateMessenger.hh\"\n+\n+#include <vector>\n+// for memset\n+#include <cstring>\n+#include <iostream>\n+\n+#ifndef WCSIMWCDIGITIZERBASE_VERBOSE\n+//#define WCSIMWCDIGITIZERBASE_VERBOSE\n+#endif\n+\n+// changed from 940 (april 2005) by MF\n+// 960 is unsuitable\n+\n+//RawSignalHitCollection *collection = new RawSignalHitCollection;\n+\n+WCSimWCDigitizerBase::WCSimWCDigitizerBase(G4String name,\n+\t\t\t\t\t   WCSimDetectorConstruction* myDetector,\n+\t\t\t\t\t   WCSimWCDAQMessenger* myMessenger)\n+  :G4VDigitizerModule(name)\n+{\n+  G4String colName = \"WCDigitizedStoreCollection\";\n+  this->myDetector = myDetector;","path":"src/WCSimWCDigitizerBase.cc","position":37,"original_position":37,"commit_id":"4df38eb217627ef5f8afa8411325ef32b5aab29e","original_commit_id":"4df38eb217627ef5f8afa8411325ef32b5aab29e","user":{"login":"AlexFinch","id":11571229,"avatar_url":"https://avatars.githubusercontent.com/u/11571229?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexFinch","html_url":"https://github.com/AlexFinch","followers_url":"https://api.github.com/users/AlexFinch/followers","following_url":"https://api.github.com/users/AlexFinch/following{/other_user}","gists_url":"https://api.github.com/users/AlexFinch/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexFinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexFinch/subscriptions","organizations_url":"https://api.github.com/users/AlexFinch/orgs","repos_url":"https://api.github.com/users/AlexFinch/repos","events_url":"https://api.github.com/users/AlexFinch/events{/privacy}","received_events_url":"https://api.github.com/users/AlexFinch/received_events","type":"User","site_admin":false},"body":" move this->myDetector = myDetector; to  myDetector(myDetector) in initializer list \r\n","created_at":"2015-07-22T14:37:33Z","updated_at":"2015-07-22T14:37:33Z","html_url":"https://github.com/WCSim/WCSim/pull/89#discussion_r35219477","pull_request_url":"https://api.github.com/repos/WCSim/WCSim/pulls/89","_links":{"self":{"href":"https://api.github.com/repos/WCSim/WCSim/pulls/comments/35219477"},"html":{"href":"https://github.com/WCSim/WCSim/pull/89#discussion_r35219477"},"pull_request":{"href":"https://api.github.com/repos/WCSim/WCSim/pulls/89"}}},"pull_request":{"url":"https://api.github.com/repos/WCSim/WCSim/pulls/89","id":40103203,"html_url":"https://github.com/WCSim/WCSim/pull/89","diff_url":"https://github.com/WCSim/WCSim/pull/89.diff","patch_url":"https://github.com/WCSim/WCSim/pull/89.patch","issue_url":"https://api.github.com/repos/WCSim/WCSim/issues/89","number":89,"state":"open","locked":false,"title":"Feature/issue11 - separate the digitization and triggering code","user":{"login":"stewartt1982","id":11159081,"avatar_url":"https://avatars.githubusercontent.com/u/11159081?v=3","gravatar_id":"","url":"https://api.github.com/users/stewartt1982","html_url":"https://github.com/stewartt1982","followers_url":"https://api.github.com/users/stewartt1982/followers","following_url":"https://api.github.com/users/stewartt1982/following{/other_user}","gists_url":"https://api.github.com/users/stewartt1982/gists{/gist_id}","starred_url":"https://api.github.com/users/stewartt1982/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewartt1982/subscriptions","organizations_url":"https://api.github.com/users/stewartt1982/orgs","repos_url":"https://api.github.com/users/stewartt1982/repos","events_url":"https://api.github.com/users/stewartt1982/events{/privacy}","received_events_url":"https://api.github.com/users/stewartt1982/received_events","type":"User","site_admin":false},"body":"This commit is to provide a re-write of the digitisation and triggering in WCSim (see issue <a href=https://github.com/WCSim/WCSim/issues/11>#11</a>).  The digitisation and triggering are independent from each other and can new digitisation and trigger algorithms can be developed and easily changed.  More details of this pull request can be seen in the talk <a href=http://www-sk.icrr.u-tokyo.ac.jp/indico/getFile.py/access?sessionId=0&resId=0&materialId=0&confId=2396>here</a>.\r\n\r\nIn this pull request the existing WCSim digitiser and trigger are available.  This will be removed in a future pull request.\r\n\r\n## New File Descriptions\r\n**WCSimWCAddDarkNoise.cc/WCSimWCAddDarkNoise.hh** - The original **WCSimWCDigitiser** class adds dark noise hits to the found gates.  The new routine **WCSimWCAddDarkNoise** adds hits before gates have been found. To add noise there are two methods available described in the section on **WCSimDarkRateMessenger**\r\nwith **time** given in nanoseconds.\r\n\r\n**WCSimWCDAQMessenger.cc/WCSimWCDAQMessenger.hh** - Class handles options set in the jobOptions.mac file to allow the trigger and digitisation algorithms to be specified.\r\n* **/DAQ/Digitizer `<Digitizer Name>`** - current options: SKI_SKDETSIM uses the existing digitizer and trigger in WCSim. SKI and SKIV use digitizer defined in WCSimWCDigitizerSK.hh/WCSimWCDigitizerSK.cc (just with different deadtime values). It should be noted that SKIV isn’t strictly SKIV electronics.\r\n* **/DAQ/Trigger `<Trigger Name>`** - current options: NHits (use WCSimWCTriggerNHits - a simple Nhits-type trigger), NHits2 (use WCSimWCTriggerNHits2), SKI_SKDETSIM (use existing digitiser & trigger).\r\n* **/DAQ/TriggerNHits/Threshold `<Trigger threshold for NHits trigger>`**\r\n* **/DAQ/TriggerNHits/Window `<Width of the NHits window in nanoseconds>`**\r\n\r\n\r\n**WCSimWCDigitizerBase.hh/WCSimWCDigitizerBase.cc** - A new base class from which all digitizers inherit. Defines new WCSimWCDigitsCollection* DigiStore where digits are stored. These digits are used as input into a trigger class which inherit from WCSimWCTriggerBase.cc.\r\n \r\n* **void AddNewDigit(int tube, int gate, float digihittime, float peSmeared, std::vector`< std::pair<int,int> >` digi_comp)** - Adds a new digit to the DigiStore WCSimWCDigitsCollection object\r\n* virtual void DigitizeHits(WCSimWCDigitsCollection* WCHCPMT) - virtual method which must be implemented by classes which derive from *WCSimWCDigitizerBase*.\r\n\r\n\r\n**WCSimWCDigitizerSK.cc** - A SK-like digitization.\r\n\r\n**WCSimWCTriggerBase.hh/WCSimWCTriggerBase.cc** - A new base class from which all triggers inherit. The input WCSimWCDigitsCollection*  DigiStore defined in the class **WCSimWCDigitizerBase** used as input.  Input from WCSimWCDAQMessenger Nhits threshold, trigger window width. Classes which inherit from WCSimWCTriggerBase must define **virtual void DoTheWork(WCSimWCDigitsCollection* WCDCPMT)** which calls the trigger algorithm.  Currently one trigger algorithm is implemented **void AlgNHits(WCSimWCDigitsCollection* WCDCPMT, bool remove_hits, bool test=false)** which defines a SK-like Nhits trigger.\r\n\r\nCurrently all algorithms are defined in the base class. This is to avoid code duplication in the case where one wants to apply multiple trigger algorithms consecutively, and the second trigger acts on the ‘failed digits’ of the first trigger. It is unclear as to whether this is algorithmically the best way to do things; multiple triggers may instead be defined in the same algorithm, in which case the algorithms should be moved to the concrete implementation classes.\r\n\r\n**WCSimWCTriggerNHits.cc** - Defines a NHits trigger.  Inherits from WCSimWCTriggerBase.\r\n\r\n**WCSimWCTriggerNHits2.cc** - A second NHits trigger. This calls the NHits trigger algorithm 2 times. The second call to the NHits algorithm is called on hits that failed the first algorithm. This is a test of applying multiple trigger algorithms consecutively, with the second trigger acts on the ‘failed digits’ of the first trigger. Still in development.\r\n\r\n**WCSimEnumerations.hh** - A second NHits trigger. This calls the NHits trigger algorithm 2 times. The second call to the NHits algorithm is called on hits that failed the first algorithm. This is a test of applying multiple trigger algorithms consecutively, with the second trigger acts on the ‘failed digits’ of the first trigger. Still in development.\r\n\r\n\r\n## Modified file descriptions\r\n**WCSimDarkRateMessenger.hh/WCSimDarkRateMessenger.cc** \r\nAdds the ability to use the new dark noise class WCSimWCAddDarkNoise.  There are two modes for adding dark noise available, implemented in a new constructor **WCSimDarkRateMessenger(WCSimWCAddDarkNoise*)**\r\n\r\n**/DarkRate/SetDarkMode 0** adds noise hits to a window specified by a start and end time\r\n* **/DarkRate/SetDarkLow `<time1>`**\r\n* **/DarkRate/SetDarkHigh `<time2>`**\r\n\r\nand\r\n\r\n**/DarkRate/SetDarkMode 1** adds dark noise hits to a window of width specified by:\r\n* **/DarkRate/SetDarkWindow `<time>`**\r\n\r\nwhere **time** is the size of the window in nanoseconds to add dark noise to centred on the hit (e.g.  Hit time +/- **time**/2).  If a window around a hit overlaps with another window around a hit then the windows are merge taking the window which maximises the window size.\r\n\r\nThe existing **/DarkRate/SetFrequency** and **/DarkRate/SetConvert** are still used.  \r\n\r\n**WCSimDarkRateMessenger::WCSimDarkRateMessenger(WCSimWCAddDarkNoise* darkratepoint):WCSimAddDarkNoise(darkratepoint)** added to allow parameters to be passed to **WCSimWCAddDarkNoise**.\r\n\r\n**WCSimWCAddDarkNoise.cc/WCSimWCAddDarkNoise.cc** - Dark noise routine to add noise before digitization and triggering.  Called in WCSimEventAction using parameters set in .mac file.  Noise is added before digitisation and triggering.  Either **mode 0** or **mode 1** must be used as described above. If **WCSimWCDigitizer** class is used the original dark noise routine is used.\r\n\r\n**WCSimEventAction.cc** - Now calls user specified digitisation and trigger classes in addition to the existing WCSimWCDigitizer. Details of selecting between digitisers described in section on **WCSimWCDAQMessenger.cc**.  \r\n\r\n**WCSimEventAction.hh** -  Implements void SetDigitizerChoice(G4String digitizer) and void SetTriggerChoice(G4String trigger) to set strings for the chosen digitizer and trigger. Also passes the DigitizerBase & TriggerBase pointers around appropriately. Also saves the raw hits in the correct order for the digit composition information to be valid.\r\n\r\n**WCSimRootEvent.hh/WCSimRootEvent.cc** - Write two new pieces of information included in the root file. \r\n* The ID for each photon making up a digit.\r\n* Information on the trigger algorithm used and generic trigger information (e.g. how many hits in the NHits trigger window)\r\n\r\n**WCSimWCDigi.hh** - Multiple changes to WCSimWCDigi.hh.  \r\nA helper routine **void SortArrayByHitTime()** which sorts **std::map`<int,float>` pe** and **std::map`<int,float>` time** by time (smallest to largest). \r\n\r\n**std::vector`< std::pair<int,int> >` fDigiComp** which stores an ID for each photon making up a digit. There can be more than one digit in stores in a WCSimWCDigi object, hence the vector contains: `<digit number, photon id>` where the photon id is the index of the photon in the input DigitsCollection.\r\n\r\n**inline void AddPhotonToDigiComposition(int digi_number, int photon_number)** Used to add an photon id to a digit\r\n\r\n**void AddDigiCompositionInfo(std::vector`< std::pair<int,int> >` &digi_comp)**\r\nSimilar to the above but adds an entire vector of photon id to a digit\r\n\r\n**WCSimWCDigi.cc**\r\n\r\n**std::vector`<int>` WCSimWCDigi::GetDigiCompositionInfo(int gate)** \r\nDefines a method to return a vector of photon ids for a specific trigger.\r\n\r\n**void WCSimWCDigi::RemoveDigitizedGate(G4int gate)**\r\nThis removes an element from the maps, vectors, and sets, and counters that were filled by WCSimWCDigitizerBase::AddNewDigit().\r\n\r\n\r\n**WCSim.cc** - Added the creation of a **WCSimWCDAQMessenger** object which reads from the jobOptions.mac file to get DAQ configurations (to specify which trigger and digitisation to be used).\r\n\r\n**WCSimDetectorConstruction.hh** - Add method GetDetectorName() to return the detector name WCDetectorName.\r\n\r\n**WCSimWCDigitizer.hh/WCSimWCDigitizer.cc** - Class now inherits from WCSimWCTriggerBase. Also correctly fills the new variables with trigger type/additional information & photon composition of the digit.\r\n\r\n\r\n\r\n","created_at":"2015-07-16T07:55:03Z","updated_at":"2015-07-22T14:37:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a84b45dda5df9a4b9dd560d239b1bf38ab3db7a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/WCSim/WCSim/pulls/89/commits","review_comments_url":"https://api.github.com/repos/WCSim/WCSim/pulls/89/comments","review_comment_url":"https://api.github.com/repos/WCSim/WCSim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WCSim/WCSim/issues/89/comments","statuses_url":"https://api.github.com/repos/WCSim/WCSim/statuses/4df38eb217627ef5f8afa8411325ef32b5aab29e","head":{"label":"stewartt1982:feature/issue11","ref":"feature/issue11","sha":"4df38eb217627ef5f8afa8411325ef32b5aab29e","user":{"login":"stewartt1982","id":11159081,"avatar_url":"https://avatars.githubusercontent.com/u/11159081?v=3","gravatar_id":"","url":"https://api.github.com/users/stewartt1982","html_url":"https://github.com/stewartt1982","followers_url":"https://api.github.com/users/stewartt1982/followers","following_url":"https://api.github.com/users/stewartt1982/following{/other_user}","gists_url":"https://api.github.com/users/stewartt1982/gists{/gist_id}","starred_url":"https://api.github.com/users/stewartt1982/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewartt1982/subscriptions","organizations_url":"https://api.github.com/users/stewartt1982/orgs","repos_url":"https://api.github.com/users/stewartt1982/repos","events_url":"https://api.github.com/users/stewartt1982/events{/privacy}","received_events_url":"https://api.github.com/users/stewartt1982/received_events","type":"User","site_admin":false},"repo":{"id":31207497,"name":"WCSim","full_name":"stewartt1982/WCSim","owner":{"login":"stewartt1982","id":11159081,"avatar_url":"https://avatars.githubusercontent.com/u/11159081?v=3","gravatar_id":"","url":"https://api.github.com/users/stewartt1982","html_url":"https://github.com/stewartt1982","followers_url":"https://api.github.com/users/stewartt1982/followers","following_url":"https://api.github.com/users/stewartt1982/following{/other_user}","gists_url":"https://api.github.com/users/stewartt1982/gists{/gist_id}","starred_url":"https://api.github.com/users/stewartt1982/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewartt1982/subscriptions","organizations_url":"https://api.github.com/users/stewartt1982/orgs","repos_url":"https://api.github.com/users/stewartt1982/repos","events_url":"https://api.github.com/users/stewartt1982/events{/privacy}","received_events_url":"https://api.github.com/users/stewartt1982/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stewartt1982/WCSim","description":"The WCSim GEANT4 application","fork":true,"url":"https://api.github.com/repos/stewartt1982/WCSim","forks_url":"https://api.github.com/repos/stewartt1982/WCSim/forks","keys_url":"https://api.github.com/repos/stewartt1982/WCSim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stewartt1982/WCSim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stewartt1982/WCSim/teams","hooks_url":"https://api.github.com/repos/stewartt1982/WCSim/hooks","issue_events_url":"https://api.github.com/repos/stewartt1982/WCSim/issues/events{/number}","events_url":"https://api.github.com/repos/stewartt1982/WCSim/events","assignees_url":"https://api.github.com/repos/stewartt1982/WCSim/assignees{/user}","branches_url":"https://api.github.com/repos/stewartt1982/WCSim/branches{/branch}","tags_url":"https://api.github.com/repos/stewartt1982/WCSim/tags","blobs_url":"https://api.github.com/repos/stewartt1982/WCSim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stewartt1982/WCSim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stewartt1982/WCSim/git/refs{/sha}","trees_url":"https://api.github.com/repos/stewartt1982/WCSim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stewartt1982/WCSim/statuses/{sha}","languages_url":"https://api.github.com/repos/stewartt1982/WCSim/languages","stargazers_url":"https://api.github.com/repos/stewartt1982/WCSim/stargazers","contributors_url":"https://api.github.com/repos/stewartt1982/WCSim/contributors","subscribers_url":"https://api.github.com/repos/stewartt1982/WCSim/subscribers","subscription_url":"https://api.github.com/repos/stewartt1982/WCSim/subscription","commits_url":"https://api.github.com/repos/stewartt1982/WCSim/commits{/sha}","git_commits_url":"https://api.github.com/repos/stewartt1982/WCSim/git/commits{/sha}","comments_url":"https://api.github.com/repos/stewartt1982/WCSim/comments{/number}","issue_comment_url":"https://api.github.com/repos/stewartt1982/WCSim/issues/comments{/number}","contents_url":"https://api.github.com/repos/stewartt1982/WCSim/contents/{+path}","compare_url":"https://api.github.com/repos/stewartt1982/WCSim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stewartt1982/WCSim/merges","archive_url":"https://api.github.com/repos/stewartt1982/WCSim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stewartt1982/WCSim/downloads","issues_url":"https://api.github.com/repos/stewartt1982/WCSim/issues{/number}","pulls_url":"https://api.github.com/repos/stewartt1982/WCSim/pulls{/number}","milestones_url":"https://api.github.com/repos/stewartt1982/WCSim/milestones{/number}","notifications_url":"https://api.github.com/repos/stewartt1982/WCSim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stewartt1982/WCSim/labels{/name}","releases_url":"https://api.github.com/repos/stewartt1982/WCSim/releases{/id}","created_at":"2015-02-23T12:39:01Z","updated_at":"2015-02-23T12:39:02Z","pushed_at":"2015-06-29T20:43:37Z","git_url":"git://github.com/stewartt1982/WCSim.git","ssh_url":"git@github.com:stewartt1982/WCSim.git","clone_url":"https://github.com/stewartt1982/WCSim.git","svn_url":"https://github.com/stewartt1982/WCSim","homepage":"","size":6114,"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":"develop"}},"base":{"label":"WCSim:develop","ref":"develop","sha":"d72a146096bb0d3caa29c82992b046cf4b01b2bb","user":{"login":"WCSim","id":8345981,"avatar_url":"https://avatars.githubusercontent.com/u/8345981?v=3","gravatar_id":"","url":"https://api.github.com/users/WCSim","html_url":"https://github.com/WCSim","followers_url":"https://api.github.com/users/WCSim/followers","following_url":"https://api.github.com/users/WCSim/following{/other_user}","gists_url":"https://api.github.com/users/WCSim/gists{/gist_id}","starred_url":"https://api.github.com/users/WCSim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WCSim/subscriptions","organizations_url":"https://api.github.com/users/WCSim/orgs","repos_url":"https://api.github.com/users/WCSim/repos","events_url":"https://api.github.com/users/WCSim/events{/privacy}","received_events_url":"https://api.github.com/users/WCSim/received_events","type":"Organization","site_admin":false},"repo":{"id":22649245,"name":"WCSim","full_name":"WCSim/WCSim","owner":{"login":"WCSim","id":8345981,"avatar_url":"https://avatars.githubusercontent.com/u/8345981?v=3","gravatar_id":"","url":"https://api.github.com/users/WCSim","html_url":"https://github.com/WCSim","followers_url":"https://api.github.com/users/WCSim/followers","following_url":"https://api.github.com/users/WCSim/following{/other_user}","gists_url":"https://api.github.com/users/WCSim/gists{/gist_id}","starred_url":"https://api.github.com/users/WCSim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WCSim/subscriptions","organizations_url":"https://api.github.com/users/WCSim/orgs","repos_url":"https://api.github.com/users/WCSim/repos","events_url":"https://api.github.com/users/WCSim/events{/privacy}","received_events_url":"https://api.github.com/users/WCSim/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WCSim/WCSim","description":"The WCSim GEANT4 application","fork":false,"url":"https://api.github.com/repos/WCSim/WCSim","forks_url":"https://api.github.com/repos/WCSim/WCSim/forks","keys_url":"https://api.github.com/repos/WCSim/WCSim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WCSim/WCSim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WCSim/WCSim/teams","hooks_url":"https://api.github.com/repos/WCSim/WCSim/hooks","issue_events_url":"https://api.github.com/repos/WCSim/WCSim/issues/events{/number}","events_url":"https://api.github.com/repos/WCSim/WCSim/events","assignees_url":"https://api.github.com/repos/WCSim/WCSim/assignees{/user}","branches_url":"https://api.github.com/repos/WCSim/WCSim/branches{/branch}","tags_url":"https://api.github.com/repos/WCSim/WCSim/tags","blobs_url":"https://api.github.com/repos/WCSim/WCSim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WCSim/WCSim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WCSim/WCSim/git/refs{/sha}","trees_url":"https://api.github.com/repos/WCSim/WCSim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WCSim/WCSim/statuses/{sha}","languages_url":"https://api.github.com/repos/WCSim/WCSim/languages","stargazers_url":"https://api.github.com/repos/WCSim/WCSim/stargazers","contributors_url":"https://api.github.com/repos/WCSim/WCSim/contributors","subscribers_url":"https://api.github.com/repos/WCSim/WCSim/subscribers","subscription_url":"https://api.github.com/repos/WCSim/WCSim/subscription","commits_url":"https://api.github.com/repos/WCSim/WCSim/commits{/sha}","git_commits_url":"https://api.github.com/repos/WCSim/WCSim/git/commits{/sha}","comments_url":"https://api.github.com/repos/WCSim/WCSim/comments{/number}","issue_comment_url":"https://api.github.com/repos/WCSim/WCSim/issues/comments{/number}","contents_url":"https://api.github.com/repos/WCSim/WCSim/contents/{+path}","compare_url":"https://api.github.com/repos/WCSim/WCSim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WCSim/WCSim/merges","archive_url":"https://api.github.com/repos/WCSim/WCSim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WCSim/WCSim/downloads","issues_url":"https://api.github.com/repos/WCSim/WCSim/issues{/number}","pulls_url":"https://api.github.com/repos/WCSim/WCSim/pulls{/number}","milestones_url":"https://api.github.com/repos/WCSim/WCSim/milestones{/number}","notifications_url":"https://api.github.com/repos/WCSim/WCSim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WCSim/WCSim/labels{/name}","releases_url":"https://api.github.com/repos/WCSim/WCSim/releases{/id}","created_at":"2014-08-05T15:46:00Z","updated_at":"2015-05-06T22:12:20Z","pushed_at":"2015-07-22T07:30:12Z","git_url":"git://github.com/WCSim/WCSim.git","ssh_url":"git@github.com:WCSim/WCSim.git","clone_url":"https://github.com/WCSim/WCSim.git","svn_url":"https://github.com/WCSim/WCSim","homepage":"","size":6778,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":28,"forks":31,"open_issues":28,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/WCSim/WCSim/pulls/89"},"html":{"href":"https://github.com/WCSim/WCSim/pull/89"},"issue":{"href":"https://api.github.com/repos/WCSim/WCSim/issues/89"},"comments":{"href":"https://api.github.com/repos/WCSim/WCSim/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/WCSim/WCSim/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/WCSim/WCSim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WCSim/WCSim/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/WCSim/WCSim/statuses/4df38eb217627ef5f8afa8411325ef32b5aab29e"}}}}