Cluster Lorenz-Vector Analysis

 

    Today's main productivity consisted in figuring out (the hard way) what I was doing wrong, and working to improve existing methods. I'm thinking of re-defining the 'Belong' array (the array that contains all the information about which towers belong to which other towers to form clusters) because right now every tower in a cluster belongs to all the others. I would much rather have all the other towers belong to the one with the highest energy and nothing more, but that requires that I drastically change the way the program uses the array.

    I'm beginning to think that the program could use a bit of trimming as a whole. There could be some operations that would take well to being consolidated, and I want to find those. 

    As far as actual Lorentz-Vector work, I now officially have Lorentz vectors for each hit tower (incorrectly referred to as 'particles' in many places), and I need to take these and add them together by cluster, to get the actual Lorentz vectors of real particles (photons, in this case). This is what started me looking back to the cluster-making part of the program this morning.