11 #ifndef ROO_NONCENTRALCHISQUARE
12 #define ROO_NONCENTRALCHISQUARE
20 class RooNonCentralChiSquare :
public RooAbsPdf {
22 RooNonCentralChiSquare() {} ;
23 RooNonCentralChiSquare(
const char *name,
const char *title,
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() { }
31 void SetErrorTolerance(Double_t t) {fErrorTol = t;}
32 void SetMaxIters(Int_t mi) {fMaxIters = mi;}
33 void SetForceSum(Bool_t flag);
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 ;
47 mutable Bool_t fHasIssuedConvWarning;
48 mutable Bool_t fHasIssuedSumWarning;
49 Double_t evaluate()
const ;
53 ClassDef(RooNonCentralChiSquare,1)