JelleAalbers / blueice

Build Likelihoods Using Efficient Interpolations and monte-Carlo generated Events
BSD 3-Clause "New" or "Revised" License
9 stars 9 forks source link

Histogram PDF class #12

Closed pelssers closed 8 years ago

pelssers commented 8 years ago

This PR implements a HistogramPdf class derived from the Source class and parent to the DensityEstimatingSource class. It is useful for Sources that get their PDF values from a histogram (stored as multihist Histdd object) instead of some other (analytical/numerical/continuous) function which may be expensive to compute. Secondly this class is used by DensityEstimatingSource to store its events and do density estimation.