GooFit  v2.1.3
CompositePdf.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <goofit/PDFs/GooPdf.h>
4 
5 namespace GooFit {
6 
7 // Composites of arbitrary functions, ie f(x) = h(g(x))
8 // for any h and g. In principle we should allow multi-
9 // dimensional compositing, eg f(x, y) = i(g(x, y), h(x, y)).
10 // Not implemented yet.
11 
12 class CompositePdf : public GooPdf {
13  public:
14  CompositePdf(std::string n, PdfBase *core, PdfBase *shell); // Where 'core' corresponds to 'g' and 'shell' to 'h'.
15  __host__ fptype normalize() const override;
16 
17  private:
18 };
19 } // namespace GooFit
double fptype
CompositePdf(std::string n, PdfBase *core, PdfBase *shell)
__host__ fptype normalize() const override