/***************************************************************************** * Project: RooFit * * * * Copyright (c) 2000-2005, Regents of the University of California * * and Stanford University. All rights reserved. * * * * Redistribution and use in source and binary forms, * * with or without modification, are permitted according to the terms * * listed in LICENSE (http://roofit.sourceforge.net/license.txt) * *****************************************************************************/ #ifndef ROOMYPDF #define ROOMYPDF #include "RooAbsPdf.h" #include "RooRealProxy.h" #include "RooAbsReal.h" class RooMyPdf : public RooAbsPdf { public: RooMyPdf(const char *name, const char *title, RooAbsReal& _x, RooAbsReal& _alpha); RooMyPdf(const RooMyPdf& other, const char* name=0) ; virtual TObject* clone(const char* newname) const { return new RooMyPdf(*this,newname); } inline virtual ~RooMyPdf() { } protected: RooRealProxy x ; RooRealProxy alpha ; Double_t evaluate() const ; private: ClassDef(RooMyPdf,0) // Your description goes here... }; #endif