CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
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 virtual TObject* clone(const char* newname) const { return new RooCBExGaussShape(*this,newname);}
30  inline ~RooCBExGaussShape(){}
31  Double_t evaluate() const ;
32 
33  ClassDef(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
virtual TObject * clone(const char *newname) const
Double_t evaluate() const
RooRealProxy sigma_2
#define protected
Definition: FWEveView.cc:34