Skip to content

How to reject events which have too may particles ?

dglazier edited this page May 14, 2020 · 1 revision

You can tell the event particle reader to ignore events with too many particles of any charge species. Currently the same number is used for all species (i.e. neutral, +ve, -ve)

For Run_XXX.C scripts you must set this using the final state manager

 fsm.GetEventParticles().SetMaxParticles(6);

For chanser_proof you must set the HipoProccesser Option

 chanser::HipoProcessor processor(&chain,"finalstates.txt");
 processor.AddOption("HIPOPROCESSOR_MAXPARTICLES","5");