Logo ROOT   6.12/07
Reference Guide
RooNonCentralChiSquare.h
Go to the documentation of this file.
1  /*****************************************************************************
2  * Project: RooFit *
3  * @(#)root/roofit:$Id$ *
4  * *
5  * RooFit NonCentralChisquare PDF *
6  * *
7  * Author: Kyle Cranmer *
8  * *
9  *****************************************************************************/
10 
11 #ifndef ROO_NONCENTRALCHISQUARE
12 #define ROO_NONCENTRALCHISQUARE
13 
14 #include "RooAbsPdf.h"
15 #include "RooRealProxy.h"
16 #include "RooCategoryProxy.h"
17 #include "RooAbsReal.h"
18 #include "RooAbsCategory.h"
19 
21 public:
23  RooNonCentralChiSquare(const char *name, const char *title,
24  RooAbsReal& _x,
25  RooAbsReal& _k,
26  RooAbsReal& _lambda);
27  RooNonCentralChiSquare(const RooNonCentralChiSquare& other, const char* name=0) ;
28  virtual TObject* clone(const char* newname) const { return new RooNonCentralChiSquare(*this,newname); }
29  inline virtual ~RooNonCentralChiSquare() { }
30 
32  void SetMaxIters(Int_t mi) {fMaxIters = mi;}
33  void SetForceSum(Bool_t flag);
34 
35 
36  Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=0) const ;
37  Double_t analyticalIntegral(Int_t code, const char* rangeName=0) const ;
38 
39 protected:
40 
49  Double_t evaluate() const ;
50 
51 private:
52 
53  ClassDef(RooNonCentralChiSquare,1) // non-central chisquare pdf
54 };
55 
56 #endif
virtual TObject * clone(const char *newname) const
void SetErrorTolerance(Double_t t)
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
The PDF of the Non-Central Chi Square distribution for n degrees of freedom.
#define ClassDef(name, id)
Definition: Rtypes.h:320
double Double_t
Definition: RtypesCore.h:55
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:53
Mother of all ROOT objects.
Definition: TObject.h:37
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported...
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Definition: RooAbsPdf.h:41
RooRealProxy is the concrete proxy for RooAbsReal objects A RooRealProxy is the general mechanism to ...
Definition: RooRealProxy.h:23
Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral. ...
char name[80]
Definition: TGX11.cxx:109