/***************************************************************************** * Project: RooFit * * * * This code was autogenerated by RooClassFactory * *****************************************************************************/ #ifndef FWDFOLDPDF #define FWDFOLDPDF #include #include "RooAbsPdf.h" #include "RooRealProxy.h" #include "RooCategoryProxy.h" #include "RooAbsReal.h" #include "RooAbsCategory.h" class FwdFoldPdf : public RooAbsPdf { public: FwdFoldPdf() {} ; FwdFoldPdf(const char *name, const char *title, RooAbsReal& _x, RooArgList& _Ng); FwdFoldPdf(const FwdFoldPdf& other, const char* name=0) ; virtual TObject* clone(const char* newname) const { return new FwdFoldPdf(*this,newname); } inline virtual ~FwdFoldPdf() { } void SetMatrix( TH2D* _matrix ){ matrix = (TH2D*) _matrix->Clone( Form("matrix_%s", this->GetName()) ); }; protected: RooRealProxy x; RooArgList Ng; TH2D* matrix; Double_t evaluate() const ; private: ClassDef(FwdFoldPdf,1) // Your description goes here... }; #endif