Code to analyze ntuples made by HcalTupleMaker