Split simulated sample into sub-components
Currently there is a one-to-one relationship between samples and produced histograms, but in many cases there is a need to split a simulated sample into sub-components based on some cut applied to generator-level quantities. Obvously the split components then need to be plotted with different colours.
The most straightforward way to do it would be to add a "cut" option in the sample's yml configuration, that would be evaluated at runtime, however that would require duplicating the sample's entry in the configuration file as many times as there are sub-processes to consider (meaning looping several times on the same sample, meaning jobs trying to access the same files simultaneously...). Unless someone has a better suggestion I'll look into implementing it...