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

Likelihood sum wrapper and negative events #17

Closed kdund closed 7 years ago

kdund commented 7 years ago

This branch adds -a LogLikelihoodSum wrapper that takes multiple LogLikelihood objects and can be passed to optimisers, inference methods to compute combined fits. -by setting the flag allowed_negative for a source, a rate multiplier for this source will be allowed to be negative. Checks for positive rates are bypassed for this source, while the total rate must still be positive. Setting the outlier_likelihood forces the "local" pdf to be positive at each data-point. So far, this has been written only for unbinned likelihoods.