Macros to analyze max and min Pt of events