Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
buildLikelihood.h
Go to the documentation of this file.
1/*
2 * Project: RooFit
3 * Authors:
4 * PB, Patrick Bos, Netherlands eScience Center, p.bos@esciencecenter.nl
5 *
6 * Copyright (c) 2021, CERN
7 *
8 * Redistribution and use in source and binary forms,
9 * with or without modification, are permitted according to the terms
10 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
11 */
12
13#ifndef ROOT_ROOFIT_TESTSTATISTICS_likelihood_builders
14#define ROOT_ROOFIT_TESTSTATISTICS_likelihood_builders
15
18
19#include <memory>
20
21// forward declarations
22class RooAbsPdf;
23class RooAbsData;
24
25namespace RooFit {
26namespace TestStatistics {
27
28std::unique_ptr<RooAbsL>
30 ConstrainedParameters constrained_parameters = {}, ExternalConstraints external_constraints = {},
31 GlobalObservables global_observables = {}, std::string global_observables_tag = {});
32
33// delegating builder calls, for more convenient "optional" parameter passing
34std::unique_ptr<RooAbsL>
35buildLikelihood(RooAbsPdf* pdf, RooAbsData* data, ConstrainedParameters constrained_parameters);
36std::unique_ptr<RooAbsL> buildLikelihood(RooAbsPdf* pdf, RooAbsData* data, ExternalConstraints external_constraints);
37std::unique_ptr<RooAbsL> buildLikelihood(RooAbsPdf* pdf, RooAbsData* data, GlobalObservables global_observables);
38std::unique_ptr<RooAbsL> buildLikelihood(RooAbsPdf* pdf, RooAbsData* data, std::string global_observables_tag);
39std::unique_ptr<RooAbsL>
40buildLikelihood(RooAbsPdf *pdf, RooAbsData *data, ConstrainedParameters constrained_parameters, GlobalObservables global_observables);
41
42}
43}
44
45#endif // ROOT_ROOFIT_TESTSTATISTICS_likelihood_builders
RooAbsData is the common abstract base class for binned and unbinned datasets.
Definition RooAbsData.h:82
RooCmdArg GlobalObservables(Args_t &&... argsOrArgSet)
RooCmdArg ExternalConstraints(const RooArgSet &constraintPdfs)
std::unique_ptr< RooAbsL > buildLikelihood(RooAbsPdf *pdf, RooAbsData *data, RooAbsL::Extended extended=RooAbsL::Extended::Auto, ConstrainedParameters constrained_parameters={}, ExternalConstraints external_constraints={}, GlobalObservables global_observables={}, std::string global_observables_tag={})
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Definition Common.h:18