CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
fit::HistoPoissonLikelihoodRatio< T > Class Template Reference

#include <HistoPoissonLikelihoodRatio.h>

Public Member Functions

Tfunction ()
 
const Tfunction () const
 
 HistoPoissonLikelihoodRatio ()
 
 HistoPoissonLikelihoodRatio (T &t, TH1 *histo, double rangeMin, double rangeMax)
 
size_t numberOfBins () const
 
double operator() () const
 
void setHistos (TH1 *histo)
 

Private Attributes

std::vector< double > cont_
 
double deltaX_
 
size_t nBins_
 
double rangeMax_
 
double rangeMin_
 
Tt_
 
double xMax_
 
double xMin_
 

Detailed Description

template<typename T>
class fit::HistoPoissonLikelihoodRatio< T >

Definition at line 11 of file HistoPoissonLikelihoodRatio.h.

Constructor & Destructor Documentation

◆ HistoPoissonLikelihoodRatio() [1/2]

template<typename T>
fit::HistoPoissonLikelihoodRatio< T >::HistoPoissonLikelihoodRatio ( )
inline

Definition at line 13 of file HistoPoissonLikelihoodRatio.h.

13 {}

◆ HistoPoissonLikelihoodRatio() [2/2]

template<typename T>
fit::HistoPoissonLikelihoodRatio< T >::HistoPoissonLikelihoodRatio ( T t,
TH1 *  histo,
double  rangeMin,
double  rangeMax 
)
inline

Definition at line 14 of file HistoPoissonLikelihoodRatio.h.

References fit::HistoPoissonLikelihoodRatio< T >::cont_, fit::HistoPoissonLikelihoodRatio< T >::deltaX_, timingPdfMaker::histo, mps_fire::i, fit::HistoPoissonLikelihoodRatio< T >::nBins_, fit::HistoPoissonLikelihoodRatio< T >::xMax_, and fit::HistoPoissonLikelihoodRatio< T >::xMin_.

Member Function Documentation

◆ function() [1/2]

template<typename T>
T& fit::HistoPoissonLikelihoodRatio< T >::function ( )
inline

◆ function() [2/2]

template<typename T>
const T& fit::HistoPoissonLikelihoodRatio< T >::function ( ) const
inline

◆ numberOfBins()

template<typename T>
size_t fit::HistoPoissonLikelihoodRatio< T >::numberOfBins ( ) const
inline

◆ operator()()

template<typename T>
double fit::HistoPoissonLikelihoodRatio< T >::operator() ( ) const
inline

◆ setHistos()

template<typename T>
void fit::HistoPoissonLikelihoodRatio< T >::setHistos ( TH1 *  histo)
inline

Member Data Documentation

◆ cont_

template<typename T>
std::vector<double> fit::HistoPoissonLikelihoodRatio< T >::cont_
private

◆ deltaX_

template<typename T>
double fit::HistoPoissonLikelihoodRatio< T >::deltaX_
private

◆ nBins_

template<typename T>
size_t fit::HistoPoissonLikelihoodRatio< T >::nBins_
private

◆ rangeMax_

template<typename T>
double fit::HistoPoissonLikelihoodRatio< T >::rangeMax_
private

◆ rangeMin_

template<typename T>
double fit::HistoPoissonLikelihoodRatio< T >::rangeMin_
private

◆ t_

template<typename T>
T* fit::HistoPoissonLikelihoodRatio< T >::t_
private

◆ xMax_

template<typename T>
double fit::HistoPoissonLikelihoodRatio< T >::xMax_
private

◆ xMin_

template<typename T>
double fit::HistoPoissonLikelihoodRatio< T >::xMin_
private