RooNonCentralChiSquare Class Reference

#include <RooNonCentralChiSquare.h>

Inheritance diagram for RooNonCentralChiSquare:

RooAbsPdf RooAbsPdf RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg List of all members.

Public Member Functions

 RooNonCentralChiSquare ()
 RooNonCentralChiSquare (const char *name, const char *title, RooAbsReal &_x, RooAbsReal &_k, RooAbsReal &_lambda)
 RooNonCentralChiSquare (const RooNonCentralChiSquare &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooNonCentralChiSquare ()
void SetErrorTolerance (Double_t t)
void SetMaxIters (Int_t mi)
void SetForceSum (Bool_t flag)
Int_t getAnalyticalIntegral (RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Double_t analyticalIntegral (Int_t code, const char *rangeName=0) const
 RooNonCentralChiSquare ()
 RooNonCentralChiSquare (const char *name, const char *title, RooAbsReal &_x, RooAbsReal &_k, RooAbsReal &_lambda)
 RooNonCentralChiSquare (const RooNonCentralChiSquare &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooNonCentralChiSquare ()
void SetErrorTolerance (Double_t t)
void SetMaxIters (Int_t mi)
void SetForceSum (Bool_t flag)
Int_t getAnalyticalIntegral (RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Double_t analyticalIntegral (Int_t code, const char *rangeName=0) const

Protected Member Functions

Double_t evaluate () const
Double_t evaluate () const

Protected Attributes

RooRealProxy x
RooRealProxy k
RooRealProxy lambda
Double_t fErrorTol
Int_t fMaxIters
Bool_t fForceSum
Bool_t fHasIssuedConvWarning
Bool_t fHasIssuedSumWarning

Detailed Description

Definition at line 20 of file RooNonCentralChiSquare.h.


Constructor & Destructor Documentation

RooNonCentralChiSquare::RooNonCentralChiSquare (  )  [inline]

Definition at line 22 of file RooNonCentralChiSquare.h.

Referenced by clone().

RooNonCentralChiSquare::RooNonCentralChiSquare ( const char *  name,
const char *  title,
RooAbsReal _x,
RooAbsReal _k,
RooAbsReal _lambda 
)

RooNonCentralChiSquare::RooNonCentralChiSquare ( const RooNonCentralChiSquare other,
const char *  name = 0 
)

Definition at line 76 of file RooNonCentralChiSquare.cxx.

References ccoutD, fForceSum, TNamed::GetName(), and RooFit::InputArguments.

virtual RooNonCentralChiSquare::~RooNonCentralChiSquare (  )  [inline, virtual]

Definition at line 29 of file RooNonCentralChiSquare.h.

RooNonCentralChiSquare::RooNonCentralChiSquare (  )  [inline]

Definition at line 22 of file RooNonCentralChiSquare.h.

RooNonCentralChiSquare::RooNonCentralChiSquare ( const char *  name,
const char *  title,
RooAbsReal _x,
RooAbsReal _k,
RooAbsReal _lambda 
)

RooNonCentralChiSquare::RooNonCentralChiSquare ( const RooNonCentralChiSquare other,
const char *  name = 0 
)

virtual RooNonCentralChiSquare::~RooNonCentralChiSquare (  )  [inline, virtual]

Definition at line 29 of file RooNonCentralChiSquare.h.


Member Function Documentation

virtual TObject* RooNonCentralChiSquare::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 28 of file RooNonCentralChiSquare.h.

References RooNonCentralChiSquare().

void RooNonCentralChiSquare::SetErrorTolerance ( Double_t  t  )  [inline]

Definition at line 31 of file RooNonCentralChiSquare.h.

References fErrorTol.

void RooNonCentralChiSquare::SetMaxIters ( Int_t  mi  )  [inline]

Definition at line 32 of file RooNonCentralChiSquare.h.

References fMaxIters.

void RooNonCentralChiSquare::SetForceSum ( Bool_t  flag  ) 

Definition at line 96 of file RooNonCentralChiSquare.cxx.

References ccoutD, fForceSum, TNamed::GetName(), and RooFit::InputArguments.

Int_t RooNonCentralChiSquare::getAnalyticalIntegral ( RooArgSet allVars,
RooArgSet analVars,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsReal.

Definition at line 191 of file RooNonCentralChiSquare.cxx.

References RooAbsReal::matchArgs(), and x.

Double_t RooNonCentralChiSquare::analyticalIntegral ( Int_t  code,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsReal.

Definition at line 200 of file RooNonCentralChiSquare.cxx.

References ROOT::Math::chisquared_cdf(), coutW, RooFit::Eval, exp(), fErrorTol, fHasIssuedConvWarning, TMath::Floor(), fMaxIters, TMath::Gamma(), i, int, k, lambda, RooRealProxy::max(), RooRealProxy::min(), pow(), x, xmax, and xmin.

Double_t RooNonCentralChiSquare::evaluate (  )  const [protected, virtual]

Implements RooAbsReal.

Definition at line 109 of file RooNonCentralChiSquare.cxx.

References ROOT::Math::chisquared_pdf(), coutF, coutI, coutW, RooFit::Eval, exp(), fErrorTol, fForceSum, fHasIssuedConvWarning, fHasIssuedSumWarning, TMath::Floor(), fMaxIters, TMath::Gamma(), i, RooFit::InputArguments, int, k, lambda, RooRealProxy::max(), RooRealProxy::min(), ROOT::Math::noncentral_chisquared_pdf(), pow(), x, xmax, and xmin.

virtual TObject* RooNonCentralChiSquare::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 28 of file RooNonCentralChiSquare.h.

References RooNonCentralChiSquare().

void RooNonCentralChiSquare::SetErrorTolerance ( Double_t  t  )  [inline]

Definition at line 31 of file RooNonCentralChiSquare.h.

References fErrorTol.

void RooNonCentralChiSquare::SetMaxIters ( Int_t  mi  )  [inline]

Definition at line 32 of file RooNonCentralChiSquare.h.

References fMaxIters.

void RooNonCentralChiSquare::SetForceSum ( Bool_t  flag  ) 

Int_t RooNonCentralChiSquare::getAnalyticalIntegral ( RooArgSet allVars,
RooArgSet analVars,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsReal.

Double_t RooNonCentralChiSquare::analyticalIntegral ( Int_t  code,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsReal.

Double_t RooNonCentralChiSquare::evaluate (  )  const [protected, virtual]

Implements RooAbsReal.


Member Data Documentation

RooRealProxy RooNonCentralChiSquare::x [protected]

Definition at line 41 of file RooNonCentralChiSquare.h.

Referenced by analyticalIntegral(), evaluate(), and getAnalyticalIntegral().

RooRealProxy RooNonCentralChiSquare::k [protected]

Definition at line 42 of file RooNonCentralChiSquare.h.

Referenced by analyticalIntegral(), and evaluate().

RooRealProxy RooNonCentralChiSquare::lambda [protected]

Definition at line 43 of file RooNonCentralChiSquare.h.

Referenced by analyticalIntegral(), and evaluate().

Double_t RooNonCentralChiSquare::fErrorTol [protected]

Definition at line 44 of file RooNonCentralChiSquare.h.

Referenced by analyticalIntegral(), evaluate(), and SetErrorTolerance().

Int_t RooNonCentralChiSquare::fMaxIters [protected]

Definition at line 45 of file RooNonCentralChiSquare.h.

Referenced by analyticalIntegral(), evaluate(), and SetMaxIters().

Bool_t RooNonCentralChiSquare::fForceSum [protected]

Definition at line 46 of file RooNonCentralChiSquare.h.

Referenced by evaluate(), RooNonCentralChiSquare(), and SetForceSum().

Bool_t RooNonCentralChiSquare::fHasIssuedConvWarning [mutable, protected]

Definition at line 47 of file RooNonCentralChiSquare.h.

Referenced by analyticalIntegral(), and evaluate().

Bool_t RooNonCentralChiSquare::fHasIssuedSumWarning [mutable, protected]

Definition at line 48 of file RooNonCentralChiSquare.h.

Referenced by evaluate().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:33:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1