Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:18

0001 #ifndef ROO_CB_EX_GAUSS_SHAPE
0002 #define ROO_CB_EX_GAUSS_SHAPE
0003 
0004 #include "RooAbsPdf.h"
0005 #include "RooAbsArg.h"
0006 #include "RooRealProxy.h"
0007 #include "RooRealVar.h"
0008 #include "RooCategoryProxy.h"
0009 #include "RooAbsReal.h"
0010 #include "RooAbsCategory.h"
0011 #include "TMath.h"
0012 #include "Riostream.h"
0013 
0014 class RooCBExGaussShape : public RooAbsPdf {
0015 public:
0016   RooCBExGaussShape(){};
0017   RooCBExGaussShape(const char* name,
0018                     const char* title,
0019                     RooAbsReal& _m,
0020                     RooAbsReal& _m0,
0021                     RooAbsReal& _sigma,
0022                     RooAbsReal& _alpha,
0023                     RooAbsReal& _n,
0024                     RooAbsReal& _sigma_2,
0025                     RooAbsReal& _frac);
0026 
0027   RooCBExGaussShape(const RooCBExGaussShape& other, const char* name);
0028   inline TObject* clone(const char* newname) const override { return new RooCBExGaussShape(*this, newname); }
0029   inline ~RooCBExGaussShape() override {}
0030   Double_t evaluate() const override;
0031 
0032   ClassDefOverride(RooCBExGaussShape, 1)
0033 
0034       protected :
0035 
0036       RooRealProxy m;
0037   RooRealProxy m0;
0038   RooRealProxy sigma;
0039   RooRealProxy alpha;
0040   RooRealProxy n;
0041   RooRealProxy sigma_2;
0042   RooRealProxy frac;
0043 };
0044 
0045 #endif