Refactoring for dN/deta tasks, more diagnostics histograms in event selector