CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 > Class Template Reference

#include <MultiHistoChiSquare.h>

Public Member Functions

T1 & function1 ()
 
const T1 & function1 () const
 
T2 & function2 ()
 
const T2 & function2 () const
 
T3 & function3 ()
 
const T3 & function3 () const
 
T4 & function4 ()
 
const T4 & function4 () const
 
T5 & function5 ()
 
const T5 & function5 () const
 
T6 & function6 ()
 
const T6 & function6 () const
 
 MultiHistoChiSquare ()
 
template<typename TT1 , typename TT2 , typename TT3 , typename TT4 , typename TT5 , typename TT6 >
 MultiHistoChiSquare (TT1 &t1, TH1 *histo1, TT2 &t2, TH1 *histo2, TT3 &t3, TH1 *histo3, TT4 &t4, TH1 *histo4, TT5 &t5, TH1 *histo5, TT6 &t6, TH1 *histo6, double rangeMin, double rangeMax)
 
size_t numberOfBins () const
 
double operator() () const
 
void setHistos (TH1 *histo1, TH1 *histo2, TH1 *histo3, TH1 *histo4, TH1 *histo5, TH1 *histo6)
 

Private Attributes

T1 chi1_
 
T2 chi2_
 
T3 chi3_
 
T4 chi4_
 
T5 chi5_
 
T6 chi6_
 

Detailed Description

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
class fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >

Definition at line 18 of file MultiHistoChiSquare.h.

Constructor & Destructor Documentation

◆ MultiHistoChiSquare() [1/2]

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::MultiHistoChiSquare ( )
inline

Definition at line 20 of file MultiHistoChiSquare.h.

20 {}

◆ MultiHistoChiSquare() [2/2]

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
template<typename TT1 , typename TT2 , typename TT3 , typename TT4 , typename TT5 , typename TT6 >
fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::MultiHistoChiSquare ( TT1 &  t1,
TH1 *  histo1,
TT2 &  t2,
TH1 *  histo2,
TT3 &  t3,
TH1 *  histo3,
TT4 &  t4,
TH1 *  histo4,
TT5 &  t5,
TH1 *  histo5,
TT6 &  t6,
TH1 *  histo6,
double  rangeMin,
double  rangeMax 
)
inline

Definition at line 22 of file MultiHistoChiSquare.h.

36  : chi1_(t1, histo1, rangeMin, rangeMax),
37  chi2_(t2, histo2, rangeMin, rangeMax),
38  chi3_(t3, histo3, rangeMin, rangeMax),
39  chi4_(t4, histo4, rangeMin, rangeMax),
40  chi5_(t5, histo5, rangeMin, rangeMax),
41  chi6_(t6, histo6, rangeMin, rangeMax) {}

Member Function Documentation

◆ function1() [1/2]

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
T1& fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function1 ( )
inline

◆ function1() [2/2]

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
const T1& fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function1 ( ) const
inline

◆ function2() [1/2]

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
T2& fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function2 ( )
inline

◆ function2() [2/2]

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
const T2& fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function2 ( ) const
inline

◆ function3() [1/2]

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
T3& fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function3 ( )
inline

◆ function3() [2/2]

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
const T3& fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function3 ( ) const
inline

◆ function4() [1/2]

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
T4& fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function4 ( )
inline

◆ function4() [2/2]

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
const T4& fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function4 ( ) const
inline

◆ function5() [1/2]

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
T5& fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function5 ( )
inline

◆ function5() [2/2]

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
const T5& fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function5 ( ) const
inline

◆ function6() [1/2]

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
T6& fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function6 ( )
inline

◆ function6() [2/2]

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
const T6& fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function6 ( ) const
inline

◆ numberOfBins()

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
size_t fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::numberOfBins ( ) const
inline

◆ operator()()

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
double fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::operator() ( ) const
inline

◆ setHistos()

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
void fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::setHistos ( TH1 *  histo1,
TH1 *  histo2,
TH1 *  histo3,
TH1 *  histo4,
TH1 *  histo5,
TH1 *  histo6 
)
inline

Member Data Documentation

◆ chi1_

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
T1 fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::chi1_
private

Definition at line 75 of file MultiHistoChiSquare.h.

Referenced by fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function1(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, helper::MultiHistoChiSquareNoArg >::function1(), fit::MultiHistoChiSquare< T1, T2, T3, T4, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::function1(), fit::MultiHistoChiSquare< T1, T2, T3, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::function1(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::numberOfBins(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, helper::MultiHistoChiSquareNoArg >::numberOfBins(), fit::MultiHistoChiSquare< T1, T2, T3, T4, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::numberOfBins(), fit::MultiHistoChiSquare< T1, T2, T3, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::numberOfBins(), fit::MultiHistoChiSquare< T1, T2, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::numberOfBins(), fit::MultiHistoChiSquare< T1, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::numberOfBins(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::operator()(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, helper::MultiHistoChiSquareNoArg >::operator()(), fit::MultiHistoChiSquare< T1, T2, T3, T4, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::operator()(), fit::MultiHistoChiSquare< T1, T2, T3, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::operator()(), fit::MultiHistoChiSquare< T1, T2, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::operator()(), fit::MultiHistoChiSquare< T1, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::operator()(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::setHistos(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, helper::MultiHistoChiSquareNoArg >::setHistos(), fit::MultiHistoChiSquare< T1, T2, T3, T4, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::setHistos(), fit::MultiHistoChiSquare< T1, T2, T3, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::setHistos(), fit::MultiHistoChiSquare< T1, T2, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::setHistos(), and fit::MultiHistoChiSquare< T1, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::setHistos().

◆ chi2_

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
T2 fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::chi2_
private

Definition at line 76 of file MultiHistoChiSquare.h.

Referenced by fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function2(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, helper::MultiHistoChiSquareNoArg >::function2(), fit::MultiHistoChiSquare< T1, T2, T3, T4, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::function2(), fit::MultiHistoChiSquare< T1, T2, T3, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::function2(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::numberOfBins(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, helper::MultiHistoChiSquareNoArg >::numberOfBins(), fit::MultiHistoChiSquare< T1, T2, T3, T4, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::numberOfBins(), fit::MultiHistoChiSquare< T1, T2, T3, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::numberOfBins(), fit::MultiHistoChiSquare< T1, T2, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::numberOfBins(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::operator()(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, helper::MultiHistoChiSquareNoArg >::operator()(), fit::MultiHistoChiSquare< T1, T2, T3, T4, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::operator()(), fit::MultiHistoChiSquare< T1, T2, T3, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::operator()(), fit::MultiHistoChiSquare< T1, T2, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::operator()(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::setHistos(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, helper::MultiHistoChiSquareNoArg >::setHistos(), fit::MultiHistoChiSquare< T1, T2, T3, T4, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::setHistos(), fit::MultiHistoChiSquare< T1, T2, T3, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::setHistos(), and fit::MultiHistoChiSquare< T1, T2, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::setHistos().

◆ chi3_

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
T3 fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::chi3_
private

Definition at line 77 of file MultiHistoChiSquare.h.

Referenced by fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::function3(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, helper::MultiHistoChiSquareNoArg >::function3(), fit::MultiHistoChiSquare< T1, T2, T3, T4, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::function3(), fit::MultiHistoChiSquare< T1, T2, T3, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::function3(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::numberOfBins(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, helper::MultiHistoChiSquareNoArg >::numberOfBins(), fit::MultiHistoChiSquare< T1, T2, T3, T4, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::numberOfBins(), fit::MultiHistoChiSquare< T1, T2, T3, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::numberOfBins(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::operator()(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, helper::MultiHistoChiSquareNoArg >::operator()(), fit::MultiHistoChiSquare< T1, T2, T3, T4, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::operator()(), fit::MultiHistoChiSquare< T1, T2, T3, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::operator()(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::setHistos(), fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, helper::MultiHistoChiSquareNoArg >::setHistos(), fit::MultiHistoChiSquare< T1, T2, T3, T4, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::setHistos(), and fit::MultiHistoChiSquare< T1, T2, T3, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg, helper::MultiHistoChiSquareNoArg >::setHistos().

◆ chi4_

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
T4 fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::chi4_
private

◆ chi5_

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
T5 fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::chi5_
private

◆ chi6_

template<typename T1, typename T2 = helper::MultiHistoChiSquareNoArg, typename T3 = helper::MultiHistoChiSquareNoArg, typename T4 = helper::MultiHistoChiSquareNoArg, typename T5 = helper::MultiHistoChiSquareNoArg, typename T6 = helper::MultiHistoChiSquareNoArg>
T6 fit::MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 >::chi6_
private