modify runLocalAnalysisOverSamples such that we can run right away on the miniAOD sample