fix proton mask constant error, extend getlorentzVector

Please change this to a switch/case statement.