CMS 3D CMS Logo

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 
5 #include "RooAbsPdf.h"
6 #include "RooAbsArg.h"
7 #include "RooRealProxy.h"
8 #include "RooRealVar.h"
9 #include "RooCategoryProxy.h"
10 #include "RooAbsReal.h"
11 #include "RooAbsCategory.h"
12 #include "TMath.h"
13 #include "Riostream.h"
14 
15 class RooCBExGaussShape : public RooAbsPdf {
16 public:
18  RooCBExGaussShape(const char *name, 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 
28  RooCBExGaussShape(const RooCBExGaussShape& other, const char* name);
29  inline TObject* clone(const char* newname) const override { return new RooCBExGaussShape(*this,newname);}
30  inline ~RooCBExGaussShape() override{}
31  Double_t evaluate() const override ;
32 
33  ClassDefOverride(RooCBExGaussShape,1)
34 
35 protected:
36 
37  RooRealProxy m ;
38  RooRealProxy m0 ;
39  RooRealProxy sigma ;
40  RooRealProxy alpha ;
41  RooRealProxy n ;
42  RooRealProxy sigma_2 ;
43  RooRealProxy frac ;
44 
45 };
46 
47 #endif
Double_t evaluate() const override
RooRealProxy sigma_2
ClassDefOverride(RooCBExGaussShape, 1) protected RooRealProxy m0
TObject * clone(const char *newname) const override
~RooCBExGaussShape() override