WCSim/WCSim — pull request #27 by eosullivan (2014-11-24 21:38:03+00:00)
Title: Fixed some bugs in the dark rate function, as pointed out by Trevor Stew...

...art. The first bug was that the TotalPe was not being incremented if the PMT was not in the original hit array. The second bug involved an error in array index of the list array, also in the loop where the PMT had not been originally hit. I have changed the indices of the list array to now run between 1 and number of PMTs. I have also added in comments to make this function a bit easier to understand.