#include <hydra/FCN.h>
#include <hydra/PDFSumNonExtendable.h>
#include <hydra/detail/functors/LogLikelihood1.h>
#include <hydra/detail/external/hydra_thrust/transform_reduce.h>
#include <hydra/detail/external/hydra_thrust/inner_product.h>
#include <utility>
Go to the source code of this file.
|
| hydra |
| Generic policies definition.
|
|
|
template<typename... Pdfs, typename Iterator , typename ... Iterators> |
std::enable_if< hydra::detail::is_iterator< Iterator >::value &&detail::are_iterators< Iterators... >::value, LogLikelihoodFCN< PDFSumNonExtendable< Pdfs... >, Iterator, Iterators... > >::type | hydra::make_loglikehood_fcn (PDFSumNonExtendable< Pdfs... >const &pdf, Iterator first, Iterator last, Iterators... weights) |
| Conveniency function to build up loglikehood fcns. More...
|
|
template<typename ... Pdfs, typename Iterable , typename ... Iterables> |
std::enable_if<(!detail::is_iterator< Iterable >::value) &&((sizeof...(Iterables)==0)||!detail::are_iterators< Iterables... >::value) &&(!hydra::detail::is_hydra_dense_histogram< typename std::remove_reference< Iterable >::type >::value) &&(!hydra::detail::is_hydra_sparse_histogram< typename std::remove_reference< Iterable >::type >::value) &&hydra::detail::is_iterable< Iterable >::value &&detail::are_iterables< Iterables... >::value, LogLikelihoodFCN< PDFSumNonExtendable< Pdfs... >, decltype(std::declval< Iterable >).begin()), decltype(std::declval< Iterables >).begin())... > >::type | hydra::make_loglikehood_fcn (PDFSumNonExtendable< Pdfs... > const &functor, Iterable &&points, Iterables &&... weights) |
| Conveniency function to build up loglikehood fcns. More...
|
|
template<typename ... Pdfs, typename Histogram > |
std::enable_if< detail::is_hydra_dense_histogram< Histogram >::value||detail::is_hydra_sparse_histogram< Histogram >::value, LogLikelihoodFCN< PDFSumNonExtendable< Pdfs... >, decltype(std::declval< const Histogram & >).GetBinsCenters().begin()), decltype(std::declval< const Histogram & >).GetBinsContents().begin()) > >::type | hydra::make_loglikehood_fcn (PDFSumNonExtendable< Pdfs... > const &functor, Histogram const &points) |
| Convenience function to build up loglikehood fcns for densely and sparsely binned datasets. More...
|
|
◆ LOGLIKELIHOODFCN3_INL_
#define LOGLIKELIHOODFCN3_INL_ |