Angular analysis of B+->K*+(K+pi0)mumu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
879 B

  1. #ifndef ROOEXPANDGAUSS_H
  2. #define ROOEXPANDGAUSS_H
  3. #include "RooAbsPdf.h"
  4. #include "RooRealProxy.h"
  5. #include "RooAbsReal.h"
  6. class RooExpAndGauss : public RooAbsPdf
  7. {
  8. public:
  9. RooExpAndGauss(); // default constructor to make RooFit workspaces happy
  10. RooExpAndGauss(const char *name, const char *title,
  11. RooAbsReal& _x,
  12. RooAbsReal& _sh_mean,
  13. RooAbsReal& _sh_sigma,
  14. RooAbsReal& _sh_trans);
  15. RooExpAndGauss(const RooExpAndGauss& other, const char* name=0) ;
  16. virtual TObject* clone(const char* newname) const
  17. { return new RooExpAndGauss(*this,newname); }
  18. inline virtual ~RooExpAndGauss() { }
  19. protected:
  20. RooRealProxy x ;
  21. RooRealProxy sh_mean ;
  22. RooRealProxy sh_sigma ;
  23. RooRealProxy sh_trans ;
  24. Double_t evaluate() const ;
  25. private:
  26. ClassDef(RooExpAndGauss, 2)
  27. };
  28. #endif // ROOEXPANDGAUSS_H