#include <MELACombinePdfs.h>
|
| MELADoubleCB () |
|
| MELADoubleCB (const char *name, const char *title, RooAbsReal &_x, RooAbsReal &_mean, RooAbsReal &_width, RooAbsReal &_alpha1, RooAbsReal &_n1, RooAbsReal &_alpha2, RooAbsReal &_n2) |
|
| MELADoubleCB (const MELADoubleCB &other, const char *name=0) |
|
virtual TObject * | clone (const char *newname) const |
|
virtual | ~MELADoubleCB () |
|
Int_t | getAnalyticalIntegral (RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const |
|
Double_t | analyticalIntegral (Int_t code, const char *rangeName=0) const |
|
Definition at line 102 of file MELACombinePdfs.h.
◆ MELADoubleCB() [1/3]
MELADoubleCB::MELADoubleCB |
( |
| ) |
|
◆ MELADoubleCB() [2/3]
MELADoubleCB::MELADoubleCB |
( |
const char * |
name, |
|
|
const char * |
title, |
|
|
RooAbsReal & |
_x, |
|
|
RooAbsReal & |
_mean, |
|
|
RooAbsReal & |
_width, |
|
|
RooAbsReal & |
_alpha1, |
|
|
RooAbsReal & |
_n1, |
|
|
RooAbsReal & |
_alpha2, |
|
|
RooAbsReal & |
_n2 |
|
) |
| |
Definition at line 2000 of file MELACombinePdfs.cc.
2009 RooAbsPdf(name, title),
2010 x(
"x",
"x",
this, _x),
2011 mean(
"mean",
"mean",
this, _mean),
2012 width(
"width",
"width",
this, _width),
2013 alpha1(
"alpha1",
"alpha1",
this, _alpha1),
2014 n1(
"n1",
"n1",
this, _n1),
2015 alpha2(
"alpha2",
"alpha2",
this, _alpha2),
2016 n2(
"n2",
"n2",
this, _n2)
◆ MELADoubleCB() [3/3]
MELADoubleCB::MELADoubleCB |
( |
const MELADoubleCB & |
other, |
|
|
const char * |
name = 0 |
|
) |
| |
Definition at line 2020 of file MELACombinePdfs.cc.
2021 RooAbsPdf(other, name),
2022 x(
"x",
this, other.
x),
2026 n1(
"n1",
this, other.
n1),
2028 n2(
"n2",
this, other.
n2)
◆ ~MELADoubleCB()
virtual MELADoubleCB::~MELADoubleCB |
( |
| ) |
|
|
inlinevirtual |
◆ analyticalIntegral()
Double_t MELADoubleCB::analyticalIntegral |
( |
Int_t |
code, |
|
|
const char * |
rangeName = 0 |
|
) |
| const |
Definition at line 2057 of file MELACombinePdfs.cc.
2064 static const Double_t root2 = sqrt(2);
2065 static const Double_t rootPiBy2 = sqrt(atan2(0.0, -1.0)/2.0);
2066 Double_t xscale = root2*
width;
2071 if (central_low < central_high)
2072 central = rootPiBy2*
width*(TMath::Erf((central_high-
mean)/xscale)-TMath::Erf((central_low-
mean)/xscale));
2078 double left_low=
x.min(rangeName);
2080 if (left_low < left_high){
2081 if (fabs(
n1-1.0)>1.e-5)
2092 double right_high=
x.max(rangeName);
2093 if (right_low < right_high){
2094 if (fabs(
n2-1.0)>1.e-5)
2100 return left+central+right;
◆ clone()
virtual TObject* MELADoubleCB::clone |
( |
const char * |
newname | ) |
const |
|
inlinevirtual |
◆ evaluate()
double MELADoubleCB::evaluate |
( |
| ) |
const |
|
protected |
Definition at line 2031 of file MELACombinePdfs.cc.
2034 return exp(-0.5*t*t);
2039 return A1*pow(B1-t, -
n1);
2044 return A2*pow(B2+t, -
n2);
2047 cout <<
"ERROR evaluating range..." << endl;
◆ getAnalyticalIntegral()
Int_t MELADoubleCB::getAnalyticalIntegral |
( |
RooArgSet & |
allVars, |
|
|
RooArgSet & |
analVars, |
|
|
const char * |
rangeName = 0 |
|
) |
| const |
◆ alpha1
RooRealProxy MELADoubleCB::alpha1 |
|
protected |
◆ alpha2
RooRealProxy MELADoubleCB::alpha2 |
|
protected |
◆ mean
RooRealProxy MELADoubleCB::mean |
|
protected |
◆ n1
RooRealProxy MELADoubleCB::n1 |
|
protected |
◆ n2
RooRealProxy MELADoubleCB::n2 |
|
protected |
◆ width
RooRealProxy MELADoubleCB::width |
|
protected |
RooRealProxy MELADoubleCB::x |
|
protected |
The documentation for this class was generated from the following files: