GooFit  v2.1.3
EventWeightedAddPdf.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <goofit/PDFs/GooPdf.h>
4 
5 namespace GooFit {
6 
7 // This class is just like AddPdf except that the
8 // event weights are properties of each event, not variables
9 // in the fit.
10 class EventWeightedAddPdf : public GooPdf {
11  public:
12  EventWeightedAddPdf(std::string n, std::vector<Observable> weights, std::vector<PdfBase *> comps);
13  __host__ fptype normalize() const override;
14  __host__ bool hasAnalyticIntegral() const override { return false; }
15 
16  protected:
17  private:
18 };
19 } // namespace GooFit
double fptype
std::vector< Variable > weights
EventWeightedAddPdf(std::string n, std::vector< Observable > weights, std::vector< PdfBase *> comps)
std::vector< PdfBase * > comps
__host__ bool hasAnalyticIntegral() const override
__host__ fptype normalize() const override