/*****************************************************************************
 * Project: RooFit                                                           *
 *                                                                           *
  * This code was autogenerated by RooClassFactory                            * 
 *****************************************************************************/

#ifndef CONVOLUTEDJPSIPDF
#define CONVOLUTEDJPSIPDF

#include "RooAbsPdf.h"
#include "RooRealProxy.h"
#include "RooCategoryProxy.h"
#include "RooAbsReal.h"
#include "RooAbsCategory.h"
 
class ConvolutedJPsiPdf : public RooAbsPdf {
public:
  ConvolutedJPsiPdf() {} ; 
  ConvolutedJPsiPdf(const char *name, const char *title,
	      RooAbsReal& _x,
	      RooAbsReal& _peak,
	      RooAbsReal& _sigma);
  ConvolutedJPsiPdf(const ConvolutedJPsiPdf& other, const char* name=0) ;
  virtual TObject* clone(const char* newname) const { return new ConvolutedJPsiPdf(*this,newname); }
  inline virtual ~ConvolutedJPsiPdf() { }

protected:

  RooRealProxy x ;
  RooRealProxy peak ;
  RooRealProxy sigma ;
  
  Double_t evaluate() const ;

  Double_t a;
  Double_t b1;
  Double_t c1;
  Double_t b2;
  Double_t c2;
  Double_t b3;
  Double_t c3;
  Double_t k;

private:

  ClassDef(ConvolutedJPsiPdf,1) // Your description goes here...
};
 
#endif
