Debugging...

 

      Running the clustering program over multiple jets is proving to be more complicated than I had thought. I have a piece of code that terminated the main clustering loop if the energy from the last cluster is equal to the energy of the current cluster (a sign that the most energetic particle in the jet is above the threshold energy, thus making the program loop indefinitely). This code works most of the time, but I'm running into some problems with (I think) the way I exclude charged particles from consideration.