Small tool to divide ParticleTree into events with particular number of tracks