filters for initial state partons

Same as pull request 318 but for CMSSW_6_2_X