use processtype to choose primary particles