filters for initial state partons

Same as pull request 318 but for CMSSW_7_0_X