CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
fit::CombinedChiSquaredLikelihood< ChiSquared, Likelihood > Class Template Reference

#include <CombinedChiSquaredLikelihood.h>

Public Member Functions

ChiSquaredchi2 ()
 
const ChiSquaredchi2 () const
 
 CombinedChiSquaredLikelihood ()
 
 CombinedChiSquaredLikelihood (const ChiSquared &chi2, const Likelihood &like)
 
Likelihoodlike ()
 
const Likelihoodlike () const
 
size_t numberOfBins () const
 
double operator() () const
 

Private Attributes

ChiSquared chi2_
 
Likelihood like_
 

Detailed Description

template<typename ChiSquared, typename Likelihood>
class fit::CombinedChiSquaredLikelihood< ChiSquared, Likelihood >

Definition at line 8 of file CombinedChiSquaredLikelihood.h.

Constructor & Destructor Documentation

◆ CombinedChiSquaredLikelihood() [1/2]

template<typename ChiSquared, typename Likelihood>
fit::CombinedChiSquaredLikelihood< ChiSquared, Likelihood >::CombinedChiSquaredLikelihood ( )
inline

Definition at line 10 of file CombinedChiSquaredLikelihood.h.

10 {}

◆ CombinedChiSquaredLikelihood() [2/2]

template<typename ChiSquared, typename Likelihood>
fit::CombinedChiSquaredLikelihood< ChiSquared, Likelihood >::CombinedChiSquaredLikelihood ( const ChiSquared chi2,
const Likelihood like 
)
inline

Definition at line 11 of file CombinedChiSquaredLikelihood.h.

11 : chi2_(chi2), like_(like) {}

Member Function Documentation

◆ chi2() [1/2]

template<typename ChiSquared, typename Likelihood>
ChiSquared& fit::CombinedChiSquaredLikelihood< ChiSquared, Likelihood >::chi2 ( void  )
inline

◆ chi2() [2/2]

template<typename ChiSquared, typename Likelihood>
const ChiSquared& fit::CombinedChiSquaredLikelihood< ChiSquared, Likelihood >::chi2 ( void  ) const
inline

◆ like() [1/2]

template<typename ChiSquared, typename Likelihood>
Likelihood& fit::CombinedChiSquaredLikelihood< ChiSquared, Likelihood >::like ( )
inline

◆ like() [2/2]

template<typename ChiSquared, typename Likelihood>
const Likelihood& fit::CombinedChiSquaredLikelihood< ChiSquared, Likelihood >::like ( ) const
inline

◆ numberOfBins()

template<typename ChiSquared, typename Likelihood>
size_t fit::CombinedChiSquaredLikelihood< ChiSquared, Likelihood >::numberOfBins ( ) const
inline

Definition at line 18 of file CombinedChiSquaredLikelihood.h.

18 { return chi2_.numberOfBins(); }

References fit::CombinedChiSquaredLikelihood< ChiSquared, Likelihood >::chi2_.

◆ operator()()

template<typename ChiSquared, typename Likelihood>
double fit::CombinedChiSquaredLikelihood< ChiSquared, Likelihood >::operator() ( ) const
inline

Member Data Documentation

◆ chi2_

template<typename ChiSquared, typename Likelihood>
ChiSquared fit::CombinedChiSquaredLikelihood< ChiSquared, Likelihood >::chi2_
private

◆ like_

template<typename ChiSquared, typename Likelihood>
Likelihood fit::CombinedChiSquaredLikelihood< ChiSquared, Likelihood >::like_
private
fit::CombinedChiSquaredLikelihood::chi2
ChiSquared & chi2()
Definition: CombinedChiSquaredLikelihood.h:14
fit::CombinedChiSquaredLikelihood::like
Likelihood & like()
Definition: CombinedChiSquaredLikelihood.h:16
fit::CombinedChiSquaredLikelihood::chi2_
ChiSquared chi2_
Definition: CombinedChiSquaredLikelihood.h:21
fit::CombinedChiSquaredLikelihood::like_
Likelihood like_
Definition: CombinedChiSquaredLikelihood.h:22