fix proton mask constant error, extend getlorentzVector

Please put the "}" and the "else" on the same line and always use brackets, even if not needed, i.e.
`} else {
   args.push_back([...])
}`