#include <RooCubicSplineKnot.h>
Definition at line 88 of file RooCubicSplineKnot.h.
◆ S2_jk() [1/3]
RooCubicSplineKnot::S2_jk::S2_jk |
( |
| ) |
|
|
inline |
◆ S2_jk() [2/3]
RooCubicSplineKnot::S2_jk::S2_jk |
( |
double |
a1, |
|
|
double |
b1, |
|
|
double |
c1, |
|
|
double |
a2, |
|
|
double |
b2, |
|
|
double |
c2 |
|
) |
| |
|
inline |
Definition at line 91 of file RooCubicSplineKnot.h.
92 t0(a1*b1*c1*a2*b2*c2),
93 t1(1./2.*((a1*b1*c1)*(a2*b2+a2*c2+b2*c2)+(a2*b2*c2)*(a1*b1+a1*c1+b1*c1))),
94 t2(1./4.*((a1*b1*c1)*(a2+b2+c2)+(a2*b2*c2)*(a1+b1+c1)+(a1*b1+a1*c1+b1*c1)*(a2*b2+a2*c2+b2*c2))),
95 t3(1./8.*((a1*b1*c1)+(a2*b2*c2)+(a1+b1+c1)*(a2*b2+a2*c2+b2*c2)+(a2+b2+c2)*(a1*b1+a1*c1+b1*c1))),
96 t4(1./16.*((a1*b1+a1*c1+b1*c1)+(a2*b2+a2*c2+b2*c2)+(a1+b1+c1)*(a2+b2+c2))),
97 t5(1./32.*((a1+b1+c1)+(a2+b2+c2))),
◆ S2_jk() [3/3]
RooCubicSplineKnot::S2_jk::S2_jk |
( |
const S2_jk & |
other, |
|
|
double |
offset = 0 |
|
) |
| |
|
inline |
Definition at line 100 of file RooCubicSplineKnot.h.
100 :
t0(other.t0),
t1(other.t1),
t2(other.t2),
t3(other.t3),
t4(other.t4),
t5(other.t5),
t6(other.t6) {
102 t0+=offset*(-2*
t1+offset*(4*
t2+offset*(-8*
t3+offset*(16*
t4+offset*(-32*
t5+offset*64*
t6)))));
103 t1+=offset*(-8*
t2+offset*(3*8*
t3+offset*(-4*16*
t4+offset*(5*32*
t5-6*offset*64*
t6))))/2;
104 t2+=offset*(-3*8*
t3+offset*(6*16*
t4+offset*(-10*32*
t5+15*offset*64*
t6)))/4;
105 t3+=offset*(-4*16*
t4+offset*(10*32*
t5-20*offset*64*
t6))/8;
106 t4+=offset*(-5*32*
t5+15*offset*64*
t6)/16;
107 t5-=offset*6*64*
t6/32;
◆ operator *()
S2_jk RooCubicSplineKnot::S2_jk::operator * |
( |
double |
z | ) |
const |
|
inline |
◆ operator *=()
S2_jk& RooCubicSplineKnot::S2_jk::operator *= |
( |
double |
z | ) |
|
|
inline |
◆ operator()()
double RooCubicSplineKnot::S2_jk::operator() |
( |
int |
j, |
|
|
int |
k |
|
) |
| const |
|
inline |
Definition at line 121 of file RooCubicSplineKnot.h.
122 if (j>k) std::swap(j,k);
134 case 8:
return -3*
t3;
136 case 10:
return -5*
t5;
139 case 15:
return -10*
t5;
140 case 16:
return 15*
t6;
141 case 21:
return 20*
t6;
◆ operator+()
S2_jk RooCubicSplineKnot::S2_jk::operator+ |
( |
const S2_jk & |
other | ) |
const |
|
inline |
◆ operator+=()
S2_jk& RooCubicSplineKnot::S2_jk::operator+= |
( |
const S2_jk & |
other | ) |
|
|
inline |
◆ operator-() [1/2]
S2_jk RooCubicSplineKnot::S2_jk::operator- |
( |
| ) |
|
|
inline |
◆ operator-() [2/2]
S2_jk RooCubicSplineKnot::S2_jk::operator- |
( |
const S2_jk & |
other | ) |
const |
|
inline |
◆ operator-=()
S2_jk& RooCubicSplineKnot::S2_jk::operator-= |
( |
const S2_jk & |
other | ) |
|
|
inline |
◆ operator/()
S2_jk RooCubicSplineKnot::S2_jk::operator/ |
( |
double |
z | ) |
const |
|
inline |
◆ operator/=()
S2_jk& RooCubicSplineKnot::S2_jk::operator/= |
( |
double |
z | ) |
|
|
inline |
◆ t0
double RooCubicSplineKnot::S2_jk::t0 |
|
private |
◆ t1
double RooCubicSplineKnot::S2_jk::t1 |
|
private |
◆ t2
double RooCubicSplineKnot::S2_jk::t2 |
|
private |
◆ t3
double RooCubicSplineKnot::S2_jk::t3 |
|
private |
◆ t4
double RooCubicSplineKnot::S2_jk::t4 |
|
private |
◆ t5
double RooCubicSplineKnot::S2_jk::t5 |
|
private |
◆ t6
double RooCubicSplineKnot::S2_jk::t6 |
|
private |
The documentation for this class was generated from the following file: