Open me25hage opened 6 years ago
Let's make the matrix one use this style of plotting, so people can envision it as a pixel detector of some sort.
https://stackoverflow.com/questions/43971138/python-plotting-colored-grid-based-on-values
Also, we'll add more pixels and have the code get the data from the h5hep file to plot.
Examples:
Sparse matrices - diff number of entries for each matrix and diff x and y indices per matrix. group is pixels and counter is npix. Inside groups is x and y.
Map square matrix onto a cylinder. Z and theta dependence. 3 layers of matrices. Groups are layer1, layer2, layer3.
Suppose you have a track associated with 7 hits in a tracker. Or you have 500 tracks and 7 are used to reconstruct a jet, how do you store that?