...
As a simple first test, I trained an HMatrix using the first three values of the shape vector on electron clusters and calculated chi^2 values using the same electron data and pion data (see attached files ^SimpleHMatrixBuilder SimpleHMatrixBuilder.java and ^SimpleHMatrixTester.java). The histograms of these chi^2 values are below.
...