Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:31:47

0001 #ifndef __ROO_MYPDF_RDL__
0002 #define __ROO_MYPDF_RDL__
0003 
0004 // Developed by Wouter Hulsbergen
0005 
0006 #include "RooAbsPdf.h"
0007 #include "RooRealProxy.h"
0008 
0009 class RooRealVar;
0010 class RooAbsReal;
0011 
0012 class CruijffPdf : public RooAbsPdf {
0013 public:
0014   CruijffPdf(const char *name, const char *title, RooAbsReal& _m,
0015         RooAbsReal& _m0, 
0016         RooAbsReal& _sigmaL, RooAbsReal& _sigmaR,
0017         RooAbsReal& _alphaL, RooAbsReal& _alphaR) ;
0018   
0019   CruijffPdf(const CruijffPdf& other, const char* name = 0);
0020   virtual TObject* clone(const char* newname) const { 
0021     return new CruijffPdf(*this,newname); }
0022 
0023   inline virtual ~CruijffPdf() { }
0024 
0025 protected:
0026 
0027   RooRealProxy m;
0028   RooRealProxy m0;
0029   RooRealProxy sigmaL;
0030   RooRealProxy sigmaR;
0031   RooRealProxy alphaL;
0032   RooRealProxy alphaR;
0033 
0034   Double_t evaluate() const;
0035 
0036 private:
0037   
0038   ClassDef(CruijffPdf,0)
0039 };
0040 
0041 #endif