51 dm("dm","Dstar-D0 Mass Diff",this, _dm),
52 dm0("dm0","Threshold",this, _dm0),
53 C("
C","Shape Parameter",this, _c),
54 A("
A","Shape Parameter 2",this, _a),
55 B("
B","Shape Parameter 3",this, _b)
63 RooAbsPdf(other,name), dm(
"dm",this,other.dm), dm0(
"dm0",this,other.dm0),
64 C(
"C",this,other.
C),
A(
"A",this,other.
A),
B(
"B",this,other.
B)
74 if (arg <= 0 )
return 0;
78 return (val > 0 ? val : 0) ;
100 if (max <=
dm0 )
return 0;
101 else if (min <
dm0) min =
dm0;
104 if (
A != 0 ) doNumerical=
kTRUE;
113 if ( ! doNumerical ) {
115 B * (0.5* (max*max - min*min)/
dm0 - (max-
min));
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
ClassImp(RooDstD0BG) RooDstD0BG
const RooAbsReal & arg() const
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
if (matchArgs(allVars,analVars,dm)) return 1 ;
virtual Double_t integral(const Double_t *yvec=0)
Calculate numeric integral at given set of function binding parameters.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Double_t evaluate() const
double func(double *x, double *p)
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Double_t min(const char *rname=0) const
Double_t max(const char *rname=0) const
RooAbsFunc * bindVars(const RooArgSet &vars, const RooArgSet *nset=0, Bool_t clipInvalid=kFALSE) const
Create an interface adaptor f(vars) that binds us to the specified variables (in arbitrary order)...
Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral. ...