MINT2
Public Member Functions | Private Attributes | List of all members
RooGaussModelAcceptance::M_n< MaxOrder > Class Template Reference

#include <RooAbsGaussModelEfficiency.h>

Public Member Functions

 M_n (double x, const std::complex< double > &z)
 
const std::complex< double > & operator() (unsigned i) const
 
M_noperator-= (const M_n &other)
 
M_n operator- (const M_n &other) const
 

Private Attributes

std::complex< double > _m [MaxOrder]
 

Detailed Description

template<unsigned MaxOrder>
class RooGaussModelAcceptance::M_n< MaxOrder >

Definition at line 30 of file RooAbsGaussModelEfficiency.h.

Constructor & Destructor Documentation

◆ M_n()

template<unsigned MaxOrder>
RooGaussModelAcceptance::M_n< MaxOrder >::M_n ( double  x,
const std::complex< double > &  z 
)

Definition at line 125 of file RooAbsGaussModelEfficiency.cpp.

126 {
127  L l(x); N n(x,z);
128  for (unsigned i=0;i<MaxOrder;++i) _m[i] = n(0)*l(i,0) + n(1)*l(i,1) + n(2)*l(i,2);
129 }
std::complex< double > _m[MaxOrder]

Member Function Documentation

◆ operator()()

template<unsigned MaxOrder>
const std::complex<double>& RooGaussModelAcceptance::M_n< MaxOrder >::operator() ( unsigned  i) const
inline

Definition at line 34 of file RooAbsGaussModelEfficiency.h.

34 { assert(i<MaxOrder); return _m[i]; }
std::complex< double > _m[MaxOrder]

◆ operator-()

template<unsigned MaxOrder>
M_n RooGaussModelAcceptance::M_n< MaxOrder >::operator- ( const M_n< MaxOrder > &  other) const
inline

Definition at line 36 of file RooAbsGaussModelEfficiency.h.

36 { return M_n(*this)-=other; }
M_n(double x, const std::complex< double > &z)

◆ operator-=()

template<unsigned MaxOrder>
M_n& RooGaussModelAcceptance::M_n< MaxOrder >::operator-= ( const M_n< MaxOrder > &  other)
inline

Definition at line 35 of file RooAbsGaussModelEfficiency.h.

35 { for(unsigned i=0;i<MaxOrder;++i) _m[i]= _m[i]-other._m[i]; return *this; }
std::complex< double > _m[MaxOrder]

Member Data Documentation

◆ _m

template<unsigned MaxOrder>
std::complex<double> RooGaussModelAcceptance::M_n< MaxOrder >::_m[MaxOrder]
private

Definition at line 31 of file RooAbsGaussModelEfficiency.h.


The documentation for this class was generated from the following files: