#include <RooSplineProduct.h>
 | 
|   | RooSplineProduct () | 
|   | 
|   | RooSplineProduct (const char *name, const char *title, RooRealVar &x, const RooCubicSplineFun &sp1, const RooCubicSplineFun &sp2) | 
|   | 
|   | ~RooSplineProduct () | 
|   | 
|   | RooSplineProduct (const RooSplineProduct &other, const char *name=0) | 
|   | 
| TObject *  | clone (const char *newname) const | 
|   | 
| Int_t  | getAnalyticalIntegral (RooArgSet &allVars, RooArgSet &analVars, const char *rangeName) const | 
|   | 
| Double_t  | analyticalIntegral (Int_t code, const char *rangeName) const | 
|   | 
| std::complex< double >  | productAnalyticalIntegral (Double_t umin, Double_t umax, Double_t scale, Double_t offset, const std::complex< double > &z) const | 
|   | 
|   | RooAbsGaussModelEfficiency () | 
|   | 
|   | RooAbsGaussModelEfficiency (const char *name, const char *title, const char *unit="") | 
|   | 
|   | RooAbsGaussModelEfficiency (const RooAbsGaussModelEfficiency &other, const char *name=0) | 
|   | 
|   | ~RooAbsGaussModelEfficiency () | 
|   | 
Definition at line 25 of file RooSplineProduct.h.
 
◆ RooSplineProduct() [1/3]
      
        
          | RooSplineProduct::RooSplineProduct  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ RooSplineProduct() [2/3]
Definition at line 46 of file RooSplineProduct.cpp.
   52    _x(
"x", 
"Dependent", 
this, x),
    55    _coefList1(
"coefficients1",
"List of coefficients for first spline",
this),
    56    _coefList2(
"coefficients2",
"List of coefficients for second spline",
this)
 
const RooArgList & coefficients() const
 
RooAbsGaussModelEfficiency()
 
 
 
 
◆ ~RooSplineProduct()
      
        
          | RooSplineProduct::~RooSplineProduct  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ RooSplineProduct() [3/3]
      
        
          | RooSplineProduct::RooSplineProduct  | 
          ( | 
          const RooSplineProduct &  | 
          other,  | 
        
        
           | 
           | 
          const char *  | 
          name = 0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ analyticalIntegral()
      
        
          | Double_t RooSplineProduct::analyticalIntegral  | 
          ( | 
          Int_t  | 
          code,  | 
        
        
           | 
           | 
          const char *  | 
          rangeName  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
◆ clone()
  
  
      
        
          | TObject* RooSplineProduct::clone  | 
          ( | 
          const char *  | 
          newname | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ evaluate()
  
  
      
        
          | Double_t RooSplineProduct::evaluate  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
private   | 
  
 
 
◆ gaussIntegralE()
Definition at line 97 of file RooSplineProduct.cpp.
  102   std::complex<double> sum(0,0);
   103   for (
int j=0;j<3;++j) 
for (
int k=0;k<3-j;++k) sum += dM(j)*s2_jk(j,k)*K(k)*sc[j+k];
 
RooCubicSplineKnot::S2_edge S2_jk_edge(bool left, const RooArgList &b1, const RooArgList &b2) const
 
 
 
 
◆ getAnalyticalIntegral()
      
        
          | Int_t RooSplineProduct::getAnalyticalIntegral  | 
          ( | 
          RooArgSet &  | 
          allVars,  | 
        
        
           | 
           | 
          RooArgSet &  | 
          analVars,  | 
        
        
           | 
           | 
          const char *  | 
          rangeName  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
◆ init()
  
  
      
        
          | void RooSplineProduct::init  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
Definition at line 33 of file RooSplineProduct.cpp.
const std::vector< double > & knots() const
 
unsigned knotSize() const
 
 
 
 
◆ productAnalyticalIntegral()
  
  
      
        
          | std::complex< double > RooSplineProduct::productAnalyticalIntegral  | 
          ( | 
          Double_t  | 
          umin,  | 
         
        
           | 
           | 
          Double_t  | 
          umax,  | 
         
        
           | 
           | 
          Double_t  | 
          scale,  | 
         
        
           | 
           | 
          Double_t  | 
          offset,  | 
         
        
           | 
           | 
          const std::complex< double > &  | 
          z  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
virtual   | 
  
 
Implements RooAbsGaussModelEfficiency.
Definition at line 109 of file RooSplineProduct.cpp.
  115     double lo = scale*umin+offset;
   116     double hi = scale*umax+offset+1.e-7;
   120         double x = (
_sp1.
u(i)-offset)/scale ;
   121         if (lo>=
_sp1.
u(i)) x = umin ; 
   122         if (
_sp1.
u(i)>=hi) x = umax ; 
   123         M.push_back( M_n( x, z ) );
   125     double sc[7]; 
for (
int i=0;i<7;++i) sc[i] = pow(scale,i);
   126     std::complex<double> sum(0,0);
   129         M_n dM = M[i+1]-M[i];
   131         for (
int j=0;j<7;++j) 
for (
int k=0;k<7-j;++k) sum += dM(j)*s2_jk(j,k)*K(k)*sc[j+k];
 
RooCubicSplineKnot::S2_jk S2_jk_sum(int i, const RooArgList &b1, const RooArgList &b2) const
 
std::complex< double > gaussIntegralE(bool left, const RooGaussModelAcceptance::M_n< 7U > &dM, const RooGaussModelAcceptance::K_n &K, double offset, double *sc) const
 
unsigned knotSize() const
 
 
 
 
◆ _coefList1
  
  
      
        
          | RooListProxy RooSplineProduct::_coefList1 | 
         
       
   | 
  
private   | 
  
 
 
◆ _coefList2
  
  
      
        
          | RooListProxy RooSplineProduct::_coefList2 | 
         
       
   | 
  
private   | 
  
 
 
◆ _sp1
◆ _sp2
◆ _x
  
  
      
        
          | RooRealProxy RooSplineProduct::_x | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files: