zfit / zfit-development

The developement repository for zfit with roadmaps, internal docs etc to clean up the issues
0 stars 2 forks source link

Delegate sampling in SumPDF #53

Open jonas-eschle opened 4 years ago

jonas-eschle commented 4 years ago

The efficiency of summed pdf sampling can be improved by delegating the sampling, allowing the accept-reject to be invoked on the unavoidable subset only.

This can be done by using the fracs and a multinomial distribution to determine the number of values to be sampled.