CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

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 { }
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.

28  :
29  chi1_(t1, histo1, rangeMin, rangeMax),
30  chi2_(t2, histo2, rangeMin, rangeMax),
31  chi3_(t3, histo3, rangeMin, rangeMax),
32  chi4_(t4, histo4, rangeMin, rangeMax),
33  chi5_(t5, histo5, rangeMin, rangeMax),
34  chi6_(t6, histo6, rangeMin, rangeMax) {
35  }
auto const T2 &decltype(t1.eta()) t2
Definition: deltaR.h:16

Member Function Documentation

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
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
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
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
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
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
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
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
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
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
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
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
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
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
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

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 74 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().

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 75 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().

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 76 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().

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
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
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