File indexing completed on 2024-04-06 12:22:42
0001
0002
0003
0004
0005
0006
0007 #ifndef CONVOLUTEDJPSIPDF
0008 #define CONVOLUTEDJPSIPDF
0009
0010 #include "RooAbsPdf.h"
0011 #include "RooRealProxy.h"
0012 #include "RooCategoryProxy.h"
0013 #include "RooAbsReal.h"
0014 #include "RooAbsCategory.h"
0015
0016 class ConvolutedJPsiPdf : public RooAbsPdf {
0017 public:
0018 ConvolutedJPsiPdf() {} ;
0019 ConvolutedJPsiPdf(const char *name, const char *title,
0020 RooAbsReal& _x,
0021 RooAbsReal& _peak,
0022 RooAbsReal& _sigma);
0023 ConvolutedJPsiPdf(const ConvolutedJPsiPdf& other, const char* name=0) ;
0024 virtual TObject* clone(const char* newname) const { return new ConvolutedJPsiPdf(*this,newname); }
0025 inline virtual ~ConvolutedJPsiPdf() { }
0026
0027 protected:
0028
0029 RooRealProxy x ;
0030 RooRealProxy peak ;
0031 RooRealProxy sigma ;
0032
0033 Double_t evaluate() const ;
0034
0035 Double_t a;
0036 Double_t b1;
0037 Double_t c1;
0038 Double_t b2;
0039 Double_t c2;
0040 Double_t b3;
0041 Double_t c3;
0042 Double_t k;
0043
0044 private:
0045
0046 ClassDef(ConvolutedJPsiPdf,1)
0047 };
0048
0049 #endif