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 #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
RooCBExGaussShape::evaluate
Double_t evaluate() const override
Definition: RooCBExGaussShape.cc:33
RooCBExGaussShape::~RooCBExGaussShape
~RooCBExGaussShape() override
Definition: RooCBExGaussShape.h:29
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
RooCBExGaussShape::frac
RooRealProxy frac
Definition: RooCBExGaussShape.h:42
RooCBExGaussShape::sigma
RooRealProxy sigma
Definition: RooCBExGaussShape.h:38
hgcalDigitizer_cfi._m
_m
Definition: hgcalDigitizer_cfi.py:209
RooCBExGaussShape::RooCBExGaussShape
RooCBExGaussShape()
Definition: RooCBExGaussShape.h:16
RooCBExGaussShape
Definition: RooCBExGaussShape.h:14
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
trackingPlots.other
other
Definition: trackingPlots.py:1460
RooCBExGaussShape::clone
TObject * clone(const char *newname) const override
Definition: RooCBExGaussShape.h:28
RooCBExGaussShape::sigma_2
RooRealProxy sigma_2
Definition: RooCBExGaussShape.h:41
RooCBExGaussShape::n
RooRealProxy n
Definition: RooCBExGaussShape.h:40
RooCBExGaussShape::m0
ClassDefOverride(RooCBExGaussShape, 1) protected RooRealProxy m0
Definition: RooCBExGaussShape.h:32
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
RooCBExGaussShape::alpha
RooRealProxy alpha
Definition: RooCBExGaussShape.h:39