GooFit  v2.1.3
InterHistPdf.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <goofit/BinnedDataSet.h>
4 #include <goofit/PDFs/GooPdf.h>
5 #include <thrust/device_vector.h>
6 
7 namespace GooFit {
8 
9 class InterHistPdf : public GooPdf {
10  public:
11  InterHistPdf(std::string n, BinnedDataSet *x, std::vector<Variable> params, std::vector<Observable> obses);
12  //__host__ virtual fptype normalize () const;
13 
14  private:
15  thrust::device_vector<fptype> *dev_base_histogram;
16  fptype totalEvents;
17  fptype *host_constants;
18  int numVars;
19 };
20 
21 } // namespace GooFit
double fptype
InterHistPdf(std::string n, BinnedDataSet *x, std::vector< Variable > params, std::vector< Observable > obses)