Added checking of number of events in input ParticleTree
Added an option with calculating prime factors to the splitter