modified run_EventAnalyzer.py