/***************************************************************************** * 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 ROORELBW #define ROORELBW #include "RooAbsPdf.h" #include "RooRealProxy.h" #include "RooAbsReal.h" class RooRelBW : public RooAbsPdf { public: RooRelBW(const char *name, const char *title, RooAbsReal& _x, RooAbsReal& _mass, RooAbsReal& _width, RooAbsReal& _mdau1, RooAbsReal& _mdau2, RooAbsReal& _Lmin, RooAbsReal& _hp); RooRelBW(const RooRelBW& other, const char* name=0) ; virtual TObject* clone(const char* newname) const { return new RooRelBW(*this,newname); } inline virtual ~RooRelBW() { } protected: RooRealProxy x ; RooRealProxy mass ; RooRealProxy width ; RooRealProxy mdau1 ; RooRealProxy mdau2 ; RooRealProxy Lmin ; RooRealProxy hp ; Double_t evaluate() const ; Double_t eval_momentum(Double_t m) const; Double_t eval_BlattWeisskopf(Double_t p) const; private: ClassDef(RooRelBW,0) // Your description goes here... }; #endif