filled in codes from example codes GsfElectronMCAnalyzer