#include <RooCBExGaussShape.h>
Definition at line 14 of file RooCBExGaussShape.h.
RooCBExGaussShape::RooCBExGaussShape |
( |
| ) |
|
|
inline |
RooCBExGaussShape::RooCBExGaussShape |
( |
const char * |
name, |
|
|
const char * |
title, |
|
|
RooAbsReal & |
_m, |
|
|
RooAbsReal & |
_m0, |
|
|
RooAbsReal & |
_sigma, |
|
|
RooAbsReal & |
_alpha, |
|
|
RooAbsReal & |
_n, |
|
|
RooAbsReal & |
_sigma_2, |
|
|
RooAbsReal & |
_frac |
|
) |
| |
Definition at line 5 of file RooCBExGaussShape.cc.
15 m(
"m",
"m",
this, _m),
16 m0(
" m0",
" m0",
this, _m0),
17 sigma(
" sigma",
" sigma",
this, _sigma),
18 alpha(
" alpha",
" alpha",
this, _alpha),
19 n(
" n",
" n",
this, _n),
20 sigma_2(
" sigma_2",
" sigma_2",
this, _sigma_2),
21 frac(
" frac",
" frac",
this, _frac) {}
RooCBExGaussShape::RooCBExGaussShape |
( |
const RooCBExGaussShape & |
other, |
|
|
const char * |
name |
|
) |
| |
Definition at line 23 of file RooCBExGaussShape.cc.
24 : RooAbsPdf(other,
name),
25 m(
"m",
this, other.
m),
26 m0(
" m0",
this, other.
m0),
29 n(
" n",
this, other.
n),
RooCBExGaussShape::~RooCBExGaussShape |
( |
| ) |
|
|
inlineoverride |
TObject* RooCBExGaussShape::clone |
( |
const char * |
newname | ) |
const |
|
inlineoverride |
Double_t RooCBExGaussShape::evaluate |
( |
| ) |
const |
|
override |
Definition at line 33 of file RooCBExGaussShape.cc.
References a, alpha, b, funct::exp(), frac, m, m0, n, sigma, sigma_2, submitPVValidationJobs::t, and FrontierCondition_GT_autoExpress_cfi::t0.
43 Double_t absAlpha = fabs((Double_t)
alpha);
46 rval =
frac *
exp(-0.5 * t * t) + (1.0 -
frac) *
exp(-0.5 * t0 * t0);
48 Double_t
a = TMath::Power(
n / absAlpha,
n) *
exp(-0.5 * absAlpha * absAlpha);
49 Double_t
b =
n / absAlpha - absAlpha;
50 rval = a / TMath::Power(b - t,
n);
Exp< T >::type exp(const T &t)
RooRealProxy RooCBExGaussShape::alpha |
|
protected |
RooRealProxy RooCBExGaussShape::frac |
|
protected |
RooRealProxy RooCBExGaussShape::m |
|
protected |
RooRealProxy RooCBExGaussShape::m0 |
|
protected |
RooRealProxy RooCBExGaussShape::n |
|
protected |
RooRealProxy RooCBExGaussShape::sigma |
|
protected |
RooRealProxy RooCBExGaussShape::sigma_2 |
|
protected |