@couet How to skip nan numbers in txt file - #7 by Wile_E_Coyote
@dastudillo Checking “pion_invariant.M()” is not necessary (only the “weight_total” matters).
@Dil Histograms have no "wo_Inf_NaN" drawing option. Can it be that you “scale” the histogram (before drawing)? If yes, it could be that the “scaling factor” is invalid.