Specialised SelectSubset<Particle> that also fixes daughter indices and all ParticleLists.
Removes all Particles that are not in a given list of ParticleLists (or daughters of those).
virtual void initialize() override
Initialize the Module.
virtual void event() override
process event
StoreArray< Particle > m_particles
StoreArray of Particles.
virtual void terminate() override
Terminate the Module.
unsigned long m_nTotal
number of particles before removal.
RemoveParticlesNotInListsModule()
Constructor.
ParticleSubset m_subset
reduces the Particles array.
std::vector< std::string > m_particleLists
keep Particles and daughters in these lists.
unsigned long m_nRemoved
number of particles removed.