GooFit  v2.1.3
ExpPdf.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <goofit/PDFs/GooPdf.h>
4 
5 namespace GooFit {
6 
7 class ExpPdf : public GooPdf {
8  public:
9  ExpPdf(std::string n, Observable _x, Variable alpha);
10  ExpPdf(std::string n, Observable _x, std::vector<Variable> &weights);
11  ExpPdf(std::string n, Observable _x, Variable alpha, Variable offset);
12  ExpPdf(std::string n, Observable _x, std::vector<Variable> &weights, Variable offset);
13  __host__ fptype integrate(fptype lo, fptype hi) const override;
14  __host__ bool hasAnalyticIntegral() const override { return (1 == host_indices[parameters]); }
15 
16  private:
17 };
18 } // namespace GooFit
double fptype
unsigned int host_indices[maxParams]
Definition: PdfBase.cpp:31
std::vector< Variable > weights
__host__ bool hasAnalyticIntegral() const override
Definition: ExpPdf.h:14
Special class for observables. Used in DataSets.
Definition: Variable.h:109
unsigned int parameters
Definition: PdfBase.h:132
ExpPdf(std::string n, Observable _x, Variable alpha)
__host__ fptype integrate(fptype lo, fptype hi) const override