CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RooCBExGaussShape.h
Go to the documentation of this file.
1 #ifndef ROO_CB_EX_GAUSS_SHAPE
2 #define ROO_CB_EX_GAUSS_SHAPE
3 
4 #include "RooAbsPdf.h"
5 #include "RooAbsArg.h"
6 #include "RooRealProxy.h"
7 #include "RooRealVar.h"
8 #include "RooCategoryProxy.h"
9 #include "RooAbsReal.h"
10 #include "RooAbsCategory.h"
11 #include "TMath.h"
12 #include "Riostream.h"
13 
14 class RooCBExGaussShape : public RooAbsPdf {
15 public:
17  RooCBExGaussShape(const char* name,
18  const char* title,
19  RooAbsReal& _m,
20  RooAbsReal& _m0,
21  RooAbsReal& _sigma,
22  RooAbsReal& _alpha,
23  RooAbsReal& _n,
24  RooAbsReal& _sigma_2,
25  RooAbsReal& _frac);
26 
27  RooCBExGaussShape(const RooCBExGaussShape& other, const char* name);
28  inline TObject* clone(const char* newname) const override { return new RooCBExGaussShape(*this, newname); }
29  inline ~RooCBExGaussShape() override {}
30  Double_t evaluate() const override;
31 
32  ClassDefOverride(RooCBExGaussShape, 1)
33 
34  protected :
35 
36  RooRealProxy m;
37  RooRealProxy m0;
38  RooRealProxy sigma;
39  RooRealProxy alpha;
40  RooRealProxy n;
41  RooRealProxy sigma_2;
42  RooRealProxy frac;
43 };
44 
45 #endif
Double_t evaluate() const override
TObject * clone(const char *newname) const override
RooRealProxy sigma_2
~RooCBExGaussShape() override