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.

64 lines
1.6 KiB

  1. /*****************************************************************************
  2. * Project: RooFit *
  3. * *
  4. * Copyright (c) 2000-2005, Regents of the University of California *
  5. * and Stanford University. All rights reserved. *
  6. * *
  7. * Redistribution and use in source and binary forms, *
  8. * with or without modification, are permitted according to the terms *
  9. * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
  10. *****************************************************************************/
  11. #ifndef ROO_DOUBLECB
  12. #define ROO_DOUBLECB
  13. #include "RooAbsPdf.h"
  14. #include "RooRealProxy.h"
  15. class RooRealVar;
  16. class RooAbsReal;
  17. class RooDoubleCB : public RooAbsPdf {
  18. public:
  19. RooDoubleCB();
  20. RooDoubleCB(const char *name, const char *title, RooAbsReal &_x,
  21. RooAbsReal &_mean, RooAbsReal &_width, RooAbsReal &_alpha1,
  22. RooAbsReal &_n1, RooAbsReal &_alpha2, RooAbsReal &_n2);
  23. RooDoubleCB(const RooDoubleCB &other, const char *name = 0);
  24. virtual TObject *clone(const char *newname) const {
  25. return new RooDoubleCB(*this, newname);
  26. }
  27. inline virtual ~RooDoubleCB() {}
  28. protected:
  29. RooRealProxy x;
  30. RooRealProxy mean;
  31. RooRealProxy width;
  32. RooRealProxy alpha1;
  33. RooRealProxy n1;
  34. RooRealProxy alpha2;
  35. RooRealProxy n2;
  36. Double_t evaluate() const;
  37. // private:
  38. ClassDef(RooDoubleCB, 1)
  39. }
  40. ;
  41. #endif