File indexing completed on 2024-09-07 04:37:24
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef ROO_CMS_SHAPE
0024 #define ROO_CMS_SHAPE
0025
0026 #include "RooAbsPdf.h"
0027 #include "RooRealProxy.h"
0028 #include "RooAbsReal.h"
0029 #include "TMath.h"
0030 #include "RooMath.h"
0031
0032 class RooCMSShape : public RooAbsPdf {
0033 public:
0034 RooCMSShape() {}
0035 RooCMSShape(const char* name,
0036 const char* title,
0037 RooAbsReal& _x,
0038 RooAbsReal& _alpha,
0039 RooAbsReal& _beta,
0040 RooAbsReal& _gamma,
0041 RooAbsReal& _peak);
0042
0043 RooCMSShape(const RooCMSShape& other, const char* name);
0044 inline TObject* clone(const char* newname) const override { return new RooCMSShape(*this, newname); }
0045 inline ~RooCMSShape() override {}
0046 Double_t evaluate() const override;
0047
0048 ClassDefOverride(RooCMSShape, 1);
0049
0050 protected:
0051 RooRealProxy x;
0052 RooRealProxy alpha;
0053 RooRealProxy beta;
0054 RooRealProxy gamma;
0055 RooRealProxy peak;
0056 };
0057
0058 #endif