GooFit  v2.1.3
MixingTimeResolution_Aux.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <goofit/PDFs/GooPdf.h>
5 
6 namespace GooFit {
7 
9  fptype, fptype, fptype, fptype, fptype, fptype, fptype, fptype, fptype, fptype *, unsigned int *);
11 
13  public:
16 
17  void initIndex(void *dev_fcn_ptr = host_fcn_ptr);
18 
19  virtual fptype
20  normalisation(fptype di1, fptype di2, fptype di3, fptype di4, fptype tau, fptype xmixing, fptype ymixing) const = 0;
21  virtual void createParameters(std::vector<unsigned int> &pindices, PdfBase *dis) = 0;
22  int getDeviceFunction() const { return resFunctionIdx; }
23  int getCalcTauIdx() const { return resCalcTauFcnIdx; }
24  void setCalcTauIdx(int idx) { resCalcTauFcnIdx = idx; }
25 
26  private:
27  int resFunctionIdx;
28  int resCalcTauFcnIdx;
29 };
30 } // namespace GooFit
double fptype
virtual void createParameters(std::vector< unsigned int > &pindices, PdfBase *dis)=0
virtual fptype normalisation(fptype di1, fptype di2, fptype di3, fptype di4, fptype tau, fptype xmixing, fptype ymixing) const =0
fptype(* device_calc_tau_fcn_ptr)(fptype, fptype, fptype, fptype, fptype, fptype, fptype)
void initIndex(void *dev_fcn_ptr=host_fcn_ptr)
fptype(* device_resfunction_ptr)(fptype, fptype, fptype, fptype, fptype, fptype, fptype, fptype, fptype, fptype *, unsigned int *)
void * host_fcn_ptr